コード例 #1
0
 /**
  * Get the full title of the record.
  *
  * @return  string
  */
 public function getTitle()
 {
     if (isset($this->eContentRecord)) {
         $title = $this->eContentRecord->title;
         if ($this->eContentRecord->subTitle != null && strlen($this->eContentRecord->subTitle) > 0) {
             $title .= ': ' . $this->eContentRecord->subTitle;
         }
         return $title;
     } else {
         return parent::getTitle();
     }
 }