propel/generated-classes/Base/Profile.php
/**
     * Sets contents of passed object to values from current object.
     *
     * If desired, this method can also make copies of all associated (fkey referrers)
     * objects.
     *
     * @param      object $copyObj An object of \Profile (or compatible) type.
     * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
     * @param      boolean $makeNew Whether to reset autoincrement PKs and make the object new.
     * @throws PropelException
     */
Sets contents of passed object to values from current object.
If desired, this method can also make copies of all associated (fkey referrers)
objects.

@param      object $copyObj An object of \Profile (or compatible) type.
@param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
@param      boolean $makeNew Whether to reset autoincrement PKs and make the object new.
Sets contents of passed object to values from current object . If desired this method can also make copies of all associated ( fkey referrers ) objects . @param object $copyObj An object of \ Profile ( or compatible ) type . @param boolean $deepCopy Whether to also copy all rows that refer ( by fkey ) to the current row . @param boolean $makeNew Whether to reset autoincrement PKs and make the object new .
public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
    {
        $copyObj->setUUID($this->getUUID());
        $copyObj->setUserID($this->getUserID());
        $copyObj->setDealerID($this->getDealerID());
        $copyObj->setFirstName($this->getFirstName());
        $copyObj->setLastName($this->getLastName());
        $copyObj->setGender($this->getGender());
        $copyObj->setDateOfBirth($this->getDateOfBirth());
        $copyObj->setPhoneNumber($this->getPhoneNumber());
        $copyObj->setMobileNumber($this->getMobileNumber());
        $copyObj->setProfileImage($this->getProfileImage());
        $copyObj->setCompanyName($this->getCompanyName());
        $copyObj->setPrimaryAddressStreet($this->getPrimaryAddressStreet());
        $copyObj->setPrimaryAddressStreet2($this->getPrimaryAddressStreet2());
        $copyObj->setPrimaryAddressCity($this->getPrimaryAddressCity());
        $copyObj->setPrimaryAddressState($this->getPrimaryAddressState());
        $copyObj->setPrimaryAddressPostCode($this->getPrimaryAddressPostCode());
        $copyObj->setPrimaryAddressCountry($this->getPrimaryAddressCountry());
        $copyObj->setBillingAddressStreet($this->getBillingAddressStreet());
        $copyObj->setBillingAddressCity($this->getBillingAddressCity());
        $copyObj->setBillingAddressState($this->getBillingAddressState());
        $copyObj->setBillingAddressPostCode($this->getBillingAddressPostCode());
        $copyObj->setBillingAddressCountry($this->getBillingAddressCountry());
        $copyObj->setFirstSecurityQuestion($this->getFirstSecurityQuestion());
        $copyObj->setFirstSecurityQuestionAnswer($this->getFirstSecurityQuestionAnswer());
        $copyObj->setSecondSecurityQuestion($this->getSecondSecurityQuestion());
        $copyObj->setSecondSecurityQuestionAnswer($this->getSecondSecurityQuestionAnswer());
        $copyObj->setCustomSecurityQuestion($this->getCustomSecurityQuestion());
        $copyObj->setCustomSecurityAnswer($this->getCustomSecurityAnswer());
        $copyObj->setCreatedAt($this->getCreatedAt());
        $copyObj->setUpdatedAt($this->getUpdatedAt());
        if ($makeNew) {
            $copyObj->setNew(true);
            $copyObj->setID(NULL); 
        }
    }
public function copyInto ( $ copyObj , $ deepCopy = false , $ makeNew = true ) { $ copyObj -> setUUID ( $ this -> getUUID ( ) ) ; $ copyObj -> setUserID ( $ this -> getUserID ( ) ) ; $ copyObj -> setDealerID ( $ this -> getDealerID ( ) ) ; $ copyObj -> setFirstName ( $ this -> getFirstName ( ) ) ; $ copyObj -> setLastName ( $ this -> getLastName ( ) ) ; $ copyObj -> setGender ( $ this -> getGender ( ) ) ; $ copyObj -> setDateOfBirth ( $ this -> getDateOfBirth ( ) ) ; $ copyObj -> setPhoneNumber ( $ this -> getPhoneNumber ( ) ) ; $ copyObj -> setMobileNumber ( $ this -> getMobileNumber ( ) ) ; $ copyObj -> setProfileImage ( $ this -> getProfileImage ( ) ) ; $ copyObj -> setCompanyName ( $ this -> getCompanyName ( ) ) ; $ copyObj -> setPrimaryAddressStreet ( $ this -> getPrimaryAddressStreet ( ) ) ; $ copyObj -> setPrimaryAddressStreet2 ( $ this -> getPrimaryAddressStreet2 ( ) ) ; $ copyObj -> setPrimaryAddressCity ( $ this -> getPrimaryAddressCity ( ) ) ; $ copyObj -> setPrimaryAddressState ( $ this -> getPrimaryAddressState ( ) ) ; $ copyObj -> setPrimaryAddressPostCode ( $ this -> getPrimaryAddressPostCode ( ) ) ; $ copyObj -> setPrimaryAddressCountry ( $ this -> getPrimaryAddressCountry ( ) ) ; $ copyObj -> setBillingAddressStreet ( $ this -> getBillingAddressStreet ( ) ) ; $ copyObj -> setBillingAddressCity ( $ this -> getBillingAddressCity ( ) ) ; $ copyObj -> setBillingAddressState ( $ this -> getBillingAddressState ( ) ) ; $ copyObj -> setBillingAddressPostCode ( $ this -> getBillingAddressPostCode ( ) ) ; $ copyObj -> setBillingAddressCountry ( $ this -> getBillingAddressCountry ( ) ) ; $ copyObj -> setFirstSecurityQuestion ( $ this -> getFirstSecurityQuestion ( ) ) ; $ copyObj -> setFirstSecurityQuestionAnswer ( $ this -> getFirstSecurityQuestionAnswer ( ) ) ; $ copyObj -> setSecondSecurityQuestion ( $ this -> getSecondSecurityQuestion ( ) ) ; $ copyObj -> setSecondSecurityQuestionAnswer ( $ this -> getSecondSecurityQuestionAnswer ( ) ) ; $ copyObj -> setCustomSecurityQuestion ( $ this -> getCustomSecurityQuestion ( ) ) ; $ copyObj -> setCustomSecurityAnswer ( $ this -> getCustomSecurityAnswer ( ) ) ; $ copyObj -> setCreatedAt ( $ this -> getCreatedAt ( ) ) ; $ copyObj -> setUpdatedAt ( $ this -> getUpdatedAt ( ) ) ; if ( $ makeNew ) { $ copyObj -> setNew ( true ) ; $ copyObj -> setID ( NULL ) ; } }
Sets contents of passed object to values from current object.
Sets contents of passed object to values from current object .
// this is a auto-increment column, so set to default value