예제 #1
0
 /**
  * Returns json-encoded entity behaviors notes array
  *
  * @return string
  */
 public function getEntityBehaviorsNotes()
 {
     $behaviors = $this->_importModel->getEntityBehaviors();
     foreach ($behaviors as $entityCode => $behavior) {
         $behaviors[$entityCode] = $behavior['notes'];
     }
     return $this->_jsonEncoder->encode($behaviors);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function getEntityBehaviors()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getEntityBehaviors');
     if (!$pluginInfo) {
         return parent::getEntityBehaviors();
     } else {
         return $this->___callPlugins('getEntityBehaviors', func_get_args(), $pluginInfo);
     }
 }