Esempio n. 1
0
 /**
  * Get the item type
  *
  * @param   string  $as  Return type as?
  * @return  string
  */
 public function type($as = null)
 {
     if ($as == 'title') {
         return Lang::txt('Forum thread');
     }
     return parent::type($as);
 }
Esempio n. 2
0
 /**
  * Get the item type
  *
  * @param   string  $as  Return type as?
  * @return  string
  */
 public function type($as = null)
 {
     if ($as == 'title') {
         return Lang::txt('Knowledge base article');
     }
     return parent::type($as);
 }
Esempio n. 3
0
 /**
  * Get the item type
  *
  * @param   string  $as  Return type as?
  * @return  string
  */
 public function type($as = null)
 {
     if ($as == 'title') {
         return Lang::txt('Wiki page');
     }
     return parent::type($as);
 }
Esempio n. 4
0
 /**
  * Get the item type
  *
  * @param   string  $as  Return type as?
  * @return  string
  */
 public function type($as = null)
 {
     if ($as == 'title') {
         return Lang::txt('Blog post');
     }
     return parent::type($as);
 }