public function initGroups($overrideExisting = true)
    {
        if (null !== $this->collGroups && !$overrideExisting) {
            return;
        }
        $this->collGroups = new ObjectCollection();
        $this->collGroups->setModel('\gossi\trixionary\model\Group');
    }
public function initGroups($overrideExisting = true)
    {
        if (null !== $this->collGroups && !$overrideExisting) {
            return;
        }
        $this->collGroups = new ObjectCollection();
        $this->collGroups->setModel('\gossi\trixionary\model\Group');
    }
public function initGroups ( $ overrideExisting = true ) { if ( null !== $ this -> collGroups && ! $ overrideExisting ) { return ; } $ this -> collGroups = new ObjectCollection ( ) ; $ this -> collGroups -> setModel ( '\gossi\trixionary\model\Group' ) ; }
Initializes the collGroups collection.

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