예제 #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;
 }
예제 #2
0
파일: Edit.php 프로젝트: artmouse/Umc_Base
 /**
  * get attribute dependencies as json
  *
  * @return string
  */
 public function getAttributeDepends()
 {
     return $this->formConfig->getDepends($this->attribute->getEntityCode());
 }