/** * Constructor * @param Zoombi_Object $a_parent * @param string $a_name */ function __construct(Zoombi_Object &$a_parent = null, $a_name = null) { parent::__construct($a_parent); if ($a_name !== null) { $this->setName($a_name); } }
/** * Add children to node * @param Zoombi_Node $a_children * @return Zoombi_Node */ public function &addChildren(Zoombi_Node &$a_children) { if (!$a_children) { return $this; } $cid = $a_children->getId(); if ($this->hasChildren($cid)) { return $this; } $a_children->setParent($this); $this->m_childrens[$cid] =& $a_children; return $this; }
/** * 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)->setCharset('utf-8'); }
/** * Contructor */ public function __construct() { parent::__construct(); $this->m_path = null; }