public function validateForm()
    {
        // Validates the model
        if ($this->validate())
        {
            // Getters and setters don't work in CFormModel? So set them manually
            $this->encryptionKey        = $this->getEncryptionKey();
            $this->encryptedPassword    = $this->getEncryptedPassword();
            return true;
        }
        
        return false;
    }
public function validateForm()
    {
        // Validates the model
        if ($this->validate())
        {
            // Getters and setters don't work in CFormModel? So set them manually
            $this->encryptionKey        = $this->getEncryptionKey();
            $this->encryptedPassword    = $this->getEncryptedPassword();
            return true;
        }
        
        return false;
    }
public function validateForm ( ) { // Validates the model if ( $ this -> validate ( ) ) { // Getters and setters don't work in CFormModel? So set them manually $ this -> encryptionKey = $ this -> getEncryptionKey ( ) ; $ this -> encryptedPassword = $ this -> getEncryptedPassword ( ) ; return true ; } return false ; }
Validates the model, and provides the encrypted data stream for hashing
@return bool     If the model validated or not
Validates the model and provides the encrypted data stream for hashing