framework/Mvc/Extensions/Ckfinder/lib/core/connector/php/php5/Core/Config.php
public function &getResourceTypeConfig($resourceTypeName)
    {
        $_null = null;

        if (isset($this->_resourceTypeConfigCache[$resourceTypeName])) {
            return $this->_resourceTypeConfigCache[$resourceTypeName];
        }

        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
            return $_null;
        }

        reset($GLOBALS['config']['ResourceType']);
        while (list($_key,$_resourceTypeNode) = each($GLOBALS['config']['ResourceType'])) {
            if ($_resourceTypeNode['name'] === $resourceTypeName) {
                $this->_resourceTypeConfigCache[$resourceTypeName] = new CKFinder_Connector_Core_ResourceTypeConfig($_resourceTypeNode);

                return $this->_resourceTypeConfigCache[$resourceTypeName];
            }
        }

        return $_null;
    }
public function &getResourceTypeConfig($resourceTypeName)
    {
        $_null = null;

        if (isset($this->_resourceTypeConfigCache[$resourceTypeName])) {
            return $this->_resourceTypeConfigCache[$resourceTypeName];
        }

        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
            return $_null;
        }

        reset($GLOBALS['config']['ResourceType']);
        while (list($_key,$_resourceTypeNode) = each($GLOBALS['config']['ResourceType'])) {
            if ($_resourceTypeNode['name'] === $resourceTypeName) {
                $this->_resourceTypeConfigCache[$resourceTypeName] = new CKFinder_Connector_Core_ResourceTypeConfig($_resourceTypeNode);

                return $this->_resourceTypeConfigCache[$resourceTypeName];
            }
        }

        return $_null;
    }
public function & getResourceTypeConfig ( $ resourceTypeName ) { $ _null = null ; if ( isset ( $ this -> _resourceTypeConfigCache [ $ resourceTypeName ] ) ) { return $ this -> _resourceTypeConfigCache [ $ resourceTypeName ] ; } if ( ! isset ( $ GLOBALS [ 'config' ] [ 'ResourceType' ] ) || ! is_array ( $ GLOBALS [ 'config' ] [ 'ResourceType' ] ) ) { return $ _null ; } reset ( $ GLOBALS [ 'config' ] [ 'ResourceType' ] ) ; while ( list ( $ _key , $ _resourceTypeNode ) = each ( $ GLOBALS [ 'config' ] [ 'ResourceType' ] ) ) { if ( $ _resourceTypeNode [ 'name' ] === $ resourceTypeName ) { $ this -> _resourceTypeConfigCache [ $ resourceTypeName ] = new CKFinder_Connector_Core_ResourceTypeConfig ( $ _resourceTypeNode ) ; return $ this -> _resourceTypeConfigCache [ $ resourceTypeName ] ; } } return $ _null ; }
Get resourceTypeName config

@param string $resourceTypeName
@return CKFinder_Connector_Core_ResourceTypeConfig|null
@access public
Get resourceTypeName config