Ejemplo n.º 1
0
 /**
  * function prepareTemplate
  * <pre>
  * Prepares the template object for returning page display data.
  * </pre>
  * @return [void]
  */
 function prepareTemplate($path)
 {
     parent::prepareTemplate($path);
     // store the field names being displayed
     $fieldNames = explode(',', $this->displayFields);
     $this->template->set('dataFieldList', $fieldNames);
     // store XML List of Applicants ...
     $this->template->setXML('dataItem', $this->itemManager->getXML());
 }
Ejemplo n.º 2
0
 /**
  * function prepareTemplate
  * <pre>
  * Prepares the template object for returning page display data.
  * </pre>
  * @return [void]
  */
 function prepareTemplate($path)
 {
     parent::prepareTemplate($path);
     // store the field names being displayed
     $fieldNames = explode(',', $this->displayFields);
     $this->template->set('dataFieldList', $fieldNames);
     // store any additional link Columns
     $this->template->set('linkColumns', $this->linkColumns);
     // store XML List of Applicants ...
     $this->template->setXML('dataList', $this->listManager->getXML());
 }
Ejemplo n.º 3
0
 /**
  * function prepareTemplate
  * <pre>
  * This method prepares the template object for returning AdminBox data.
  * </pre>
  * @return [void]
  */
 function prepareTemplate($path)
 {
     parent::prepareTemplate($path);
     // store the form action information
     $this->template->set('formAction', $this->formAction);
     // store all the fields to the template
     $this->setFormFieldsToTemplate();
     /*
      * Form related Template variables:
      */
     // save the list of form fields
     $this->template->set('formFieldList', $this->formFields);
     // save the array indicating which fields are required
     $this->template->set('reqFieldList', $this->formFieldRequired);
     // this->formFieldInvalid[ $this->formFields[$indx] ]
     // store the field types being displayed
     $fieldTypes = explode(',', $this->formFieldDisplayTypes);
     $this->template->set('formFieldType', $fieldTypes);
 }