Difference between revisions of "PHPLights/Documentation/liblights/LsStorage"

From Linuxnetworks
Jump to: navigation, search
(initial)
 
(full skeleton)
 
Line 3: Line 3:
 
  abstract class LsStorage
 
  abstract class LsStorage
 
  {
 
  {
   const Alpha = '/^[a-z]*$/i';
+
   const Alpha = '<regex>';
   const AlphaUTF8 = '/^[\pL]*$/iu';
+
   const AlphaUTF8 = '<regex>';
   const ANum = '/^[a-z\d]*$/i';
+
   const ANum = '<regex>';
   const ANumUTF8 = '/^[\pL\d]*$/iu';
+
   const ANumUTF8 = '<regex>';
   const Any = '/^.*$/';
+
   const Any = '<regex>';
   const Decimal = '/^[+-]?(\d+|\d+\.\d+)$/';
+
   const Decimal = '<regex>';
   const EMailAddr = '/^(.+)@(([a-z\d]+)([\-]?)([a-z\d]+)\.)+([a-z]{2,})$/i';
+
   const EMailAddr = '<regex>';
   const Float = '/^[+-]?(\d+|\d*\.\d+|\d+\.\d*)([eE][+-]?\d+)?$/';
+
   const Float = '<regex>';
   const Int = '/^[+-]?\d+$/';
+
   const Int = '<regex>';
   const Path = '/^[\pL\d\.\/\-_~ ]*$/iu';
+
   const Path = '<regex>';
 +
  const Url = '<regex>';
 
   
 
   
 
   protected function delEntry( &$path, &$val )
 
   protected function delEntry( &$path, &$val )

Latest revision as of 16:04, 7 October 2007

Synopsis

abstract class LsStorage
{
  const Alpha = '<regex>';
  const AlphaUTF8 = '<regex>';
  const ANum = '<regex>';
  const ANumUTF8 = '<regex>';
  const Any = '<regex>';
  const Decimal = '<regex>';
  const EMailAddr = '<regex>';
  const Float = '<regex>';
  const Int = '<regex>';
  const Path = '<regex>';
  const Url = '<regex>';

  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