irm-1.6-b3/MDB/Common.php
/**
     * loads the Manager module
     *
     * @param string $scope information about what method is being loaded,
     *                       that is used for error messages
     * @access public
     */
loads the Manager module
@param string $scope information about what method is being loaded,
that is used for error messages
@access public
loads the Manager module @param string $scope information about what method is being loaded that is used for error messages @access public
function loadManager($scope = '')
    {
        if (isset($this->manager) && is_object($this->manager)) {
            return(MDB_OK);
        }
        $result = $this->_loadModule($scope, 'Manager',
            'MDB_MANAGER_'.strtoupper($this->phptype).'_INCLUDED',
            'Manager/'.$this->phptype.'.php');
        if (MDB::isError($result)) {
            return($result);
        }
        $class_name = 'MDB_Manager_'.$this->dbsyntax;
        if (!class_exists($class_name)) {
            return($this->raiseError(MDB_ERROR_LOADMODULE, NULL, NULL,
                'Unable to load extension'));
        }
        @$this->manager = new $class_name;
        return(MDB_OK);
    }
function loadManager ( $ scope = '' ) { if ( isset ( $ this -> manager ) && is_object ( $ this -> manager ) ) { return ( MDB_OK ) ; } $ result = $ this -> _loadModule ( $ scope , 'Manager' , 'MDB_MANAGER_' . strtoupper ( $ this -> phptype ) . '_INCLUDED' , 'Manager/' . $ this -> phptype . '.php' ) ; if ( MDB :: isError ( $ result ) ) { return ( $ result ) ; } $ class_name = 'MDB_Manager_' . $ this -> dbsyntax ; if ( ! class_exists ( $ class_name ) ) { return ( $ this -> raiseError ( MDB_ERROR_LOADMODULE , NULL , NULL , 'Unable to load extension' ) ) ; } @ $ this -> manager = new $ class_name ; return ( MDB_OK ) ; }
loads the Manager module
 @param string $scope information about what method is being loaded,
                       that is used for error messages
 @access public
loads the Manager module @param string $scope information about what method is being loaded that is used for error messages @access public