/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); $this->_tpl_file = 'discussion_list'; // this will enable processing of additional restriction texts $this->_additional_selects = true; }
/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); // set selected status $this->setSelectedStatus(); $this->_tpl_file = 'todo_list'; // this will enable processing of additional restriction texts $this->_additional_selects = true; }
/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); $this->_tpl_file = 'room_home'; // old_text_formating $c_old_text_formating_array = $this->_environment->getConfiguration('c_old_text_formating_array'); if (!empty($c_old_text_formating_array) and is_array($c_old_text_formating_array) and in_array($this->_environment->getCurrentContextID(), $c_old_text_formating_array)) { $this->_with_old_text_formating = true; } }
/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); $this->_tpl_file = 'room_search'; $this->_list = new cs_list(); $this->_addition_selects = true; /************************************************************************************ * The Search Algorithm has to handle both, new indexed and old-fashioned * methods, so we need to check the $c_indexed_search global ************************************************************************************/ global $c_indexed_search; $this->_indexed_search = isset($c_indexed_search) && $c_indexed_search === true ? true : false; }
/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); // set display mode $this->setDisplayMode(); // set selected status $this->setSelectedStatus(); $this->_tpl_file = "date_" . $this->_display_mode; if ($this->_display_mode == 'calendar_month') { $this->_tpl_file = "date_calendar"; } // this will enable processing of additional restriction texts $this->_additional_selects = true; }
/** * constructor */ public function __construct(cs_environment $environment) { // call parent parent::__construct($environment); $this->_tpl_file = 'group_list'; }