예제 #1
0
 /**
  * get the config from an predefined property-set (eg. select)
  *
  * @return void
  */
 public function setConfigFromPredefined()
 {
     if ($this->getName() && $this->getType()) {
         $predefined = Property_Predefined::getByKey($this->getName());
         if ($predefined->getType() == $this->getType()) {
             $this->config = $predefined->getConfig();
         }
     }
 }