getContent() 공개 메소드

Get parsed template content.
public getContent ( ) : string
리턴 string
예제 #1
0
파일: Extra.php 프로젝트: bwgraves/forkcms
 /**
  * Get the block content
  *
  * @return string
  */
 public function getContent()
 {
     // set path to template if the widget didn't return any data
     if ($this->output === null) {
         return trim($this->object->getContent());
     }
     // return possible output
     return trim($this->output);
 }