File/contenido/classes/mp/class.confighandler.php

Description

Configuration storage handler classes.

Includes following classes user for configuration handling:

  • interface IConfigBase Interface definition
  • class ConfigBaseAbstract Abstract base configuration class, other childs must extend this
  • class ConfigFileStorage Handles configuration data in files
  • class ConfigDBStorage Handles configuration data in a table. NOTE: the table must be created before
  • class ConfigFactory Factory class should used to get a instance of a configuration class

Classes
Class Description
 class IConfigBase Interface definition for misc configuration handler.
Abstract class ConfigBaseAbstract Abstract base config class. Extended classes must overwrite existing Methods.
 class ConfigFileStorage ConfigFileStorage to store serialized configuration in files.
 class ConfigDBStorage Class ConfigDBStorage to store serialized configuration in a table.
 class ConfigFactory Factory class to get an instance of one of configuration classes
Constants
FILE_APPEND = 1 (line 368)

File append option for file_put_contents()

Constants

Functions
file_put_contents (line 378)

This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file.

Constants

  • return: Number of written bytes or false on error
mixed file_put_contents (string $filename, mixed $data, [int $flag = false])
  • string $filename: Path to the file where to write the data
  • mixed $data: The data to write. Can be either a string or a array
  • int $flag: Flag, supported is only FILE_APPEND (=1)

Documentation generated on Sun, 08 Feb 2009 22:00:22 +0100 by phpDocumentor 1.4.1