public function initC2Ps($overrideExisting = true)
    {
        if (null !== $this->collC2Ps && !$overrideExisting) {
            return;
        }

        $collectionClassName = C2PTableMap::getTableMap()->getCollectionClassName();

        $this->collC2Ps = new $collectionClassName;
        $this->collC2Ps->setModel('\Attogram\SharedMedia\Orm\C2P');
    }
public function initC2Ps($overrideExisting = true)
    {
        if (null !== $this->collC2Ps && !$overrideExisting) {
            return;
        }

        $collectionClassName = C2PTableMap::getTableMap()->getCollectionClassName();

        $this->collC2Ps = new $collectionClassName;
        $this->collC2Ps->setModel('\Attogram\SharedMedia\Orm\C2P');
    }
public function initC2Ps ( $ overrideExisting = true ) { if ( null !== $ this -> collC2Ps && ! $ overrideExisting ) { return ; } $ collectionClassName = C2PTableMap :: getTableMap ( ) -> getCollectionClassName ( ) ; $ this -> collC2Ps = new $ collectionClassName ; $ this -> collC2Ps -> setModel ( '\Attogram\SharedMedia\Orm\C2P' ) ; }
Initializes the collC2Ps collection.

By default this just sets the collC2Ps collection to an empty array (like clearcollC2Ps());
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 collC2Ps collection .