![]() |
Xataface 2.0
Xataface Application Framework
|
00001 <?php 00002 class Dataface_Field { 00003 var $atts; 00004 00005 function Field(&$atts){ 00006 $this->atts =& $atts; 00007 } 00008 00009 function getName(){ return $this->atts['name'];} 00010 function setName($name){ $this->atts['name'] = $name;} 00011 function &getWidget(){ return $this->atts['widget'];} 00012 function getType(){ return $this->atts['Type']; } 00013 function getWidgetType(){ return $this->atts['widget']['type']; } 00014 function getWidgetDescription(){ return $this->atts['widget']['description'];} 00015 function getWidgetQuestion(){ return $this->atts['widget']['question'];} 00016 function getWidgetLabel(){ return $this->atts['widget']['label'];} 00017 function getTableName(){ return $this->atts['table']; } 00018 00019 }