>> YANA 4 PHP Framework >> Docs For Class InputStream

Class InputStream

Description

«abstract» InputStream

This is an abstract super-class for all filesystem wrappers.

  • access: public
  • abstract:

Located in /includes/class_inputstream.php

Object
   |
   --InputStream
Method Summary

Direct descendents

Class Description
DirStream Manipulate a directory
Executeable handle php files
SecureInputStream checked reading of file sources

Methods

constructor
InputStream InputStream (
string $filename
)
List of parameters:
Name Type Description
$filename string
Description:

Create a new instance of this class.

compare with another object
string equals (
object $another_object
)
List of parameters:
Name Type Description
$another_object object
Description:

Returns bool(true) if this object and $another_object are equal and bool(false) otherwise.

Two instances are considered equal if and only if they are both objects of the same class and they both refer to the same filesystem resource.

  • access: public

Redefinition of: Object::equals()

return true, if the input stream resource exists
boolean exists ()
Description:
  • access: public

Redefined in descendants as:
return stream contents
string get ()
Description:
  • access: public

Redefined in descendants as:
get filename
string getFilename ()
Description:
  • access: public
get time when file was last modified
int getLastModified ()
Description:

Returns the file MTIME value (from cached value). The result is an UNIX timestamp (UTC), or bool(false) if an error occurs.

  • since: 2.8.5
  • access: public
inherited from base classes

Inherited From Object

Documentation generated on Wed, 22 Nov 2006 20:19:08 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.all-community.de/pub