src/Alchemy/Component/Cerberus/Model/Base/Permission.php
public function initPermissionsRelatedById($overrideExisting = true)
    {
        if (null !== $this->collPermissionsRelatedById && !$overrideExisting) {
            return;
        }
        $this->collPermissionsRelatedById = new ObjectCollection();
        $this->collPermissionsRelatedById->setModel('\Alchemy\Component\Cerberus\Model\Permission');
    }
public function initPermissionsRelatedById($overrideExisting = true)
    {
        if (null !== $this->collPermissionsRelatedById && !$overrideExisting) {
            return;
        }
        $this->collPermissionsRelatedById = new ObjectCollection();
        $this->collPermissionsRelatedById->setModel('\Alchemy\Component\Cerberus\Model\Permission');
    }
public function initPermissionsRelatedById ( $ overrideExisting = true ) { if ( null !== $ this -> collPermissionsRelatedById && ! $ overrideExisting ) { return ; } $ this -> collPermissionsRelatedById = new ObjectCollection ( ) ; $ this -> collPermissionsRelatedById -> setModel ( '\Alchemy\Component\Cerberus\Model\Permission' ) ; }
Initializes the collPermissionsRelatedById collection.

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