public function buildRoleLinks($rm)
    {
        if (!isset($this->model['g'])) {
            return;
        }
        foreach ($this->model['g'] as $ast) {
            $ast->buildRoleLinks($rm);
        }
    }
public function buildRoleLinks($rm)
    {
        if (!isset($this->model['g'])) {
            return;
        }
        foreach ($this->model['g'] as $ast) {
            $ast->buildRoleLinks($rm);
        }
    }
public function buildRoleLinks ( $ rm ) { if ( ! isset ( $ this -> model [ 'g' ] ) ) { return ; } foreach ( $ this -> model [ 'g' ] as $ ast ) { $ ast -> buildRoleLinks ( $ rm ) ; } }
initializes the roles in RBAC.

@param RoleManager $rm
initializes the roles in RBAC .