function _HTML_header() { $this->previewlink = AMP_CONTENT_URL_LINKS; //$result = parent::_HTML_header( ) . $this->list_preview_link( ); $result = $this->list_preview_link() . parent::_HTML_header(); unset($this->previewlink); return $result; }
function _getSourceRow() { $row_data = parent::_getSourceRow(); if ($row_data) { $row_data['id'] = $row_data['name']; } return $row_data; }
function _getSourceRow() { $row_data = parent::_getSourceRow(); if ($row_data) { $row_data['id'] = strip_tags($row_data['name']); } return $row_data; }
function _HTML_editColumn($id) { $source = new ArticleComment(AMP_Registry::getDbcon(), $id); $article_id = $source->getArticle(); $allowed_articles = AMP_lookup('articles'); $existing_articles = AMP_lookup('articles_existing'); if (!isset($allowed_articles[$article_id]) && isset($existing_articles[$article_id])) { return "\n<td nowrap><div align='center'>" . "</div></td>\n"; } return parent::_HTML_editColumn($id); }
function _getSourceRow() { if ($posted_values = $this->_copier->returnSets($this->copier_name)) { return false; } $all_data = array(); $n = 0; while ($all_data[++$n] = parent::_getSourceRow()) { //collect data } $result_data = $this->_translateDataForCopier($all_data); $this->_copier->addSets($this->copier_name, $result_data); return false; }
function _HTML_header() { return $this->list_preview_link() . parent::_HTML_header(); }