1 | <?php |
||
14 | class Extra extends ContentAbstract |
||
15 | { |
||
16 | /** |
||
17 | * name of the table |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | |||
22 | protected $_table = 'extras'; |
||
23 | |||
24 | /** |
||
25 | * get the extra by alias |
||
26 | * |
||
27 | * @since 4.0.0 |
||
28 | * |
||
29 | * @param string $extraAlias alias of the extra |
||
30 | * |
||
31 | * @return object|null |
||
32 | */ |
||
33 | |||
34 | 2 | public function getByAlias(string $extraAlias = null) : ?object |
|
38 | } |
||
39 |