예제 #1
0
파일: TRecord.php 프로젝트: kiibe/linkERP
 /**
  * Creates a Repository with OR filter
  * @returns the TRepository object with an OR filter
  */
 public static function orWhere($variable, $operator, $value)
 {
     $class = get_called_class();
     // get the Active Record class name
     $repository = new TRepository($class);
     // create the repository
     return $repository->orWhere($variable, $operator, $value);
 }