Esempio n. 1
0
 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_query_params($params)
 {
     $paramnames = $this->core->info->param_anymodule_parameters_names('pagesetmodule');
     foreach ($paramnames as $paramname) {
         if (isset($params[$paramname])) {
             $this->{$paramname} = $params[$paramname];
         }
     }
     parent::set_query_params($params);
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 protected function set_slot_params_from_signal(&$signal)
 {
     if ($this->set_page_from_signal_data && $signal instanceof LineSignal_Data) {
         $title = $signal->data_title($this->default_data_key);
         if (!is_null($title)) {
             $this->title = $title;
         } else {
             $pageid = $signal->data_pageid($this->default_data_key);
             if (!is_null($pageid)) {
                 $this->pageid = $pageid;
             }
         }
     }
     return parent::set_slot_params_from_signal($signal);
 }
Esempio n. 5
0
 function __construct($core, $modulename, $data_type = "")
 {
     $this->modulename = $modulename;
     $this->data_type = $data_type;
     parent::__construct($core);
 }