propel/generated-classes/Base/User.php
/**
     * Build a Criteria object containing the values of all modified columns in this object.
     *
     * @return Criteria The Criteria object containing all modified values.
     */
Build a Criteria object containing the values of all modified columns in this object.
@return Criteria The Criteria object containing all modified values.
Build a Criteria object containing the values of all modified columns in this object . @return Criteria The Criteria object containing all modified values .
public function buildCriteria()
    {
        $criteria = new Criteria(UserTableMap::DATABASE_NAME);
        if ($this->isColumnModified(UserTableMap::ID)) $criteria->add(UserTableMap::ID, $this->id);
        if ($this->isColumnModified(UserTableMap::UUID)) $criteria->add(UserTableMap::UUID, $this->uuid);
        if ($this->isColumnModified(UserTableMap::USERNAME)) $criteria->add(UserTableMap::USERNAME, $this->username);
        if ($this->isColumnModified(UserTableMap::EMAIL)) $criteria->add(UserTableMap::EMAIL, $this->email);
        if ($this->isColumnModified(UserTableMap::PASSWORD)) $criteria->add(UserTableMap::PASSWORD, $this->password);
        if ($this->isColumnModified(UserTableMap::ROLE)) $criteria->add(UserTableMap::ROLE, $this->role);
        if ($this->isColumnModified(UserTableMap::VISIBLE)) $criteria->add(UserTableMap::VISIBLE, $this->visible);
        if ($this->isColumnModified(UserTableMap::STATUS)) $criteria->add(UserTableMap::STATUS, $this->status);
        if ($this->isColumnModified(UserTableMap::CREATED_AT)) $criteria->add(UserTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(UserTableMap::UPDATED_AT)) $criteria->add(UserTableMap::UPDATED_AT, $this->updated_at);
        return $criteria;
    }
public function buildCriteria ( ) { $ criteria = new Criteria ( UserTableMap :: DATABASE_NAME ) ; if ( $ this -> isColumnModified ( UserTableMap :: ID ) ) $ criteria -> add ( UserTableMap :: ID , $ this -> id ) ; if ( $ this -> isColumnModified ( UserTableMap :: UUID ) ) $ criteria -> add ( UserTableMap :: UUID , $ this -> uuid ) ; if ( $ this -> isColumnModified ( UserTableMap :: USERNAME ) ) $ criteria -> add ( UserTableMap :: USERNAME , $ this -> username ) ; if ( $ this -> isColumnModified ( UserTableMap :: EMAIL ) ) $ criteria -> add ( UserTableMap :: EMAIL , $ this -> email ) ; if ( $ this -> isColumnModified ( UserTableMap :: PASSWORD ) ) $ criteria -> add ( UserTableMap :: PASSWORD , $ this -> password ) ; if ( $ this -> isColumnModified ( UserTableMap :: ROLE ) ) $ criteria -> add ( UserTableMap :: ROLE , $ this -> role ) ; if ( $ this -> isColumnModified ( UserTableMap :: VISIBLE ) ) $ criteria -> add ( UserTableMap :: VISIBLE , $ this -> visible ) ; if ( $ this -> isColumnModified ( UserTableMap :: STATUS ) ) $ criteria -> add ( UserTableMap :: STATUS , $ this -> status ) ; if ( $ this -> isColumnModified ( UserTableMap :: CREATED_AT ) ) $ criteria -> add ( UserTableMap :: CREATED_AT , $ this -> created_at ) ; if ( $ this -> isColumnModified ( UserTableMap :: UPDATED_AT ) ) $ criteria -> add ( UserTableMap :: UPDATED_AT , $ this -> updated_at ) ; return $ criteria ; }
Build a Criteria object containing the values of all modified columns in this object.
Build a Criteria object containing the values of all modified columns in this object .