コード例 #1
0
ファイル: MediaType.php プロジェクト: SidRoberts/phanbook
 public static function getTypeFromName($name)
 {
     $type = MediaType::findFirst(["conditions" => "name = ?1", "bind" => array(1 => $name)]);
     return $type;
 }