propel/generated-classes/Map/ProfileTableMap.php
/**
     * Add all the columns needed to create a new object.
     *
     * Note: any columns that were marked with lazyLoad="true" in the
     * XML schema will not be added to the select list and only loaded
     * on demand.
     *
     * @param Criteria $criteria object containing the columns to add.
     * @param string   $alias    optional table alias
     * @throws PropelException Any exceptions caught during processing will be
     *         rethrown wrapped into a PropelException.
     */
Add all the columns needed to create a new object.
Note: any columns that were marked with lazyLoad="true" in the
XML schema will not be added to the select list and only loaded
on demand.

@param Criteria $criteria object containing the columns to add.
@param string   $alias    optional table alias
@throws PropelException Any exceptions caught during processing will be
rethrown wrapped into a PropelException.
Add all the columns needed to create a new object . Note : any columns that were marked with lazyLoad = " true " in the XML schema will not be added to the select list and only loaded on demand . @param Criteria $criteria object containing the columns to add . @param string $alias optional table alias @throws PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException .
public static function addSelectColumns(Criteria $criteria, $alias = null)
    {
        if (null === $alias) {
            $criteria->addSelectColumn(ProfileTableMap::ID);
            $criteria->addSelectColumn(ProfileTableMap::UUID);
            $criteria->addSelectColumn(ProfileTableMap::USER_ID);
            $criteria->addSelectColumn(ProfileTableMap::DEALER_ID);
            $criteria->addSelectColumn(ProfileTableMap::FIRST_NAME);
            $criteria->addSelectColumn(ProfileTableMap::LAST_NAME);
            $criteria->addSelectColumn(ProfileTableMap::GENDER);
            $criteria->addSelectColumn(ProfileTableMap::DATE_OF_BIRTH);
            $criteria->addSelectColumn(ProfileTableMap::PHONE_NUMBER);
            $criteria->addSelectColumn(ProfileTableMap::MOBILE_NUMBER);
            $criteria->addSelectColumn(ProfileTableMap::IMAGE);
            $criteria->addSelectColumn(ProfileTableMap::COMPANY_NAME);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_STREET);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_STREET_2);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_CITY);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_STATE);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_POST_CODE);
            $criteria->addSelectColumn(ProfileTableMap::PRIMARY_ADDRESS_COUNTRY);
            $criteria->addSelectColumn(ProfileTableMap::BILLING_ADDRESS_STREET);
            $criteria->addSelectColumn(ProfileTableMap::BILLING_ADDRESS_CITY);
            $criteria->addSelectColumn(ProfileTableMap::BILLING_ADDRESS_STATE);
            $criteria->addSelectColumn(ProfileTableMap::BILLING_ADDRESS_POST_CODE);
            $criteria->addSelectColumn(ProfileTableMap::BILLING_ADDRESS_COUNTRY);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_QUESTION_1);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_ANSWER_1);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_QUESTION_2);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_ANSWER_2);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_QUESTION_CUSTOM);
            $criteria->addSelectColumn(ProfileTableMap::SECURITY_ANSWER_CUSTOM);
            $criteria->addSelectColumn(ProfileTableMap::CREATED_AT);
            $criteria->addSelectColumn(ProfileTableMap::UPDATED_AT);
        } else {
            $criteria->addSelectColumn($alias . '.ID');
            $criteria->addSelectColumn($alias . '.UUID');
            $criteria->addSelectColumn($alias . '.USER_ID');
            $criteria->addSelectColumn($alias . '.DEALER_ID');
            $criteria->addSelectColumn($alias . '.FIRST_NAME');
            $criteria->addSelectColumn($alias . '.LAST_NAME');
            $criteria->addSelectColumn($alias . '.GENDER');
            $criteria->addSelectColumn($alias . '.DATE_OF_BIRTH');
            $criteria->addSelectColumn($alias . '.PHONE_NUMBER');
            $criteria->addSelectColumn($alias . '.MOBILE_NUMBER');
            $criteria->addSelectColumn($alias . '.IMAGE');
            $criteria->addSelectColumn($alias . '.COMPANY_NAME');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_STREET');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_STREET_2');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_CITY');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_STATE');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_POST_CODE');
            $criteria->addSelectColumn($alias . '.PRIMARY_ADDRESS_COUNTRY');
            $criteria->addSelectColumn($alias . '.BILLING_ADDRESS_STREET');
            $criteria->addSelectColumn($alias . '.BILLING_ADDRESS_CITY');
            $criteria->addSelectColumn($alias . '.BILLING_ADDRESS_STATE');
            $criteria->addSelectColumn($alias . '.BILLING_ADDRESS_POST_CODE');
            $criteria->addSelectColumn($alias . '.BILLING_ADDRESS_COUNTRY');
            $criteria->addSelectColumn($alias . '.SECURITY_QUESTION_1');
            $criteria->addSelectColumn($alias . '.SECURITY_ANSWER_1');
            $criteria->addSelectColumn($alias . '.SECURITY_QUESTION_2');
            $criteria->addSelectColumn($alias . '.SECURITY_ANSWER_2');
            $criteria->addSelectColumn($alias . '.SECURITY_QUESTION_CUSTOM');
            $criteria->addSelectColumn($alias . '.SECURITY_ANSWER_CUSTOM');
            $criteria->addSelectColumn($alias . '.CREATED_AT');
            $criteria->addSelectColumn($alias . '.UPDATED_AT');
        }
    }
