예제 #1
0
 public static function setDefaultCriteriaFilter()
 {
     parent::setDefaultCriteriaFilter();
     if (self::$s_criteria_filter == null) {
         self::$s_criteria_filter = new criteriaFilter();
     }
     $c = new myCriteria();
     $c->addAnd(self::STATUS, DrmProfileStatus::DELETED, Criteria::NOT_EQUAL);
     self::$s_criteria_filter->setFilter($c);
 }
예제 #2
0
 /**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     foreach (self::$instances as $instance) {
         $instance->clearAllReferences(false);
     }
     self::$instances = array();
 }