[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/file/ -> fileproperties.class.php (sommaire)

(pas de description)

Poids: 140 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

FileProperties:: (6 méthodes):
  FileProperties()
  _load()
  _removeBlanks()
  _isComment()
  _isNumber()
  _process()


Classe: FileProperties  - X-Ref

\ingroup File

Extends the class Properties so that it can read the values
from a file, which has the format 'name = value'. This class is not used
anywhere anymore but has been left for compatibility reasons.
FileProperties( $fileName )   X-Ref
Constructor of the class

param: fileName Name of the file where data will be loaded from.

_load()   X-Ref
Loads the contents from the file, parses them and puts them
into values


_removeBlanks( $string, $where = 1 )   X-Ref


_isComment( $line )   X-Ref
Returns true if the specified line is a comment or not


_isNumber( $string )   X-Ref


_process()   X-Ref
Parses the lines of the file.
The following characters are considered to be comments, and can only
appear in the beginning of the line:
//, #

The rest of the lines must either be empty or have the format
key = value




Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics