Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }