__set() public method

public __set ( $name, $value )
Example #1
0
 public function __set($name, $value)
 {
     $fullName = $this->_session->namespaceMap->getFullName($name);
     if ($fullName != $name) {
         $this->populateProperties();
         $this->_properties[$fullName] = $value;
         // Ensure that the node and property details are stored on the contentData object
         if ($value instanceof ContentData) {
             $value->setPropertyDetails($this, $fullName);
         }
     } else {
         parent::__set($name, $value);
     }
 }