protected function toJsonLD(NodeInterface $node)
 {
     $data = $node->getPropertiesValues(null, false);
     $data['@'] = $node->getPath();
     $data['a'] = $node->getPrimaryNodeType();
     return $data;
 }
예제 #2
0
파일: SuluNode.php 프로젝트: sulu/sulu
 /**
  * {@inheritdoc}
  */
 public function getPropertiesValues($nameFilter = null, $dereference = true)
 {
     return $this->node->getPropertiesValues($nameFilter, $dereference);
 }