예제 #1
0
 public static function removeSubst($expr)
 {
     if ($expr === TRUE) {
         self::$substs = array();
     } else {
         unset(self::$substs[':' . $expr . ':']);
     }
 }
예제 #2
0
 public static function removeSubst($expr)
 {
     if ($expr === TRUE) {
         self::$substs = new DibiLazyStorage(self::$substs->getCallback());
     } else {
         unset(self::$substs->{$expr});
     }
 }