src/wcmf/lib/security/principal/impl/AbstractUser.php
protected static function getRoleConfigs() {
    if (self::$roleConfig == null) {
      // load role config if existing
      $config = ObjectFactory::getInstance('configuration');
      if (($roleConfig = $config->getSection('roleconfig')) !== false) {
        self::$roleConfig = $roleConfig;
      }
    }
    return self::$roleConfig;
  }
protected static function getRoleConfigs() {
    if (self::$roleConfig == null) {
      // load role config if existing
      $config = ObjectFactory::getInstance('configuration');
      if (($roleConfig = $config->getSection('roleconfig')) !== false) {
        self::$roleConfig = $roleConfig;
      }
    }
    return self::$roleConfig;
  }
protected static function getRoleConfigs ( ) { if ( self :: $ roleConfig == null ) { // load role config if existing $ config = ObjectFactory :: getInstance ( 'configuration' ) ; if ( ( $ roleConfig = $ config -> getSection ( 'roleconfig' ) ) !== false ) { self :: $ roleConfig = $ roleConfig ; } } return self :: $ roleConfig ; }
Get the role configurations from the application configuration
@return Array with role names as keys and config file names as values
Get the role configurations from the application configuration