Beispiel #1
0
 public static function FetchByName($name)
 {
     $show = new Show();
     $show->set_condition('name = :name');
     $show->name = $name;
     try {
         $show->FetchInto();
         return $show;
     } catch (\phalanx\data\ModelException $e) {
         return NULL;
     }
 }