Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
metadata_field_text_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
31 {
32 
33 
39  {
40  Asset_Management::__construct($pm);
41 
42  // additional attrs., that were not defined in parent
43  $this->vars = Array(
44  'multi_line' => Array(
45  'added' => '0.1',
46  'type' => 'boolean',
47  'default' => FALSE,
48  'parameters' => Array('allow_empty' => FALSE),
49  ),
50  );
51 
52  $this->vars['char_limit'] = Array(
53  'added' => '0.2',
54  'type' => 'int',
55  'default' => 0,
56  'description' => 'character limit',
57  'parameters' => Array('allow_negative' => FALSE),
58  );
59 
60  $this->vars['box_width'] = Array(
61  'added' => '0.2',
62  'type' => 'int',
63  'default' => 30,
64  'description' => 'width of the box',
65  'parameters' => Array('allow_negative' => FALSE, 'range_lower' => 1),
66  );
67 
68  $this->vars['box_height'] = Array(
69  'added' => '0.2',
70  'type' => 'int',
71  'default' => 7,
72  'description' => 'height of the box',
73  'parameters' => Array('allow_negative' => FALSE, 'range_lower' => 1),
74  );
75 
76  }//end constructor
77 
78 
79 }//end class
80 
81 ?>