/** * Creates a new Addressbook object * * @param AddressbookPage $addressbookPage The Addressbook page to which this entry belongs * @param unknown $contactListItemDiv A reference to the main div of this addressbook contact */ public function __construct(AddressbookPage $addressbookPage, $contactListItemDiv) { parent::__construct($addressbookPage->getTestCase(), $contactListItemDiv); $this->addressbookPage = $addressbookPage; }
/** * Creates a new WidgetContactDetails object * * @param AddressbookPage $addressbookPage The Addressbook page in which the contact details are being displayed * @param unknown $rightSection The section element where the contact details is being displayed */ public function __construct(AddressbookPage $addressbookPage, $rightSection) { parent::__construct($addressbookPage->getTestCase(), $rightSection); $this->addressbookPage = $addressbookPage; }