Exemplo n.º 1
0
 /**
  * Sets a property
  * @param NodeProperty $property
  * @return null
  */
 public function setProperty(NodeProperty $property)
 {
     parent::setProperty($property);
     $key = $property->getKey();
     if (strpos($key, Node::PROPERTY_WIDGET) === 0 && strrpos($key, '.') === 6) {
         $this->widgets[substr($key, 7)] = $property->getValue();
     }
 }