getData() 공개 메소드

Checks for partial result data with getFields, falls back to getSource or both
public getData ( ) : array
리턴 array Result data array
예제 #1
0
 /**
  * @param Result $result
  */
 public function render(Result $result)
 {
     $this->template->result = $result->getData();
     $this->template->highlightedText = $this->getHighlightingTextFromResult($result);
     $this->template->render(__DIR__ . '/searchBox.latte');
 }