Initial import
This commit is contained in:
11
app/models/MetaType.php
Normal file
11
app/models/MetaType.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
class MetaType extends Model {
|
||||
protected $table = "metatypes";
|
||||
|
||||
|
||||
public static function name($id) {
|
||||
$m = new MetaType($id);
|
||||
return $m->name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user