/**
* @param array $params
*
- * @return $this
+ * @return CRM_Event_Cart_BAO_Cart
*/
public static function add(&$params) {
$cart = new CRM_Event_Cart_BAO_Cart();
/**
* @param array $params
*
- * @return $this
+ * @return CRM_Event_Cart_BAO_Cart
* @throws Exception
*/
public static function create($params) {
/**
* Registers this instance as an autoloader.
- * @return $this
+ * @return CRM_Extension_ClassLoader
*/
public function register() {
// In pre-installation environments, don't bother with caching.
* @param CRM_Utils_SQL_Select $other
* @param array|NULL $parts
* ex: 'joins', 'wheres'
- * @return $this
+ * @return CRM_Utils_SQL_Select
*/
public function merge($other, $parts = NULL) {
if ($other === NULL) {
* @param array|string $keys
* Key name, or an array of key-value pairs.
* @param null|mixed $value
- * @return $this
+ * @return \CRM_Utils_SQL_Select
*/
public function param($keys, $value = NULL) {
if ($this->mode === self::INTERPOLATE_AUTO) {
* The name of the other table (which receives new data).
* @param array $fields
* The fields to fill in the other table (in order).
- * @return $this
+ * @return CRM_Utils_SQL_Select
* @see insertIntoField
*/
public function insertInto($table, $fields = array()) {
/**
* @param array $fields
* The fields to fill in the other table (in order).
- * @return $this
+ * @return CRM_Utils_SQL_Select
*/
public function insertIntoField($fields) {
$fields = (array) $fields;
* In strict mode, unknown variables will generate exceptions.
*
* @param bool $strict
- * @return $this
+ * @return CRM_Utils_SQL_Select
*/
public function strict($strict = TRUE) {
$this->strict = $strict;