[WIP] begin of new display for article, shelves
This commit is contained in:
@@ -13,6 +13,11 @@ class Homepages
|
||||
return $model ? $model->text : '';
|
||||
}
|
||||
|
||||
public static function getHomepage()
|
||||
{
|
||||
return self::get(1)->text;
|
||||
}
|
||||
|
||||
public static function get($id)
|
||||
{
|
||||
return Homepage::find($id);
|
||||
|
||||
Reference in New Issue
Block a user