Difference between revisions of "PHPLights/Documentation/liblights/LsStorageSecurityAspect"
From Linuxnetworks
< PHPLights | Documentation | liblights
(initial) |
(update) |
||
| Line 1: | Line 1: | ||
== Synopsis == | == Synopsis == | ||
| − | class | + | class LsStorageSecurityAspect |
| − | + | implements [[PHPLights/Documentation/Interfaces/LsStorageIface|LsStorageIface]] | |
| − | implements [[PHPLights/Documentation/Interfaces/ | + | |
{ | { | ||
| + | public function __construct( [[PHPLights/Documentation/Interfaces/LsStorageIface|LsStorageIface]] $storage ) | ||
| + | public function del( $path ) | ||
public function get( $path, $default = NULL, $regex = NULL ) | public function get( $path, $default = NULL, $regex = NULL ) | ||
| + | public function has( $path ) | ||
| + | public function set( $path, $value ) | ||
| + | public function setByRef( $path, &$value ) | ||
protected function check( array &$values, $regex ) | protected function check( array &$values, $regex ) | ||
| Line 14: | Line 18: | ||
== Public functions == | == Public functions == | ||
| + | |||
| + | === __construct() === | ||
| + | |||
| + | public function __construct( [[PHPLights/Documentation/Interfaces/LsStorageIface|LsStorageIface]] $storage ) | ||
| + | |||
| + | === del() === | ||
| + | |||
| + | public function del( $path ) | ||
=== get() === | === get() === | ||
public function get( $path, $default = NULL, $regex = NULL ) | public function get( $path, $default = NULL, $regex = NULL ) | ||
| + | |||
| + | === has() === | ||
| + | |||
| + | public function has( $path ) | ||
| + | |||
| + | === set() === | ||
| + | |||
| + | public function set( $path, $value ) | ||
| + | |||
| + | === setByRef() === | ||
| + | |||
| + | public function setByRef( $path, &$value ) | ||
== Protected functions == | == Protected functions == | ||
Revision as of 16:28, 6 October 2007
Contents
Synopsis
class LsStorageSecurityAspect implements LsStorageIface { public function __construct( LsStorageIface $storage ) public function del( $path ) public function get( $path, $default = NULL, $regex = NULL ) public function has( $path ) public function set( $path, $value ) public function setByRef( $path, &$value ) protected function check( array &$values, $regex ) protected function test( &$value, $result ) }
Description
Public functions
__construct()
public function __construct( LsStorageIface $storage )
del()
public function del( $path )
get()
public function get( $path, $default = NULL, $regex = NULL )
has()
public function has( $path )
set()
public function set( $path, $value )
setByRef()
public function setByRef( $path, &$value )
Protected functions
check()
protected function check( array &$values, $regex )
test()
protected function test( &$value, $result )
Back to Overview