propel/generated-classes/Base/Profile.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(ProfileTableMap::DATABASE_NAME);
        if ($this->isColumnModified(ProfileTableMap::ID)) $criteria->add(ProfileTableMap::ID, $this->id);
        if ($this->isColumnModified(ProfileTableMap::UUID)) $criteria->add(ProfileTableMap::UUID, $this->uuid);
        if ($this->isColumnModified(ProfileTableMap::USER_ID)) $criteria->add(ProfileTableMap::USER_ID, $this->user_id);
        if ($this->isColumnModified(ProfileTableMap::DEALER_ID)) $criteria->add(ProfileTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(ProfileTableMap::FIRST_NAME)) $criteria->add(ProfileTableMap::FIRST_NAME, $this->first_name);
        if ($this->isColumnModified(ProfileTableMap::LAST_NAME)) $criteria->add(ProfileTableMap::LAST_NAME, $this->last_name);
        if ($this->isColumnModified(ProfileTableMap::GENDER)) $criteria->add(ProfileTableMap::GENDER, $this->gender);
        if ($this->isColumnModified(ProfileTableMap::DATE_OF_BIRTH)) $criteria->add(ProfileTableMap::DATE_OF_BIRTH, $this->date_of_birth);
        if ($this->isColumnModified(ProfileTableMap::PHONE_NUMBER)) $criteria->add(ProfileTableMap::PHONE_NUMBER, $this->phone_number);
        if ($this->isColumnModified(ProfileTableMap::MOBILE_NUMBER)) $criteria->add(ProfileTableMap::MOBILE_NUMBER, $this->mobile_number);
        if ($this->isColumnModified(ProfileTableMap::IMAGE)) $criteria->add(ProfileTableMap::IMAGE, $this->image);
        if ($this->isColumnModified(ProfileTableMap::COMPANY_NAME)) $criteria->add(ProfileTableMap::COMPANY_NAME, $this->company_name);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_STREET)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_STREET, $this->primary_address_street);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_STREET_2)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_STREET_2, $this->primary_address_street_2);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_CITY)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_CITY, $this->primary_address_city);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_STATE)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_STATE, $this->primary_address_state);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_POST_CODE)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_POST_CODE, $this->primary_address_post_code);
        if ($this->isColumnModified(ProfileTableMap::PRIMARY_ADDRESS_COUNTRY)) $criteria->add(ProfileTableMap::PRIMARY_ADDRESS_COUNTRY, $this->primary_address_country);
        if ($this->isColumnModified(ProfileTableMap::BILLING_ADDRESS_STREET)) $criteria->add(ProfileTableMap::BILLING_ADDRESS_STREET, $this->billing_address_street);
        if ($this->isColumnModified(ProfileTableMap::BILLING_ADDRESS_CITY)) $criteria->add(ProfileTableMap::BILLING_ADDRESS_CITY, $this->billing_address_city);
        if ($this->isColumnModified(ProfileTableMap::BILLING_ADDRESS_STATE)) $criteria->add(ProfileTableMap::BILLING_ADDRESS_STATE, $this->billing_address_state);
        if ($this->isColumnModified(ProfileTableMap::BILLING_ADDRESS_POST_CODE)) $criteria->add(ProfileTableMap::BILLING_ADDRESS_POST_CODE, $this->billing_address_post_code);
        if ($this->isColumnModified(ProfileTableMap::BILLING_ADDRESS_COUNTRY)) $criteria->add(ProfileTableMap::BILLING_ADDRESS_COUNTRY, $this->billing_address_country);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_QUESTION_1)) $criteria->add(ProfileTableMap::SECURITY_QUESTION_1, $this->security_question_1);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_ANSWER_1)) $criteria->add(ProfileTableMap::SECURITY_ANSWER_1, $this->security_answer_1);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_QUESTION_2)) $criteria->add(ProfileTableMap::SECURITY_QUESTION_2, $this->security_question_2);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_ANSWER_2)) $criteria->add(ProfileTableMap::SECURITY_ANSWER_2, $this->security_answer_2);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_QUESTION_CUSTOM)) $criteria->add(ProfileTableMap::SECURITY_QUESTION_CUSTOM, $this->security_question_custom);
        if ($this->isColumnModified(ProfileTableMap::SECURITY_ANSWER_CUSTOM)) $criteria->add(ProfileTableMap::SECURITY_ANSWER_CUSTOM, $this->security_answer_custom);
        if ($this->isColumnModified(ProfileTableMap::CREATED_AT)) $criteria->add(ProfileTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(ProfileTableMap::UPDATED_AT)) $criteria->add(ProfileTableMap::UPDATED_AT, $this->updated_at);
        return $criteria;
    }
