src/Slashworks/AppBundle/Model/om/BaseLicense.php
public function validate($columns = null)
    {
        $res = $this->doValidate($columns);
        if ($res === true) {
            $this->validationFailures = array();

            return true;
        }

        $this->validationFailures = $res;

        return false;
    }
public function validate($columns = null)
    {
        $res = $this->doValidate($columns);
        if ($res === true) {
            $this->validationFailures = array();

            return true;
        }

        $this->validationFailures = $res;

        return false;
    }
public function validate ( $ columns = null ) { $ res = $ this -> doValidate ( $ columns ) ; if ( $ res === true ) { $ this -> validationFailures = array ( ) ; return true ; } $ this -> validationFailures = $ res ; return false ; }
Validates the objects modified field values and all objects related to this table.

If $columns is either a column name or an array of column names
only those columns are validated.

@param mixed $columns Column name or an array of column names.
@return boolean Whether all columns pass validation.
@see        doValidate()
@see        getValidationFailures()
Validates the objects modified field values and all objects related to this table .