ArticleType::getTypeName PHP Method

getTypeName() public method

public getTypeName ( ) : string
return string
    public function getTypeName()
    {
        return $this->m_name;
    }

Usage Example

 public function beforeRender()
 {
     $articlesParams = array();
     foreach ((array) \ArticleType::GetArticleTypes(true) as $one_art_type_name) {
         $one_art_type = new \ArticleType($one_art_type_name);
         if ($one_art_type->getFilterStatus()) {
             $articlesParams[] = new ComparisonOperation('type', new Operator('not', 'string'), $one_art_type->getTypeName());
         }
     }
     $articlesOrders = array(array('field' => 'bylastupdate', 'dir' => 'desc'));
     $this->items = Article::GetList($articlesParams, $articlesOrders, 0, self::LIMIT, $count = 0);
 }
All Usage Examples Of ArticleType::getTypeName