Core/Orm/Validation/Validation.php
public function checkbox($field, $label) {
        $checkbox = new Checkbox($this->_entity, $field, $label);
        array_push($this->_elements, $checkbox);

        return $checkbox;
    }
public function checkbox($field, $label) {
        $checkbox = new Checkbox($this->_entity, $field, $label);
        array_push($this->_elements, $checkbox);

        return $checkbox;
    }
public function checkbox ( $ field , $ label ) { $ checkbox = new Checkbox ( $ this -> _entity , $ field , $ label ) ; array_push ( $ this -> _elements , $ checkbox ) ; return $ checkbox ; }
add checkbox element
@access public
@param $field string
@param $label string
@return \Gcs\Framework\Core\Orm\Validation\Element\Checkbox
@since 3.0
@package Gcs\Framework\Core\Orm\Validation
add checkbox element