/** * Constructor * @param ZObject $a_parent * @param string $a_name */ function __construct(ZObject &$a_parent = null, $a_name = null) { parent::__construct($a_parent); if ($a_name !== null) { $this->setName($a_name); } }
/** * Remove node children * @param ZNode $a_children * @return ZNode */ public function &removeChildren(ZNode &$a_children) { $id = $a_children->getId(); if (isset($this->m_childrens[$id]) or array_key_exists($id, $this->m_childrens)) { unset($this->m_childrens[$id]); } return $this; }
/** * Contructor */ public function __construct() { parent::__construct(); $this->m_path = null; }
/** * Constructor */ function __construct() { parent::__construct(); $this->m_times = array(); $this->m_mem = array(); }
public function __construct($a_type, $a_mime) { parent::__construct(); $this->setType($a_type)->setMime($a_mime); }
public function __construct($a_type, $a_mime) { parent::__construct(); $this->setType($a_type)->setMime($a_mime)->setEncoding('utf-8'); }