/** * URL for the sms feature * * @param Record $result * @return string url */ public function linkSMS(Record $result) { $arrParams = array('controller' => $this->request->getParam('controller'), "action" => "sms", "id" => $result->getRecordID()); return $this->request->url_for($arrParams); }
/** * URL for the full record display * Accounts for worldcat 'source' identifier * * @param $result Record object * @return string */ public function linkFullRecord(Record $result) { $arrParams = array('controller' => $this->request->getParam('controller'), 'action' => 'record', 'source' => $this->request->getParam('source'), 'id' => $result->getRecordID()); return $this->request->url_for($arrParams); }
/** * URL for the full record display, including targets * * @param $result Record object * @return string url */ public function linkFullRecord(Record $result) { $arrParams = array('controller' => $this->request->getParam('controller'), "action" => "record", "id" => $result->getRecordID(), 'target' => $this->request->getParam('target', null, true)); return $this->request->url_for($arrParams); }
/** * URL for the sms feature * * @param Record $record * @return string url */ public function linkSMS(Record $record) { $arrParams = array('controller' => $this->request->getParam('controller'), 'action' => 'sms', 'id' => $record->getRecordID()); return $this->request->url_for($arrParams); }