Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | protected function defineAttributes() |
||
43 | { |
||
44 | return array( |
||
45 | 'setting_key' => array( |
||
46 | AttributeType::String, |
||
47 | 'colum' => ColumnType::Varchar, |
||
48 | 'required' => true |
||
49 | ), |
||
50 | 'setting_value' => array( |
||
51 | AttributeType::String, |
||
52 | 'column' => ColumnType::LongText, |
||
53 | 'required' => false |
||
54 | ), |
||
55 | 'serialized' => array( |
||
56 | AttributeType::Number, |
||
57 | 'column' => ColumnType::TinyInt, |
||
58 | 'required' => false, |
||
59 | 'default' => 0, |
||
60 | 'length' => 1 |
||
61 | ) |
||
62 | ); |
||
63 | } |
||
64 | |||
85 | } |