Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Field.php
Go to the documentation of this file.
1 <?php
3  var $atts;
4 
5  function Field(&$atts){
6  $this->atts =& $atts;
7  }
8 
9  function getName(){ return $this->atts['name'];}
10  function setName($name){ $this->atts['name'] = $name;}
11  function &getWidget(){ return $this->atts['widget'];}
12  function getType(){ return $this->atts['Type']; }
13  function getWidgetType(){ return $this->atts['widget']['type']; }
14  function getWidgetDescription(){ return $this->atts['widget']['description'];}
15  function getWidgetQuestion(){ return $this->atts['widget']['question'];}
16  function getWidgetLabel(){ return $this->atts['widget']['label'];}
17  function getTableName(){ return $this->atts['table']; }
18 
19 }