public function getStatus() { if ($this->m_data['is_hidden']) { return 'hidden'; } else { return 'shown'; } }
/** * Returns 'hidden' if the article type should not be visible, * and 'shown' if it should be. * * @return string (shown|hidden) */ public function getStatus() { return $this->m_metadata->getStatus(); }