Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cApiPathresolveCacheHelper
  • cArray
  • cArticleCollector
  • cDirHandler
  • cFileHandler
  • cHTMLInputSelectElement
  • cIterator
  • cString
  • cZipArchive
  • UI_Config_Table
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cZipArchive

This class contains the functionalities to handle zip archives.

Package: Core\Util
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: claus.schunk@4fb.de
Located at classes/class.cziparchive.php
Methods summary
public static array
# readExistingFiles( string $dirPath )

Read all files from given path excluding files which names start with a dot or are not valid according to CONTENIDO standards (validateFilename()).

Read all files from given path excluding files which names start with a dot or are not valid according to CONTENIDO standards (validateFilename()).

Parameters

$dirPath

Returns

array
of files

See

cFileHandler::validateFilename()
public static boolean
# isExtracted( string $dirPath )

This function checks if the given path already exists.

This function checks if the given path already exists.

Parameters

$dirPath

Returns

boolean
public static
# extractOverRide( string $file, string $extractPath, string $extractPathUserInput = NULL )

This function contains the functionality to extract archive and overwrite existing files.

This function contains the functionality to extract archive and overwrite existing files.

Parameters

$file
zip file
$extractPath
extraction path
$extractPathUserInput
user specified extraction path
public static
# extract( string $file, string $extractPath, string $extractPathUserInput = NULL )

This function contains the functionality to extract archive.

This function contains the functionality to extract archive.

Parameters

$file
zip file
$extractPath
extraction path
$extractPathUserInput
user specified extraction path
public static
# createZip( string $zipFilePath, string $dirPath, array $filePathes )

This function contains the functionality to create archives.

This function contains the functionality to create archives.

Parameters

$zipFilePath
file path
$dirPath
directory path
$filePathes
files to store in archive
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen