Source for file jFormsControlRadiobuttons.class.php
Documentation is available at jFormsControlRadiobuttons.class.php
- <?php
- /**
- * @package jelix
- * @subpackage forms
- * @author Laurent Jouanneau
- * @copyright 2006-2008 Laurent Jouanneau
- * @link http://www.jelix.org
- * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
- */
-
- /**
- * control which contains several radio buttons
- * @package jelix
- * @subpackage forms
- */
- class jFormsControlRadiobuttons extends jFormsControlDatasource {
- public $type="radiobuttons";
- public $defaultValue='';
- function check(){
- if($this->container->data[$this->ref] == '' && $this->required) {
- return $this->container->errors[$this->ref] = jForms::ERRDATA_REQUIRED;
- }
- return null;
- }
- }
Documentation generated on Mon, 26 Oct 2015 21:54:13 +0100 by phpDocumentor 1.4.3