public static function addSelectColumns ( Criteria $ criteria , $ alias = null ) { if ( null === $ alias ) { $ criteria -> addSelectColumn ( ProfileTableMap :: ID ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: UUID ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: USER_ID ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: DEALER_ID ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: FIRST_NAME ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: LAST_NAME ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: GENDER ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: DATE_OF_BIRTH ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PHONE_NUMBER ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: MOBILE_NUMBER ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: IMAGE ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: COMPANY_NAME ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_STREET ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_STREET_2 ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_CITY ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_STATE ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_POST_CODE ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: PRIMARY_ADDRESS_COUNTRY ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: BILLING_ADDRESS_STREET ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: BILLING_ADDRESS_CITY ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: BILLING_ADDRESS_STATE ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: BILLING_ADDRESS_POST_CODE ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: BILLING_ADDRESS_COUNTRY ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_QUESTION_1 ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_ANSWER_1 ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_QUESTION_2 ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_ANSWER_2 ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_QUESTION_CUSTOM ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: SECURITY_ANSWER_CUSTOM ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: CREATED_AT ) ; $ criteria -> addSelectColumn ( ProfileTableMap :: UPDATED_AT ) ; } else { $ criteria -> addSelectColumn ( $ alias . '.ID' ) ; $ criteria -> addSelectColumn ( $ alias . '.UUID' ) ; $ criteria -> addSelectColumn ( $ alias . '.USER_ID' ) ; $ criteria -> addSelectColumn ( $ alias . '.DEALER_ID' ) ; $ criteria -> addSelectColumn ( $ alias . '.FIRST_NAME' ) ; $ criteria -> addSelectColumn ( $ alias . '.LAST_NAME' ) ; $ criteria -> addSelectColumn ( $ alias . '.GENDER' ) ; $ criteria -> addSelectColumn ( $ alias . '.DATE_OF_BIRTH' ) ; $ criteria -> addSelectColumn ( $ alias . '.PHONE_NUMBER' ) ; $ criteria -> addSelectColumn ( $ alias . '.MOBILE_NUMBER' ) ; $ criteria -> addSelectColumn ( $ alias . '.IMAGE' ) ; $ criteria -> addSelectColumn ( $ alias . '.COMPANY_NAME' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_STREET' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_STREET_2' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_CITY' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_STATE' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_POST_CODE' ) ; $ criteria -> addSelectColumn ( $ alias . '.PRIMARY_ADDRESS_COUNTRY' ) ; $ criteria -> addSelectColumn ( $ alias . '.BILLING_ADDRESS_STREET' ) ; $ criteria -> addSelectColumn ( $ alias . '.BILLING_ADDRESS_CITY' ) ; $ criteria -> addSelectColumn ( $ alias . '.BILLING_ADDRESS_STATE' ) ; $ criteria -> addSelectColumn ( $ alias . '.BILLING_ADDRESS_POST_CODE' ) ; $ criteria -> addSelectColumn ( $ alias . '.BILLING_ADDRESS_COUNTRY' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_QUESTION_1' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_ANSWER_1' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_QUESTION_2' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_ANSWER_2' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_QUESTION_CUSTOM' ) ; $ criteria -> addSelectColumn ( $ alias . '.SECURITY_ANSWER_CUSTOM' ) ; $ criteria -> addSelectColumn ( $ alias . '.CREATED_AT' ) ; $ criteria -> addSelectColumn ( $ alias . '.UPDATED_AT' ) ; } }
Add all the columns needed to create a new object.
Add all the columns needed to create a new object .