getData() 공개 메소드

get shared data
public getData ( ) : array
리턴 array
예제 #1
0
 /**
  * set presenter data to html renderer
  *
  * @return $this
  */
 public function setData()
 {
     $this->data = $this->presenter->getData();
     return $this;
 }
예제 #2
0
 /**
  * Get the instance as an array.
  *
  * @return array
  */
 public function toArray()
 {
     return $this->presenter->getData();
 }
예제 #3
0
 /**
  * return json format string
  *
  * @param int $options options
  * @return string
  */
 public function toJson($options = 0)
 {
     $this->data = $this->convert($this->presenter->getData());
     return json_encode($this->data);
 }