public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/builder/easyform.php
/**
		 * Convert the created details into a form object for use later.
		 */
Convert the created details into a form object for use later.
Convert the created details into a form object for use later .
protected function convertToFormObject() {
			if ( empty( $this->paramList ) ) {
				$this->formObj = false;
				return false;
			}
			$this->formObj = new FormBuilder( $this->formID );
			foreach ( $this->paramList as $fieldName => $fieldDetails ) {
				$elem = $this->createElementObject( $fieldName, $fieldDetails );
				$this->formObj->addFormElement( $elem );
			}
		}
protected function convertToFormObject ( ) { if ( empty ( $ this -> paramList ) ) { $ this -> formObj = false ; return false ; } $ this -> formObj = new FormBuilder ( $ this -> formID ) ; foreach ( $ this -> paramList as $ fieldName => $ fieldDetails ) { $ elem = $ this -> createElementObject ( $ fieldName , $ fieldDetails ) ; $ this -> formObj -> addFormElement ( $ elem ) ; } }
Convert the created details into a form object for use later.
Convert the created details into a form object for use later .
// Start processing... // Finally add the form element