entry or a radio button). Associative array or comma-divided list. public $defaultValue = ''; public $wrap = array(); public $type = null; //the type of the entry //create the label of each entry of the form public function getLabelTag() { $labelTagClass = isset($this->labelClass) ? $this->labelClass : 'entryLabel'; return isset($this->labelString) ? "\n\t" : null; } //get the class of the entry public function getEntryClass() { return isset($this->entryClass) ? $this->entryClass : 'formEntry'; } public function getWrapElements() { $wrap[0] = isset($this->wrap[0]) ? $this->wrap[0] : null; $wrap[1] = isset($this->wrap[1]) ? $this->wrap[1] : null; $wrap[2] = isset($this->wrap[2]) ? $this->wrap[2] : null; return $wrap; } abstract public function render($value = null); }