コード例 #1
0
ファイル: AdminBox.php プロジェクト: andrewroth/c4c_intranet
 /**
  * function prepareTemplate
  * <pre>
  * This method prepares the template object for returning AdminBox data.
  * </pre>
  * @return [void]
  */
 function prepareTemplate($path)
 {
     // call the FormProcessor's prepare Template function.
     parent::prepareTemplate($path);
     // store any additional link Columns
     $this->template->set('linkColumns', $this->linkColumns);
     // store the current op type
     $this->template->set('opType', $this->opType);
     /*
      * List related Template variables :
      */
     // store the field names being displayed
     $fieldNames = explode(',', $this->displayFields);
     $this->template->set('dataFieldList', $fieldNames);
 }