public function __construct(\Lampcms\Registry $R, $selected = 0)
 {
     $this->selected = $selected;
     parent::__construct($R);
 }
Exemple #2
0
 /**
  * @param \Lampcms\Registry $R
  * @param int               $selected the category id. This only applies to Question
  * @param bool              $isAnswer if true then this edit form is for the Answer
  *                                    otherwise the form is for the question
  */
 public function __construct(\Lampcms\Registry $R, $selected = 0, $isAnswer = false)
 {
     $this->selected = $selected;
     $this->isAnswer = $isAnswer;
     parent::__construct($R);
 }