OWeb/defaults/controllers/OWeb/Helpers/Form/Form.php
public function addDisplayElement(\OWeb\types\Controller $element){
		$this->_displayElements[] = $element;
		if($element instanceof \Controller\OWeb\Helpers\Form\Elements\AbstractElement){
			$this->_elements[] = $element;
		}
		//$element->init();
	}
public function addDisplayElement(\OWeb\types\Controller $element){
		$this->_displayElements[] = $element;
		if($element instanceof \Controller\OWeb\Helpers\Form\Elements\AbstractElement){
			$this->_elements[] = $element;
		}
		//$element->init();
	}
public function addDisplayElement ( \ OWeb \ types \ Controller $ element ) { $ this -> _displayElements [ ] = $ element ; if ( $ element instanceof \ Controller \ OWeb \ Helpers \ Form \ Elements \ AbstractElement ) { $ this -> _elements [ ] = $ element ; } //$element->init(); }
Add a display element to the Form. If this element is also a Form Element
then it will automatically be added to the list of form elements.

@param \OWeb\types\Controller $element The element to add
Add a display element to the Form . If this element is also a Form Element then it will automatically be added to the list of form elements .