Beispiel #1
0
 /**
  * Gets the maximum size of a article type
  * @return int
  */
 public function getMaxSize()
 {
     return $this->m_metadata->getProperty('max_size');
 }
Beispiel #2
0
	/**
	 * Return TRUE if comments are enabled for this article type.
	 *
	 * @return boolean
	 */
	public function commentsEnabled()
	{
		return $this->m_metadata->getProperty('comments_enabled');
	} // fn commentsEnabled