PHP Class FileElement, phpMobi

See also: xp://io.collections.FileCollection
Inheritance: extends Object, implements IOElement
Datei anzeigen Open project: raiju/phpMobi Class Usage Examples

Public Properties

Property Type Description
$elements FileObject

Public Methods

Method Description
__construct ( $elements = [] ) Make a record to be stored in a file
__toString ( )
add ( $key, $value )
exists ( $key )
get ( string $key ) : FileObject
getByteLength ( )
getLength ( )
offsetToEntry ( $name )
serialize ( )
set ( string $key, FileObject $value )
unserialize ( $data )

Method Details

__construct() public method

Make a record to be stored in a file
public __construct ( $elements = [] )

__toString() public method

public __toString ( )

add() public method

public add ( $key, $value )

exists() public method

public exists ( $key )

get() public method

public get ( string $key ) : FileObject
$key string
return FileObject

getByteLength() public method

public getByteLength ( )

getLength() public method

public getLength ( )

offsetToEntry() public method

public offsetToEntry ( $name )

serialize() public method

public serialize ( )

set() public method

public set ( string $key, FileObject $value )
$key string
$value FileObject

unserialize() public method

public unserialize ( $data )

Property Details

$elements public_oe property

public FileObject $elements
return FileObject