public static function getTypeFromName($name) { $type = MediaType::findFirst(["conditions" => "name = ?1", "bind" => array(1 => $name)]); return $type; }
public static function getTypeFromName($name) { $type = MediaType::findFirst(["conditions" => "name = ?1", "bind" => array(1 => $name)]); return $type; }