Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
6 | class TabAsset extends Asset { |
||
7 | |||
8 | public $name = 'Tab Content'; |
||
9 | public $shortname = 'Tab'; |
||
10 | public $is_child = true; |
||
11 | |||
12 | public $value_equals = 'title'; |
||
13 | |||
14 | public $properties = array( |
||
15 | 'title' => array( |
||
16 | 'name' => 'Tab Title', |
||
17 | 'type' => self::STRING, |
||
18 | 'help' => 'Title of your article', |
||
19 | 'required' => true, |
||
20 | 'validation_messages' => 'A Title Is required' |
||
21 | ), |
||
22 | 'content' => array( |
||
23 | 'name' => 'Tab Content', |
||
24 | 'type' => self::HTML |
||
25 | ), |
||
26 | ); |
||
27 | |||
28 | public static function about() { |
||
33 |