| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Component stores all the static and dynamic information of the various
$cfg = $comp->getConfigObject();
$cfg->add($config, $oldMode);
}
- return;
+ return NULL;
}
/**
$fields = array();
foreach ($info as $name => $comp) {
if ($comp->usesSearch()) {
- $bqr = $comp->getBAOQueryObject();
- $flds = $bqr->getFields();
+ $bqr = $comp->getBAOQueryObject();
+ $flds = $bqr->getFields();
$fields = array_merge($fields, $flds);
}
}
*
* @return null
*/
- static function &defaultReturnProperties(
+ public static function &defaultReturnProperties(
$mode,
$includeCustomFields = TRUE
) {
* @param array $tables
* Array of tables.
*
- * @return null
- * @static
*/
public static function tableNames(&$tables) {
$info = self::_info();
return $components;
}
+
}