Example #1
0
 /**
  * get form dependencies
  *
  * @return array
  */
 public function getFormDepends()
 {
     if (is_null($this->formDepends)) {
         $this->formDepends = $this->formConfig->getDepends($this->getEntityCode(), false);
     }
     return $this->formDepends;
 }
Example #2
0
 /**
  * get attribute dependencies as json
  *
  * @return string
  */
 public function getAttributeDepends()
 {
     return $this->formConfig->getDepends($this->attribute->getEntityCode());
 }