protected function set_slot_params_from_signal(&$signal) { if ($this->set_nsid_from_signal_data && $signal instanceof LineSignal_Data) { $nsid = $signal->data_nsid($this->default_data_key); if (!is_null($nsid)) { $this->namespace = $nsid; } } return parent::set_slot_params_from_signal($signal); }
protected function set_slot_params_from_signal(&$signal) { if ($this->set_title_from_signal_data && $signal instanceof LineSignal_Data) { $title = $signal->data_title($this->default_data_key); if (!is_null($title)) { $this->title = $title; } } return parent::set_slot_params_from_signal($signal); }
protected function set_slot_params_from_signal(&$signal) { if ($this->set_user_from_signal_data && $signal instanceof LineSignal_Data) { $user = $signal->data_user($this->default_data_key); if (!is_null($user)) { $this->user = $user; } } return parent::set_slot_params_from_signal($signal); }
protected function set_slot_params_from_signal(&$signal) { if ($this->set_extlink_from_signal_data && $signal instanceof LineSignal_Data) { $extlink = $signal->data_extlink($this->default_data_key); if (!is_null($extlink)) { $extlink = preg_replace('^.+\\:(\\/\\/)', '', $extlink); $this->query = $extlink; } } return parent::set_slot_params_from_signal($signal); }
public function query_feed_element($element, $element_key) { foreach ($element['revisions'] as $key => $revision) { $revision['ns'] = $element['ns']; $revision['title'] = $element['title']; if (!parent::query_feed_element($revision, $key)) { return false; } } return true; }
function __construct($core, $modulename, $data_type = "") { $this->modulename = $modulename; $this->data_type = $data_type; parent::__construct($core); }