public function buildCriteria ( ) { $ criteria = new Criteria ( ProfileTableMap :: DATABASE_NAME ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: ID ) ) $ criteria -> add ( ProfileTableMap :: ID , $ this -> id ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: UUID ) ) $ criteria -> add ( ProfileTableMap :: UUID , $ this -> uuid ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: USER_ID ) ) $ criteria -> add ( ProfileTableMap :: USER_ID , $ this -> user_id ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: DEALER_ID ) ) $ criteria -> add ( ProfileTableMap :: DEALER_ID , $ this -> dealer_id ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: FIRST_NAME ) ) $ criteria -> add ( ProfileTableMap :: FIRST_NAME , $ this -> first_name ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: LAST_NAME ) ) $ criteria -> add ( ProfileTableMap :: LAST_NAME , $ this -> last_name ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: GENDER ) ) $ criteria -> add ( ProfileTableMap :: GENDER , $ this -> gender ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: DATE_OF_BIRTH ) ) $ criteria -> add ( ProfileTableMap :: DATE_OF_BIRTH , $ this -> date_of_birth ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PHONE_NUMBER ) ) $ criteria -> add ( ProfileTableMap :: PHONE_NUMBER , $ this -> phone_number ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: MOBILE_NUMBER ) ) $ criteria -> add ( ProfileTableMap :: MOBILE_NUMBER , $ this -> mobile_number ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: IMAGE ) ) $ criteria -> add ( ProfileTableMap :: IMAGE , $ this -> image ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: COMPANY_NAME ) ) $ criteria -> add ( ProfileTableMap :: COMPANY_NAME , $ this -> company_name ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_STREET ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_STREET , $ this -> primary_address_street ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_STREET_2 ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_STREET_2 , $ this -> primary_address_street_2 ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_CITY ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_CITY , $ this -> primary_address_city ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_STATE ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_STATE , $ this -> primary_address_state ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_POST_CODE ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_POST_CODE , $ this -> primary_address_post_code ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: PRIMARY_ADDRESS_COUNTRY ) ) $ criteria -> add ( ProfileTableMap :: PRIMARY_ADDRESS_COUNTRY , $ this -> primary_address_country ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: BILLING_ADDRESS_STREET ) ) $ criteria -> add ( ProfileTableMap :: BILLING_ADDRESS_STREET , $ this -> billing_address_street ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: BILLING_ADDRESS_CITY ) ) $ criteria -> add ( ProfileTableMap :: BILLING_ADDRESS_CITY , $ this -> billing_address_city ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: BILLING_ADDRESS_STATE ) ) $ criteria -> add ( ProfileTableMap :: BILLING_ADDRESS_STATE , $ this -> billing_address_state ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: BILLING_ADDRESS_POST_CODE ) ) $ criteria -> add ( ProfileTableMap :: BILLING_ADDRESS_POST_CODE , $ this -> billing_address_post_code ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: BILLING_ADDRESS_COUNTRY ) ) $ criteria -> add ( ProfileTableMap :: BILLING_ADDRESS_COUNTRY , $ this -> billing_address_country ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_QUESTION_1 ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_QUESTION_1 , $ this -> security_question_1 ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_ANSWER_1 ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_ANSWER_1 , $ this -> security_answer_1 ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_QUESTION_2 ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_QUESTION_2 , $ this -> security_question_2 ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_ANSWER_2 ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_ANSWER_2 , $ this -> security_answer_2 ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_QUESTION_CUSTOM ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_QUESTION_CUSTOM , $ this -> security_question_custom ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: SECURITY_ANSWER_CUSTOM ) ) $ criteria -> add ( ProfileTableMap :: SECURITY_ANSWER_CUSTOM , $ this -> security_answer_custom ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: CREATED_AT ) ) $ criteria -> add ( ProfileTableMap :: CREATED_AT , $ this -> created_at ) ; if ( $ this -> isColumnModified ( ProfileTableMap :: UPDATED_AT ) ) $ criteria -> add ( ProfileTableMap :: 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 .