YANA 4 PHP FrameworkDocs For Class SecureFileStream

### Class SecureFileStream

#### Description

SecureFileStream

- access: public

Located in /includes/class_securefilestream.php

    SerializeableObject
       |
       --InputStream
          |
          --SecureInputStream
             |
             --SecureFileStream

#### Direct descendents

Class | Description
--- | ---
ConfigFile | ConfigFile
DatFile | This class is an alternative to csv files.

#### Method Summary

boolean create ()
boolean delete ()
boolean failSafeWrite ()
void insert (scalar $text)
boolean is_writeable ()
integer length ()
boolean remove ([string $key = ""])
boolean write ()

#### Methods

##### create

boolean create ()

create

- access: public

##### delete

boolean delete ()

delete

- access: public

##### failSafeWrite

boolean failSafeWrite ()

failSafeWrite

- access: public

##### insert

void insert (scalar $text)

insert

- access: public

Name | Type | Description
--- | --- | ---
$text | scalar |

Redefined in descendants as:

- ConfigFile::insert() : insert an array into the file
- SmlFile::insert() : insert
- DatFile::insert() : insert (append) an entry to the file

##### is_writeable

boolean is_writeable ()

is_writeable

- access: public

##### length

integer length ()

length

- access: public

Redefined in descendants as:

- ConfigFile::length() : get the number of elements
- SmlFile::length() : length
- DatFile::length() : return the number of rows in the file

##### remove

boolean remove ([string $key = ""])

is_writeable

- access: public

Name | Type | Description
--- | --- | ---
$key | string | (optional)

Redefined in descendants as:

- ConfigFile::remove() : remove an entry from the file
- SmlFile::remove() : remove
- DatFile::remove() : remove an entry from the file

##### write

boolean write ()

write

- access: public

#### Inherited Methods

Inherited From SecureInputStream

> SecureInputStream::checksum()
> SecureInputStream::failSafeRead()
> SecureInputStream::get()
> SecureInputStream::isEmpty()
> SecureInputStream::read()
> SecureInputStream::reset()
> SecureInputStream::toString()

Inherited From InputStream

> InputStream::InputStream()
> InputStream::exists()
> InputStream::get()
> InputStream::getFilename()
> InputStream::isEmpty()
> InputStream::read()
> InputStream::resetStats()
> InputStream::toString()

Inherited From SerializeableObject

> SerializeableObject::serialize()
> SerializeableObject::toString()

Documentation generated on Sat, 16 Sep 2006 17:06:03 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas Meyerwww.all-community.de/pub