function __construct($ctf, $itemID) { parent::__construct($ctf, $itemID); $this->isNested = $this->ctf->isNested; if($this->ctf->Items()) { $this->itemList = $this->ctf->Items()->column(); $this->currentIndex = array_search($this->itemID,$this->itemList); } }
public function __construct($ctf, $itemID, $versionID) { $this->versionID = $versionID; parent::__construct($ctf, $itemID); }