sTEFANs Subversion Web Contol (SWC)
Inc
[ class tree: Swc ] [ index: Swc ] [ all elements ]

Procedural File: swc_archive_content.inc.php

Source Location: /swc/inc/swc_archive_content.inc.php

Page Details

Provides user interface for creating, downloading and deleting archives.

Provides user interface for creating, downloading and deleting archives.

Since:  v1.1.0
Filesource:  Source Code for this file
Version:  v1.1.0
License:  GNU Lesser General Public License
Copyright:  Copyright ©2006 by sTEFANs
Author:  Stefan Schraml
Includes
require_once ('page.inc.php') [line 41]

HTML generation library

HTML generation library

[ Top ]

require_once ('var.inc.php') [line 37]

Common definitions

Common definitions

[ Top ]

require_once ('utils.inc.php') [line 43]

Useful routines library

Useful routines library

[ Top ]

require_once ('zip.inc.php') [line 39]

ZIP archive creation library

ZIP archive creation library

[ Top ]


Constants
SECTION_REV_MAP  [line 48]

SECTION_REV_MAP = 'Revision map'

Section name for revision map section in hint file.

Section name for revision map section in hint file.


[ Top ]

SPACEBALL_HINT_FILE  [line 46]

SPACEBALL_HINT_FILE = '.spaceball.hints'

Common filename for spaceball hint file.

Common filename for spaceball hint file.


[ Top ]


Functions
CreateSpaceball  [line 191]

string CreateSpaceball( SwcConfig $config, string $file_name, boolean $overwrite  )

Creates a file archive of the current webspace called "Spaceball".

Creates a file archive of the current webspace called "Spaceball".

Parameters:
SwcConfig   $config:  Configuration for the concrete project.
string   $file_name:  Name of the Spaceball file. It is stored within archive path as set in SwcConfig.
boolean   $overwrite:  Whether or not an existing Spaceball should be overwritten.

API Tags:
Return:  Textual result of the operation.

Information Tags:
Since:  v1.1.0

[ Top ]
GetFiles  [line 279]

void GetFiles( string $path, &$files, [ $ignore_hidden = false], [string $rel_path = ''], array $files  )

Returns the files recursively including subdirectory starting with the given path.

Returns the files recursively including subdirectory starting with the given path. Hidden files and directories can be ignored, .svn directories are always ignored. If an error occurs, it is returned as only array entry.

Parameters:
string   $path:  Absolute path of the dirctory to start with.
array   $files:  Array in which the file structure or translated error message in index IDX_EXEC_RES is returned.
string   $rel_path:  Relative path for files, empty per default.
   &$files: 
   $ignore_hidden: 

Information Tags:
Since:  v1.1.0

[ Top ]
SwcArchivePrintCreationFormCell  [line 78]

void SwcArchivePrintCreationFormCell( SwcConfig $config  )

Prints a cell containing the form to create an archive.

Prints a cell containing the form to create an archive.

Parameters:
SwcConfig   $config:  Configuration for the concrete project.

Information Tags:
Since:  v1.1.0

[ Top ]
SwcArchivePrintFileListCell  [line 131]

void SwcArchivePrintFileListCell( SwcConfig $config  )

Prints a cell containing the list of existing archives including file selection.

Prints a cell containing the list of existing archives including file selection.

Parameters:
SwcConfig   $config:  Configuration for the concrete project.

Information Tags:
Since:  v1.1.0

[ Top ]
SwcArchivePrintPage  [line 56]

void SwcArchivePrintPage( )

Prints the complete content of the archive page including archive creation form and archive list.

Prints the complete content of the archive page including archive creation form and archive list.


Information Tags:
Since:  v1.1.0

[ Top ]


Documentation generated on Fri, 03 Nov 2006 18:45:02 +0100 by phpDocumentor 1.3.0RC6
for sTEFANs POWERED BY eBC.bz