PHPLights/Documentation/liblights/LsStorage

From Linuxnetworks
< PHPLights‎ | Documentation‎ | liblights
Revision as of 11:08, 23 September 2007 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

abstract class LsStorage
{
  const Alpha = '/^[a-z]*$/i';
  const AlphaUTF8 = '/^[\pL]*$/iu';
  const ANum = '/^[a-z\d]*$/i';
  const ANumUTF8 = '/^[\pL\d]*$/iu';
  const Any = '/^.*$/';
  const Decimal = '/^[+-]?(\d+|\d+\.\d+)$/';
  const EMailAddr = '/^(.+)@(([a-z\d]+)([\-]?)([a-z\d]+)\.)+([a-z]{2,})$/i';
  const Float = '/^[+-]?(\d+|\d*\.\d+|\d+\.\d*)([eE][+-]?\d+)?$/';
  const Int = '/^[+-]?\d+$/';
  const Path = '/^[\pL\d\.\/\-_~ ]*$/iu';

  protected function delEntry( &$path, &$val )
  protected function getEntry( &$path, &$val, &$default )
  protected function hasEntry( &$path, &$val )
  protected function setEntry( &$path, &$val, &$value )

}

Description

Protected functions

delEntry()

protected function delEntry( &$path, &$val )

getEntry()

protected function getEntry( &$path, &$val, &$default )

hasEntry()

protected function hasEntry( &$path, &$val )

setEntry()

protected function setEntry( &$path, &$val, &$value )



Back to Overview