public function __construct(Tracker_Artifact $artifact, array $data = null) { parent::__construct($data, $artifact->getId()); $this->setObject($artifact); }
function __construct(Cardwall_CardInCellPresenter $presenter) { parent::__construct(null, $presenter->getId()); $this->presenter = $presenter; }
public function __construct($caption, $loading = false) { parent::__construct($caption, null, $loading); }
public function __construct(TreeNode $node) { parent::__construct($node->getData(), $node->getId()); $this->setChildren($node->getChildren()); $this->setObject($node->getObject()); }