function __construct($page = "", $data = "") { $this->page = $page; if (!empty($page) && !empty($data)) { $this->metadata = FutureLink_MetadataAssembler::pagePastLink($page, $data); } return parent::__construct($page); }
function __construct($page = "", $data = "") { $this->page = $page; if (!empty($page) && !empty($data)) { $this->metadata = Feed_ForwardLink_Metadata::pageTextLink($page, $data); } return parent::__construct($page); }
function __construct($href) { $this->href = $href; parent::__construct($href); }
function addItem($item) { parent::addItem($item); $exists = array(); $verificationsCount = count($this->verifications); foreach ($this->verifications as &$verification) { foreach ($verification['reason'] as $reason) { if ($reason == 'exists') { $exists[] = true; } } } if (count($exists) == $verificationsCount) { return true; } //If they were not added, but the reason is that they already exist, we show that they were sent successfully return $this->itemsAdded; }