CV. Fonctions Standard PHP Library (SPL)

Introduction

SPL est une collection d'interfaces et de classes qui résolvent des problèmes standards.

Installation

A remplir.

Constantes prédefinies

Ces constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l'exécution.

RIT_LEAVES_ONLY (integer)

RIT_SELF_FIRST (integer)

RIT_CHILD_FIRST (integer)

CIT_CALL_TOSTRING (integer)

CIT_CATCH_GET_CHILD (integer)

Table des matières
ArrayIterator::current --  Retourne l'entrée courante du tableau
ArrayIterator::key --  Retourne la clef courante du tableau
ArrayIterator::next --  Se déplace vers la prochaine entrée
ArrayIterator::rewind --  Revient à la position initiale
ArrayIterator::seek --  Avance à une position
ArrayIterator::valid --  Vérifie si un tableau contient d'autres entrées
ArrayObject::append --  Ajoute la valeur à la fin
ArrayObject::__construct -- 
ArrayObject::count --  Retourne le nombre d'éléments dans l'itérateur
ArrayObject::getiterator --  Créé un nouvel itérateur à partir d'une instance ArrayObject
ArrayObject::offsetExists --  Returns whether the requested $index exists
ArrayObject::offsetGet --  Returns the value at the specified $index
ArrayObject::offsetSet --  Sets the value at the specified $index to $newval
ArrayObject::offsetUnset --  Unsets the value at the specified $index
CachingIterator::hasNext --  Cehck whether the inner iterator has a valid next element
CachingIterator::next --  Move the iterator forward
CachingIterator::rewind --  Rewind the iterator
CachingIterator::__toString --  Retrun the string representation of the current element
CachingIterator::valid --  Check whether the current element is valid
CachingRecursiveIterator::getChildren --  Return the inenr iteraor's children as a CachingRecursiveIterator
CachingRecursiveIterator::hasChildren --  Check whether the current element of the inner iterator has children
DirectoryIterator::__construct --  Construit un nouvel itérateur de dossier à partir d'un chemin
DirectoryIterator::current --  Retourne this (requis pour l'interface Iterator)
DirectoryIterator::fileATime --  Retourne la date du dernier accès au fichier
DirectoryIterator::fileCTime --  Retourne la date de modification d'inode du fichier
DirectoryIterator::fileGroup --  Retourne le groupe du fichier
DirectoryIterator::fileInode --  Retourne l'inode du fichier
DirectoryIterator::fileMTime --  Retourne la date de dernière modification du fichier
DirectoryIterator::fileOwner --  Retourne le propriétaire du fichier
DirectoryIterator::filePerms --  Retourne les permissions du fichier
DirectoryIterator::fileSize --  Retourne la taille du fichier
DirectoryIterator::fileType --  Retourne le type du fichier
DirectoryIterator::getChildren --  Returns an iterator for the current entry if it is a directory
DirectoryIterator::getFilename --  Retourne le nom de l'entrée courante du dossier
DirectoryIterator::getPath --  Retourne le chemin du dossier
DirectoryIterator::getPathname --  Retourne le chemin et le nom de l'entrée courante du dossier
DirectoryIterator::isDir --  Retourne TRUE si le fichier est un dossier
DirectoryIterator::isDot --  Retourne TRUE si l'entrée courante est '.' ou '..'
DirectoryIterator::isExecutable --  Retourne TRUE si le fichier est exécutable
DirectoryIterator::isFile --  Retourne TRUE si l'entrée est un vrai fichier
DirectoryIterator::isLink --  Retourne TRUE si le fichier est un lien symbolique
DirectoryIterator::isReadable --  Retourne TRUE si le fichier peut être lu
DirectoryIterator::isWritable --  Retourne TRUE si le fichier peut être modifié
DirectoryIterator::key --  Retourne l'entrée courante du dossier
DirectoryIterator::next --  Se déplace vers la prochaine entrée
DirectoryIterator::rewind --  Revient au début du dossier
DirectoryIterator::valid --  Check whether dir contains more entries
FilterIterator::current --  Get the current element value
FilterIterator::getInnerIterator --  Get the inner iterator
FilterIterator::key --  Get the current key
FilterIterator::next --  Move the iterator forward
FilterIterator::rewind --  Rewind the iterator
FilterIterator::valid --  Check whether the current element is valid
LimitIterator::getPosition --  Return the current position
LimitIterator::next --  Move the iterator forward
LimitIterator::rewind --  Rewind the iterator to the specified starting offset
LimitIterator::seek --  Seek to the given position
LimitIterator::valid --  Check whether the current element is valid
ParentIterator::getChildren --  Return the inner iterator's children contained in a ParentIterator
ParentIterator::hasChildren --  Check whether the inner iterator's current element has children
ParentIterator::next --  Move the iterator forward
ParentIterator::rewind --  Rewind the iterator
RecursiveDirectoryIterator::getChildren --  Retourne un itérateur pour l'entrée courante si c'est un dossier
RecursiveDirectoryIterator::hasChildren --  Vérifie si l'entrée courante est un dossier et n'est pas '.' ou '..'
RecursiveDirectoryIterator::key --  Retourne le chemin et le nom de l'entrée courante du dossier
RecursiveDirectoryIterator::next --  Se déplace vers la prochaine entrée
RecursiveDirectoryIterator::rewind --  Revient à la position initiale dans le dossier
RecursiveIteratorIterator::current --  Access the current element value
RecursiveIteratorIterator::getDepth --  Get the current depth of the recursive iteration
RecursiveIteratorIterator::getSubIterator --  The current active sub iterator
RecursiveIteratorIterator::key --  Access the current key
RecursiveIteratorIterator::next --  Move forward to the next element
RecursiveIteratorIterator::rewind --  Rewind the iterator to the first element of the top level inner iterator.
RecursiveIteratorIterator::valid --  Check whether the current position is valid
SimpleXMLIterator::current --  Retourne l'entrée courante de SimpleXML
SimpleXMLIterator::getChildren --  Retourne un itérateur pour l'entrée courante, si c'est un objet SimpleXML
SimpleXMLIterator::hasChildren --  Indique si l'entrée courante de SimpleXML est un objet
SimpleXMLIterator::key --  Retourne la clé courante SimpleXML
SimpleXMLIterator::next --  Va à l'entrée SimpleXML suivante
SimpleXMLIterator::rewind --  Replace le pointeur SimpleXML au début
SimpleXMLIterator::valid --  Vérifie si une ressource SimpleXML contient d'autres entrées