/administrator/components/com_joomlaupdate/restore.php

Description

Akeeba Restore A JSON-powered JPA, JPS and ZIP archive extraction library

  • copyright: 2010-2012 Nicholas K. Dionysopoulos / AkeebaBackup.com
  • license: GNU
Classes
Class Description
Akeeba_Services_JSON Converts to and from JSON format.
Akeeba_Services_JSON_Error
AKAbstractObject The base class of Akeeba Engine objects. Allows for error and warnings logging and propagation. Largely based on the Joomla! 1.5 JObject class.
AKAbstractPostproc File post processor engines base class
AKAbstractUnarchiver The base class of unarchiver classes
AKAbstractPart The superclass of all Akeeba Kickstart parts. The "parts" are intelligent stateful
AKAbstractPartObserver Descendants of this class can be used in the unarchiver's observer methods (attach, detach and notify)
AKPostprocDirect Direct file writer
AKPostprocFTP FTP file writer
AKUnarchiverJPA JPA archive extraction class
AKUnarchiverZIP ZIP archive extraction class
AKCoreTimer Timer class
AKUnarchiverJPS JPS archive extraction class
AKUtilsLister A filesystem scanner which uses opendir()
AKText A simple INI-based i18n engine
AKFactory The Akeeba Kickstart Factory class
AKEncryptionAES AES implementation in PHP (c) Chris Veness 2005-2011.
RestorationObserver Descendants of this class can be used in the unarchiver's observer methods (attach, detach and notify)
Constants
AK_STATE_DATA = 2 (line 18)
AK_STATE_DATAREAD = 3 (line 19)
AK_STATE_DONE = 5 (line 21)
AK_STATE_HEADER = 1 (line 17)
AK_STATE_NOFILE = 0 (line 16)
AK_STATE_POSTPROC = 4 (line 20)
DS = DIRECTORY_SEPARATOR (line 13)
JSON_FORCE_OBJECT = 1 (line 147)

Converts to and from JSON format.

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. This feature can also be found in Python. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, TCL, and many others. These properties make JSON an ideal data-interchange language.

This package provides a simple encoder and decoder for JSON notation. It is intended for use with client-side Javascript applications that make use of HTTPRequest to perform server communication functions - data can be encoded into JSON notation for use in a client-side javascript, or decoded from incoming Javascript requests. JSON format is native to Javascript, and can be directly eval()'ed with no further parsing overhead

All strings should be in ASCII or UTF-8 format!

LICENSE: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

SERVICES_JSON_IN_ARR = 3 (line 165)

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_CMT = 5 (line 175)

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_OBJ = 4 (line 170)

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_STR = 2 (line 160)

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_LOOSE_TYPE = 16 (line 180)

Behavior switch for Services_JSON::decode()

SERVICES_JSON_SLICE = 1 (line 155)

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_SUPPRESS_ERRORS = 32 (line 185)

Behavior switch for Services_JSON::decode()

_AKEEBA_IS_WINDOWS = stristr(php_uname(),'windows') (line 27)
_AKEEBA_RESTORATION = 1 (line 12)

Akeeba Restore A JSON-powered JPA, JPS and ZIP archive extraction library

  • copyright: 2010-2012 Nicholas K. Dionysopoulos / AkeebaBackup.com
  • license: GNU
Functions
akstringlen (line 51)
void akstringlen ( $string)
  • $string
fnmatch (line 41)
void fnmatch ( $pattern,  $string)
  • $pattern
  • $string
getQueryParam (line 61)

Gets a query parameter from GET or POST data

void getQueryParam ($key $key, [$default $default = null])
  • $key $key
  • $default $default
json_decode (line 894)
void json_decode ( $value, [ $assoc = false])
  • $value
  • $assoc
json_encode (line 884)
void json_encode ( $value, [ $options = 0])
  • $value
  • $options
masterSetup (line 5390)

The Master Setup will read the configuration parameters from restoration.php, abiautomation.ini, or the JSON-encoded "configuration" input variable and return the status.

  • return: True if the master configuration was applied to the Factory object
bool masterSetup ()
recursive_remove_directory (line 5687)
void recursive_remove_directory ( $directory)
  • $directory

Documentation generated on Mon, 25 Jun 2012 13:59:12 -0500 by phpDocumentor 1.4.4