public static function setDefaultCriteriaFilter() { parent::setDefaultCriteriaFilter(); if (self::$s_criteria_filter == null) { self::$s_criteria_filter = new criteriaFilter(); } $c = new myCriteria(); $c->addAnd(UserRolePeer::STATUS, UserRoleStatus::DELETED, Criteria::NOT_EQUAL); self::$s_criteria_filter->setFilter($c); }
/** * Clear the instance pool. * * @return void */ public static function clearInstancePool() { self::$instances = array(); }
/** * Clear the instance pool. * * @return void */ public static function clearInstancePool() { foreach (self::$instances as $instance) { $instance->clearAllReferences(false); } self::$instances = array(); }
public static function setRightsUser($oUser = false) { self::$RIGHTS_USER = $oUser; }