src/model/Base/Skill.php
public function initGroups()
    {
        $this->collGroups = new ObjectCollection();
        $this->collGroupsPartial = true;

        $this->collGroups->setModel('\gossi\trixionary\model\Group');
    }
public function initGroups()
    {
        $this->collGroups = new ObjectCollection();
        $this->collGroupsPartial = true;

        $this->collGroups->setModel('\gossi\trixionary\model\Group');
    }
public function initGroups ( ) { $ this -> collGroups = new ObjectCollection ( ) ; $ this -> collGroupsPartial = true ; $ this -> collGroups -> setModel ( '\gossi\trixionary\model\Group' ) ; }
Initializes the collGroups crossRef collection.

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

@return void
Initializes the collGroups crossRef collection .