AdminPageFramework_Zip::_addRelativeDir PHP Method

_addRelativeDir() private method

private _addRelativeDir ( $oZip, $sRelativeDirPath, $oCallable )
    private function _addRelativeDir($oZip, $sRelativeDirPath, $oCallable)
    {
        $sRelativeDirPath = str_replace('\\', '/', $sRelativeDirPath);
        $_aPathPartsParse = array_filter(explode('/', $sRelativeDirPath));
        $_aDirPath = array();
        foreach ($_aPathPartsParse as $_sDirName) {
            $_aDirPath[] = $_sDirName;
            $this->_addEmptyDir($oZip, implode('/', $_aDirPath), $oCallable);
        }
    }