private function _getFieldsOutput($iUserID)
 {
     $_aOutput = array();
     $_oFieldsTable = new FetchTweets_AdminPageFramework_FormTable($this->oProp->aFieldTypeDefinitions, $this->_getFieldErrors(), $this->oMsg);
     $_aOutput[] = $_oFieldsTable->getFormTables($this->oForm->aConditionedSections, $this->oForm->aConditionedFields, array($this, '_replyToGetSectionHeaderOutput'), array($this, '_replyToGetFieldOutput'));
     $_sOutput = $this->oUtil->addAndApplyFilters($this, 'content_' . $this->oProp->sClassName, $this->content(implode(PHP_EOL, $_aOutput)));
     $this->oUtil->addAndDoActions($this, 'do_' . $this->oProp->sClassName, $this);
     return $_sOutput;
 }
 public function _replyToPrintMetaBoxContents($oPost, $vArgs)
 {
     $_aOutput = array();
     $_aOutput[] = wp_nonce_field($this->oProp->sMetaBoxID, $this->oProp->sMetaBoxID, true, false);
     $_oFieldsTable = new FetchTweets_AdminPageFramework_FormTable($this->oProp->aFieldTypeDefinitions, $this->_getFieldErrors(), $this->oMsg);
     $_aOutput[] = $_oFieldsTable->getFormTables($this->oForm->aConditionedSections, $this->oForm->aConditionedFields, array($this, '_replyToGetSectionHeaderOutput'), array($this, '_replyToGetFieldOutput'));
     $this->oUtil->addAndDoActions($this, 'do_' . $this->oProp->sClassName, $this);
     echo $this->oUtil->addAndApplyFilters($this, "content_{$this->oProp->sClassName}", $this->content(implode(PHP_EOL, $_aOutput)));
 }
 private function _getFieldsOutput($iTermID, $bRenderTableRow)
 {
     $_aOutput = array();
     $_aOutput[] = wp_nonce_field($this->oProp->sClassHash, $this->oProp->sClassHash, true, false);
     $this->_setOptionArray($iTermID, $this->oProp->sOptionKey);
     $this->oForm->format();
     $_oFieldsTable = new FetchTweets_AdminPageFramework_FormTable($this->oProp->aFieldTypeDefinitions, $this->_getFieldErrors(), $this->oMsg);
     $_aOutput[] = $bRenderTableRow ? $_oFieldsTable->getFieldRows($this->oForm->aFields['_default'], array($this, '_replyToGetFieldOutput')) : $_oFieldsTable->getFields($this->oForm->aFields['_default'], array($this, '_replyToGetFieldOutput'));
     $_sOutput = $this->oUtil->addAndApplyFilters($this, 'content_' . $this->oProp->sClassName, implode(PHP_EOL, $_aOutput));
     $this->oUtil->addAndDoActions($this, 'do_' . $this->oProp->sClassName, $this);
     return $_sOutput;
 }
 public function _printWidgetForm()
 {
     $_oFieldsTable = new FetchTweets_AdminPageFramework_FormTable($this->oProp->aFieldTypeDefinitions, $this->_getFieldErrors(), $this->oMsg);
     echo $_oFieldsTable->getFormTables($this->oForm->aConditionedSections, $this->oForm->aConditionedFields, array($this, '_replyToGetSectionHeaderOutput'), array($this, '_replyToGetFieldOutput'));
 }
 private function _getFormOutput($sPageSlug)
 {
     if (!$this->oProp->bEnableForm) {
         return '';
     }
     if (!$this->oForm->isPageAdded($sPageSlug)) {
         return '';
     }
     $this->aFieldErrors = isset($this->aFieldErrors) ? $this->aFieldErrors : $this->_getFieldErrors($sPageSlug);
     $_oFieldsTable = new FetchTweets_AdminPageFramework_FormTable($this->oProp->aFieldTypeDefinitions, $this->aFieldErrors, $this->oMsg);
     return $_oFieldsTable->getFormTables($this->oForm->aConditionedSections, $this->oForm->aConditionedFields, array($this, '_replyToGetSectionHeaderOutput'), array($this, '_replyToGetFieldOutput'));
 }