/** * Constructor * * @param integer $uid * @param string $title * @param tx_caretaker_AbstractNode $parent * @param string $url * @param string $host * @param string $ip * @param boolean $hidden */ public function __construct($uid, $title, $parent, $url = '', $hostname = '', $publicKey = '', $hidden = 0) { parent::__construct($uid, $title, $parent, tx_caretaker_Constants::table_Instances, tx_caretaker_Constants::nodeType_Instance, $hidden); $this->url = $url; $this->hostname = $hostname; $this->publicKey = $publicKey; }
/** * Constructor * * @param integer $uid * @param string $title * @param tx_caretaker_AbstractNode $parent * @param boolean $hidden */ public function __construct($uid, $title, $parent, $hidden = 0) { parent::__construct($uid, $title, $parent, tx_caretaker_Constants::table_Instancegroups, tx_caretaker_Constants::nodeType_Instancegroup, $hidden); }
/** * @param bool $hidden */ public function __construct($hidden = FALSE) { parent::__construct(0, 'Caretaker Root', NULL, NULL, tx_caretaker_Constants::nodeType_Root, $hidden); }