propel/generated-classes/Base/User.php
/**
     * Initializes the collProfiles collection.
     *
     * By default this just sets the collProfiles collection to an empty array (like clearcollProfiles());
     * however, you may wish to override this method in your stub class to provide setting appropriate
     * to your application -- for example, setting the initial array to the values stored in database.
     *
     * @param      boolean $overrideExisting If set to true, the method call initializes
     *                                        the collection even if it is not empty
     *
     * @return void
     */
Initializes the collProfiles collection.
By default this just sets the collProfiles collection to an empty array (like clearcollProfiles());
however, you may wish to override this method in your stub class to provide setting appropriate
to your application -- for example, setting the initial array to the values stored in database.

@param      boolean $overrideExisting If set to true, the method call initializes
the collection even if it is not empty

@return void
Initializes the collProfiles collection . By default this just sets the collProfiles collection to an empty array ( like clearcollProfiles () ) ; however you may wish to override this method in your stub class to provide setting appropriate to your application -- for example setting the initial array to the values stored in database . @param boolean $overrideExisting If set to true the method call initializes the collection even if it is not empty @return void
public function initProfiles($overrideExisting = true)
    {
        if (null !== $this->collProfiles && !$overrideExisting) {
            return;
        }
        $this->collProfiles = new ObjectCollection();
        $this->collProfiles->setModel('\Profile');
    }
public function initProfiles ( $ overrideExisting = true ) { if ( null !== $ this -> collProfiles && ! $ overrideExisting ) { return ; } $ this -> collProfiles = new ObjectCollection ( ) ; $ this -> collProfiles -> setModel ( '\Profile' ) ; }
Initializes the collProfiles collection.
Initializes the collProfiles collection .