コード例 #1
0
 public function getTitle()
 {
     if (isset($this->element->{'regular-title'}) && $this->element->{'regular-title'} != '') {
         return $this->element->{'regular-title'};
     }
     return Sniftr::_('Untitled');
 }
コード例 #2
0
ファイル: SniftrPostVideo.php プロジェクト: GervaisdeM/sniftr
 public function getTitle()
 {
     if (isset($this->element->{'video-caption'}) && $this->element->{'video-caption'} != '') {
         return strip_tags($this->element->{'video-caption'});
     }
     return Sniftr::_('Untitled Video');
 }
コード例 #3
0
ファイル: SniftrPostLink.php プロジェクト: GervaisdeM/sniftr
 public function getTitle()
 {
     if (isset($this->element->{'link-text'}) && $this->element->{'link-text'} != '') {
         return $this->element->{'link-text'};
     }
     return Sniftr::_('Link');
 }
コード例 #4
0
 public function getTitle()
 {
     if (isset($this->element->{'conversation-title'}) && $this->element->{'conversation-title'} != '') {
         return $this->element->{'conversation-title'};
     }
     return Sniftr::_('Conversation');
 }
コード例 #5
0
ファイル: SniftrPostPhoto.php プロジェクト: GervaisdeM/sniftr
 public function getTitle()
 {
     if (isset($this->element->{'photo-caption'}) && $this->element->{'photo-caption'} != '') {
         return strip_tags($this->element->{'photo-caption'});
     }
     return Sniftr::_('Photo');
 }
コード例 #6
0
ファイル: SniftrPostQuote.php プロジェクト: gauthierm/sniftr
 public function getTitle()
 {
     return Sniftr::_('Quote');
 }