util 
[ doc home ] [ class tree: util ] [ index: util ] [ all elements ]

Class: IsterFileLocator

Source Location: /IsterFileLocator.php

Class Overview

IsterObject
   |
   --IsterFileLocator

Locate a file inside of a *nix style path.


Author(s): Ingo Schramm   

Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: IsterObject

IsterObject::IsterObject()
Constructor
IsterObject::abstractMethodError()
Report attempt to call an abstract method.
IsterObject::addLogger()
Add an IsterLogger to process log messages.
IsterObject::deleteLogger()
Delete an already registered IsterLogger.
IsterObject::getLoggerNames()
Fetch the names of all currently registered IsterLoggers.
IsterObject::getMem()
Return maximum amount of memory an application has allocated at this point.
IsterObject::log()
Trigger a log message.
IsterObject::passPHPmessage()
Catch PHP E_WARNING and E_NOTICE messages.
IsterObject::serialize()
Serialize the object.
IsterObject::setLogLocal()
Set logging local for the current object.
IsterObject::setupLogger()
Setup a logger.
IsterObject::triggerError()
Alias for log();
IsterObject::unserialize()
Unserialize the object.
IsterObject::__sleep()
Executed prior to serialize().
IsterObject::__wakeup()
Executed prior to unserialize().

Class Details

Locate a file inside of a *nix style path.

copyright:  Copyright (c) 2005 Ister.ORG Ingo Schramm
author:  Ingo Schramm


[ Top ]


Class Methods


constructor IsterFileLocator

IsterFileLocator IsterFileLocator( string $filename, [string $includepath = "."])

Constructor

Parameters:

string   $filename   Name of file.
string   $includepath   List of directories, separated by ':' (like *nix paths)).

[ Top ]

method getRealPath

string getRealPath( )

Find the first existing file matching $filename in $includepath.

return:  Real path of filename, false on error.
[ Top ]

method getRealPathIgnoreCase

void getRealPathIgnoreCase( )

Get real path of a file, but ignore case.

This is useful if you need the file location for a class name received by get_class() (which will be all lowercase for strange reasons).


[ Top ]


Documentation generated on Tue, 20 Dec 2005 11:20:43 +0100 by phpDocumentor 1.3.0RC4