示例#1
0
 /**
  * Creates a new live property.
  *
  * Creates a new live property with the $name in the default namespace
  * "DAV:".
  * 
  * @param string $name
  * @return void
  */
 public function __construct($name)
 {
     parent::__construct('DAV:', $name);
 }
示例#2
0
 /**
  * Creates a new dead property.
  *
  * Creates a new dead property in the given $namespace with the given $name
  * and optionally containing $content.
  * 
  * @param string $namespace
  * @param string $name
  * @param string $content
  * @return void
  */
 public function __construct($namespace, $name, $content = null)
 {
     parent::__construct($namespace, $name);
     $this->content = $content;
 }