public function getArticleType() { return $this->m_data['type_name']; }
/** * An article type is a dynamic table that is created for an article * to allow different publications to display their content in different * ways. * * @param string $p_articleType */ public function ArticleType($p_articleType) { $this->m_metadata = new ArticleTypeField($p_articleType, 'NULL'); $this->m_name = $this->m_metadata->getArticleType(); $this->m_dbTableName = 'X' . $this->m_name; if ($this->m_metadata->exists()) { // Get user-defined values. $this->getUserDefinedColumns(); foreach ($this->m_dbColumns as $columnMetaData) { $this->m_columnNames[] = $columnMetaData->getName(); } } else { $this->m_dbColumns = array(); $this->m_publicFields = array(); } }