/**
  * 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;
 }
Exemplo n.º 2
0
 /**
  * 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;
 }
Exemplo n.º 3
0
 /**
  * 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;
     }
 }
Exemplo n.º 4
0
 /**
  * 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;
 }
Exemplo n.º 5
0
 /**
  * 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;
 }
Exemplo n.º 6
0
 /**
  * constructor
  */
 public function __construct(cs_environment $environment)
 {
     // call parent
     parent::__construct($environment);
     $this->_tpl_file = 'group_list';
 }