update docs
Esse commit está contido em:
+1088
-480
Diferenças do arquivo suprimidas por serem muito extensas
Carregar Diff
+1
-1
@@ -1166,7 +1166,7 @@ function phpnet_get_function_info($name, $clsname = 'function') {
|
||||
if (preg_match('#<div class="refsect1 parameters"[^>]*>(.*?)'.
|
||||
'<div class="refsect1 #s', $doc, $m)) {
|
||||
$desc = $m[1];
|
||||
if (preg_match_all('#<tt class="parameter">(.*?)</tt>#s', $desc, $m)) {
|
||||
if (preg_match_all('#<code class="parameter">(.*?)</code>#s', $desc, $m)) {
|
||||
foreach ($m[1] as $param) {
|
||||
$ret['param_names'][] = phpnet_clean($param);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,8 @@ for ($i = 0; $i < count($lines) - 1; $i++) {
|
||||
$line = $lines[++$i];
|
||||
}
|
||||
|
||||
if (preg_match('/^\s*(?:class|interface)\s+(\w+)/', $line, $m)) {
|
||||
if (preg_match('/^\s*(?:abstract\s+)?(?:class|interface)\s+(\w+)/',
|
||||
$line, $m)) {
|
||||
$class = $m[1];
|
||||
$info['name'] = $class;
|
||||
$doc = phpnet_get_class_desc($class);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.arrayaccess.php )
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
interface ArrayAccess {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayaccess.offsetexists.php )
|
||||
*
|
||||
@@ -28,7 +28,7 @@ interface ArrayAccess {
|
||||
* non-boolean was returned.
|
||||
*/
|
||||
public function offsetExists($index);
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayaccess.offsetget.php )
|
||||
*
|
||||
@@ -41,7 +41,7 @@ interface ArrayAccess {
|
||||
* @return mixed Can return all value types.
|
||||
*/
|
||||
public function offsetGet($index);
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayaccess.offsetset.php )
|
||||
*
|
||||
@@ -53,7 +53,7 @@ interface ArrayAccess {
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function offsetSet($index, $newvalue);
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayaccess.offsetunset.php )
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.arrayobject.php )
|
||||
*
|
||||
@@ -17,7 +17,7 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
private $flags;
|
||||
private $iteratorClass;
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.construct.php )
|
||||
*
|
||||
@@ -32,19 +32,22 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
*
|
||||
* @return mixed Returns an ArrayObject object on success.
|
||||
*/
|
||||
public function __construct($input = array(),
|
||||
public function __construct($input = null,
|
||||
int $flags = 0,
|
||||
string $iterator_class = "ArrayIterator") {
|
||||
if (!$input) {
|
||||
$input = array();
|
||||
}
|
||||
$this->storage = $input;
|
||||
$this->flags = $flags;
|
||||
$this->iteratorClass = $iterator_class;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.append.php )
|
||||
*
|
||||
* Appends a new value as the last element. Note:
|
||||
* Appends a new value as the last element.
|
||||
*
|
||||
* This method cannot be called when the ArrayObject was constructed from
|
||||
* an object. Use ArrayObject::offsetSet() instead.
|
||||
@@ -63,9 +66,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
$this->storage[] = $value;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.asort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.asort.php )
|
||||
*
|
||||
* Sorts the entries such that the keys maintain their correlation with
|
||||
* the entries they are associated with. This is used mainly when sorting
|
||||
@@ -77,14 +80,13 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return asort($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.count.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.count.php )
|
||||
*
|
||||
* Get the number of public properties in the ArrayObject.
|
||||
*
|
||||
* @return mixed The number of public properties in the ArrayObject.
|
||||
* Note:
|
||||
*
|
||||
* When the ArrayObject is constructed from an array
|
||||
* all properties are public.
|
||||
@@ -93,9 +95,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return count($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.exchangearray.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.exchangearray.php )
|
||||
*
|
||||
* Exchange the current array with another array or object.
|
||||
*
|
||||
@@ -110,9 +112,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return $old;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.getarraycopy.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.getarraycopy.php )
|
||||
*
|
||||
* Exports the ArrayObject to an array.
|
||||
*
|
||||
@@ -124,9 +126,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return (array) $this->storage;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.getflags.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.getflags.php )
|
||||
*
|
||||
* Gets the behavior flags of the ArrayObject. See the
|
||||
* ArrayObject::setFlags method for a list of the available flags.
|
||||
@@ -137,9 +139,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return $this->flags;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.getiterator.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.getiterator.php )
|
||||
*
|
||||
* Create a new iterator from an ArrayObject instance.
|
||||
*
|
||||
@@ -150,9 +152,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return new $class($this->storage, $this->flags);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.getiteratorclass.php
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.getiteratorclass.php
|
||||
* )
|
||||
*
|
||||
* Gets the class name of the array iterator that is used by
|
||||
@@ -165,9 +167,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return $this->iteratorClass;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.ksort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.ksort.php )
|
||||
*
|
||||
* Sorts the entries by key, maintaining key to entry correlations. This
|
||||
* is useful mainly for associative arrays.
|
||||
@@ -178,9 +180,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return ksort($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.natcasesort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.natcasesort.php )
|
||||
*
|
||||
* This method is a case insensitive version of ArrayObject::natsort.
|
||||
*
|
||||
@@ -194,15 +196,15 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return natcasesort($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.natsort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.natsort.php )
|
||||
*
|
||||
* This method implements a sort algorithm that orders alphanumeric
|
||||
* strings in the way a human being would while maintaining key/value
|
||||
* associations. This is described as a "natural ordering". An example of
|
||||
* the difference between this algorithm and the regular computer string
|
||||
* sorting algorithms(used in ArrayObject::asort) method can be seen in
|
||||
* sorting algorithms (used in ArrayObject::asort) method can be seen in
|
||||
* the example below.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
@@ -211,9 +213,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
return natsort($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.offsetexists.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.offsetexists.php )
|
||||
*
|
||||
*
|
||||
* @index mixed The index being checked.
|
||||
@@ -228,9 +230,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.offsetget.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.offsetget.php )
|
||||
*
|
||||
*
|
||||
* @index mixed The index with the value.
|
||||
@@ -246,9 +248,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.offsetset.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.offsetset.php )
|
||||
*
|
||||
* Sets the value at the specified index to newval.
|
||||
*
|
||||
@@ -266,9 +268,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.offsetunset.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.offsetunset.php )
|
||||
*
|
||||
* Unsets the value at the specified index.
|
||||
*
|
||||
@@ -285,9 +287,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.serialize.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.serialize.php )
|
||||
*
|
||||
* Serializes an ArrayObject. WarningThis function is currently not
|
||||
* documented; only its argument list is available.
|
||||
@@ -302,9 +304,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
));
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.setflags.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.setflags.php )
|
||||
*
|
||||
* Set the flags that change the behavior of the ArrayObject.
|
||||
*
|
||||
@@ -325,9 +327,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
$this->flags = $flags;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.setiteratorclass.php
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.setiteratorclass.php
|
||||
* )
|
||||
*
|
||||
* Sets the classname of the array iterator that is used by
|
||||
@@ -343,9 +345,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
$this->iteratorClass = $iterator_class;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.uasort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.uasort.php )
|
||||
*
|
||||
* This function sorts the entries such that keys maintain their
|
||||
* correlation with the entry that they are associated with, using a
|
||||
@@ -368,9 +370,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
uasort($this->storage, $cmp_function);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.uksort.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.uksort.php )
|
||||
*
|
||||
* This function sorts the keys of the entries using a user-supplied
|
||||
* comparison function. The key to entry correlations will be maintained.
|
||||
@@ -391,9 +393,9 @@ class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess,
|
||||
uksort($this->storage, $cmp_function);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* * excerpt from http://php.net/manual/en/arrayobject.unserialize.php )
|
||||
* ( excerpt from http://php.net/manual/en/arrayobject.unserialize.php )
|
||||
*
|
||||
* Unserializes a serialized ArrayObject. WarningThis function is
|
||||
* currently not documented; only its argument list is available.
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
<?php
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.directory.php )
|
||||
*
|
||||
* Instances of Directory are created by calling the dir() function, not
|
||||
* by the new operator.
|
||||
*
|
||||
*/
|
||||
class Directory {
|
||||
public $path;
|
||||
public $handle;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.directoryiterator.php )
|
||||
*
|
||||
@@ -11,6 +11,15 @@
|
||||
class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
SeekableIterator {
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.construct.php
|
||||
* )
|
||||
*
|
||||
* Constructs a new directory iterator from a path.
|
||||
*
|
||||
* @path mixed The path of the directory to traverse.
|
||||
*/
|
||||
public function __construct($path) {
|
||||
if (!hphp_directoryiterator___construct($this, $path)) {
|
||||
throw new UnexpectedValueException(
|
||||
@@ -18,7 +27,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.current.php )
|
||||
*
|
||||
@@ -30,7 +39,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
return hphp_directoryiterator_current($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.key.php )
|
||||
*
|
||||
@@ -42,7 +51,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
return hphp_directoryiterator_key($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.next.php )
|
||||
*
|
||||
@@ -54,7 +63,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
hphp_directoryiterator_next($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.rewind.php )
|
||||
*
|
||||
@@ -66,7 +75,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
hphp_directoryiterator_rewind($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.seek.php )
|
||||
*
|
||||
@@ -80,11 +89,20 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
hphp_directoryiterator_seek($this, $position);
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.tostring.php )
|
||||
*
|
||||
* Get the file name of the current DirectoryIterator item.
|
||||
*
|
||||
* @return mixed Returns the file name of the current
|
||||
* DirectoryIterator item.
|
||||
*/
|
||||
public function __toString() {
|
||||
return hphp_directoryiterator___tostring($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.valid.php )
|
||||
*
|
||||
@@ -97,7 +115,7 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
return hphp_directoryiterator_valid($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/directoryiterator.isdot.php )
|
||||
*
|
||||
@@ -111,12 +129,13 @@ class DirectoryIterator extends SplFileInfo implements Traversable,
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/class.recursivedirectoryiterator.php )
|
||||
*
|
||||
* ...
|
||||
* The RecursiveDirectoryIterator provides an interface for iterating
|
||||
* recursively over filesystem directories.
|
||||
*
|
||||
*/
|
||||
class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
@@ -129,6 +148,23 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
const KEY_AS_FILENAME = 0x00000100;
|
||||
const NEW_CURRENT_AND_KEY = 0x00000110;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.construct.php )
|
||||
*
|
||||
* Constructs a RecursiveDirectoryIterator() for the provided path.
|
||||
*
|
||||
* @path mixed The path of the directory to be iterated over.
|
||||
* @flags mixed Flags may be provided which will affect the behavior
|
||||
* of some methods. A list of the flags can found under
|
||||
* FilesystemIterator predefined constants. They can
|
||||
* also be set later with
|
||||
* FilesystemIterator::setFlags().
|
||||
*
|
||||
* @return mixed Returns the newly created
|
||||
* RecursiveDirectoryIterator.
|
||||
*/
|
||||
function __construct($path,
|
||||
$flags = RecursiveDirectoryIterator::CURRENT_AS_FILEINFO) {
|
||||
if (!hphp_recursivedirectoryiterator___construct($this, $path, $flags)) {
|
||||
@@ -141,7 +177,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
return hphp_recursivedirectoryiterator_current($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.key.php )
|
||||
@@ -153,7 +189,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
return hphp_recursivedirectoryiterator_key($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.next.php )
|
||||
@@ -165,7 +201,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
hphp_recursivedirectoryiterator_next($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.rewind.php )
|
||||
@@ -189,7 +225,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
return hphp_recursivedirectoryiterator_valid($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.haschildren.php )
|
||||
@@ -202,20 +238,21 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
return hphp_recursivedirectoryiterator_haschildren($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.getchildren.php )
|
||||
*
|
||||
*
|
||||
* @return mixed An iterator for the current entry, if it is a
|
||||
* directory.
|
||||
* @return mixed The filename, file information, or $this depending
|
||||
* on the set flags. See the FilesystemIterator
|
||||
* constants.
|
||||
*/
|
||||
function getChildren() {
|
||||
return hphp_recursivedirectoryiterator_getchildren($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.getsubpath.php )
|
||||
@@ -229,7 +266,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator
|
||||
return hphp_recursivedirectoryiterator_getsubpath($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursivedirectoryiterator.getsubpathname.php )
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.exception.php )
|
||||
*
|
||||
@@ -32,13 +32,24 @@ class Exception {
|
||||
$this->inited = true;
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.construct.php )
|
||||
*
|
||||
* Constructs the Exception.
|
||||
*
|
||||
* @message mixed The Exception message to throw.
|
||||
* @code mixed The Exception code.
|
||||
* @previous mixed The previous exception used for the exception
|
||||
* chaining.
|
||||
*/
|
||||
function __construct($message = '', $code = 0, Exception $previous = null) {
|
||||
$this->message = $message;
|
||||
$this->code = $code;
|
||||
$this->previous = $previous;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.getmessage.php )
|
||||
*
|
||||
@@ -50,13 +61,15 @@ class Exception {
|
||||
return $this->message;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.getprevious.php )
|
||||
*
|
||||
* Returns the previous Exception.
|
||||
* Returns previous Exception (the third parameter of
|
||||
* Exception::__construct()).
|
||||
*
|
||||
* @return mixed Returns the previous Exception if available or NULL otherwise.
|
||||
* @return mixed Returns the previous Exception if available or NULL
|
||||
* otherwise.
|
||||
*/
|
||||
final function getPrevious() {
|
||||
return $this->previous;
|
||||
@@ -76,45 +89,47 @@ class Exception {
|
||||
$cur->setPrevious($previous);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.getcode.php )
|
||||
*
|
||||
* Returns the Exception code.
|
||||
*
|
||||
* @return mixed Returns the Exception code as a integer.
|
||||
* @return mixed Returns the exception code as integer in Exception
|
||||
* but possibly as other type in Exception descendants
|
||||
* (for example as string in PDOException).
|
||||
*/
|
||||
function getCode() {
|
||||
return $this->code;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.getfile.php )
|
||||
*
|
||||
* Get the name of the file the exception was thrown from.
|
||||
* Get the name of the file the exception was created.
|
||||
*
|
||||
* @return mixed Returns the filename in which the exception was
|
||||
* thrown.
|
||||
* created.
|
||||
*/
|
||||
final function getFile() {
|
||||
return $this->file;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.getline.php )
|
||||
*
|
||||
* Returns line number where the exception was thrown.
|
||||
* Get line number where the exception was created.
|
||||
*
|
||||
* @return mixed Returns the line number where the exception was
|
||||
* thrown.
|
||||
* created.
|
||||
*/
|
||||
final function getLine() {
|
||||
return $this->line;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.gettrace.php )
|
||||
*
|
||||
@@ -126,7 +141,7 @@ class Exception {
|
||||
return $this->trace;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.gettraceasstring.php )
|
||||
*
|
||||
@@ -152,6 +167,14 @@ class Exception {
|
||||
|
||||
/* Overrideable */
|
||||
// formated string for display
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/exception.tostring.php )
|
||||
*
|
||||
* Returns the string representation of the exception.
|
||||
*
|
||||
* @return mixed Returns the string representation of the exception.
|
||||
*/
|
||||
function __toString() {
|
||||
return "exception '" . get_class($this) . "' with message '" .
|
||||
$this->getMessage() . "' in " . $this->getFile() . ":" .
|
||||
@@ -187,122 +210,130 @@ class Exception {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.logicexception.php )
|
||||
*
|
||||
* Exception thrown if a logic expression is invalid
|
||||
* Exception that represents error in the program logic. This kind of
|
||||
* exceptions should directly lead to a fix in your code.
|
||||
*
|
||||
*/
|
||||
class LogicException extends Exception {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/class.badfunctioncallexception.php )
|
||||
*
|
||||
* Exception thrown if a callback refers to an undefined function or if
|
||||
* some arguments are missing
|
||||
* some arguments are missing.
|
||||
*
|
||||
*/
|
||||
class BadFunctionCallException extends LogicException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.badmethodcallexception.php
|
||||
* )
|
||||
*
|
||||
* Exception thrown if a callback refers to an undefined method or if some
|
||||
* arguments are missing
|
||||
* arguments are missing.
|
||||
*
|
||||
*/
|
||||
class BadMethodCallException extends BadFunctionCallException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.domainexception.php )
|
||||
*
|
||||
* Exception thrown if a value does not adhere to a defined valid data
|
||||
* domain
|
||||
* domain.
|
||||
*
|
||||
*/
|
||||
class DomainException extends LogicException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/class.invalidargumentexception.php )
|
||||
*
|
||||
* Exception thrown if an argument does not match with the expected value
|
||||
* Exception thrown if an argument does not match with the expected value.
|
||||
*
|
||||
*/
|
||||
class InvalidArgumentException extends LogicException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.lengthexception.php )
|
||||
*
|
||||
* Exception thrown if a length is invalid
|
||||
* Exception thrown if a length is invalid.
|
||||
*
|
||||
*/
|
||||
class LengthException extends LogicException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.outofrangeexception.php )
|
||||
*
|
||||
* Exception thrown when a value does not match with a range
|
||||
* Exception thrown when an illegal index was requested. This represents
|
||||
* errors that should be detected at compile time.
|
||||
*
|
||||
*/
|
||||
class OutOfRangeException extends LogicException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.runtimeexception.php )
|
||||
*
|
||||
* Exception thrown if an error which can only be found on runtime occurs
|
||||
* Exception thrown if an error which can only be found on runtime occurs.
|
||||
*
|
||||
*/
|
||||
class RuntimeException extends Exception {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.outofboundsexception.php )
|
||||
*
|
||||
* Exception thrown if a value is not a valid key
|
||||
* Exception thrown if a value is not a valid key. This represents errors
|
||||
* that cannot be detected at compile time.
|
||||
*
|
||||
*/
|
||||
class OutOfBoundsException extends RuntimeException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.overflowexception.php )
|
||||
*
|
||||
* Exception thrown when you add an element into a full container
|
||||
* Exception thrown when adding an element to a full container.
|
||||
*
|
||||
*/
|
||||
class OverflowException extends RuntimeException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.rangeexception.php )
|
||||
*
|
||||
* Exception thrown when an invalid range is given.
|
||||
* Exception thrown to indicate range errors during program execution.
|
||||
* Normally this means there was an arithmetic error other than
|
||||
* under/overflow. This is the runtime version of DomainException.
|
||||
*
|
||||
*/
|
||||
class RangeException extends RuntimeException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.underflowexception.php )
|
||||
*
|
||||
* Exception thrown when you try to remove an element of an empty
|
||||
* container
|
||||
* Exception thrown when performing an invalid operation on an empty
|
||||
* container, such as removing an element.
|
||||
*
|
||||
*/
|
||||
class UnderflowException extends RuntimeException {}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/class.unexpectedvalueexception.php )
|
||||
*
|
||||
* Exception thrown if a value does not match with a set of values
|
||||
* Exception thrown if a value does not match with a set of values.
|
||||
* Typically this happens when a function calls another function and
|
||||
* expects the return value to be of a certain type or value not including
|
||||
* arithmetic or buffer related errors.
|
||||
*
|
||||
*/
|
||||
class UnexpectedValueException extends RuntimeException {}
|
||||
|
||||
class InvalidOperationException extends RuntimeException {}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.errorexception.php )
|
||||
*
|
||||
@@ -311,6 +342,18 @@ class RuntimeException extends Exception {}
|
||||
*/
|
||||
class ErrorException extends Exception {
|
||||
protected $severity;
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/errorexception.construct.php )
|
||||
*
|
||||
* Constructs the Exception.
|
||||
*
|
||||
* @message mixed The Exception message to throw.
|
||||
* @code mixed The Exception code.
|
||||
* @severity mixed The severity level of the exception.
|
||||
* @filename mixed The filename where the exception is thrown.
|
||||
* @lineno mixed The line number where the exception is thrown.
|
||||
*/
|
||||
public function __construct($message = "", $code = 0, $severity = 0,
|
||||
$filename = null, $lineno = null) {
|
||||
parent::__construct($message, $code);
|
||||
@@ -323,7 +366,7 @@ class ErrorException extends Exception {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/errorexception.getseverity.php )
|
||||
*
|
||||
@@ -334,12 +377,31 @@ class ErrorException extends Exception {
|
||||
final public function getSeverity() { return $this->severity; }
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.domexception.php )
|
||||
*
|
||||
* DOM operations raise exceptions under particular circumstances, i.e.,
|
||||
* when an operation is impossible to perform for logical reasons.
|
||||
*
|
||||
* See also Exceptions.
|
||||
*
|
||||
*/
|
||||
class DOMException extends Exception {
|
||||
public function __construct($message, $code) {
|
||||
parent::__construct($message, $code);
|
||||
}
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.pdoexception.php )
|
||||
*
|
||||
* Represents an error raised by PDO. You should not throw a PDOException
|
||||
* from your own code. See Exceptions for more information about Exceptions
|
||||
* in PHP.
|
||||
*
|
||||
*/
|
||||
class PDOException extends Exception {
|
||||
public function __construct() {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.countable.php )
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
interface Countable {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/countable.count.php )
|
||||
*
|
||||
@@ -22,7 +22,7 @@ interface Countable {
|
||||
public function count();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.serializable.php )
|
||||
*
|
||||
@@ -38,7 +38,7 @@ interface Countable {
|
||||
*
|
||||
*/
|
||||
interface Serializable {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/serializable.serialize.php )
|
||||
*
|
||||
@@ -51,7 +51,7 @@ interface Serializable {
|
||||
* NULL
|
||||
*/
|
||||
public function serialize();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/serializable.unserialize.php )
|
||||
*
|
||||
@@ -62,28 +62,36 @@ interface Serializable {
|
||||
*
|
||||
* @serialized mixed The string representation of the object.
|
||||
*
|
||||
* @return mixed Returns the original value unserialized.
|
||||
* @return mixed The return value from this method is ignored.
|
||||
*/
|
||||
public function unserialize($serialized);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.jsonserializable.php )
|
||||
*
|
||||
* Objects implementing JsonSerializable can customize their JSON
|
||||
* representation when encoded with json_encode().
|
||||
*
|
||||
*/
|
||||
interface JsonSerializable {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/jsonserializable.jsonserialize.php )
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/jsonserializable.jsonserialize.php )
|
||||
*
|
||||
* Specify data which should be serialized to JSON
|
||||
* Serializes the object to a value that can be serialized natively by
|
||||
* json_encode().
|
||||
*
|
||||
* @return mixed Returns data which can be serialized by
|
||||
* json_encode(), which is a value of any type other
|
||||
* than a resource.
|
||||
*/
|
||||
public function jsonSerialize();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.traversable.php )
|
||||
*
|
||||
@@ -97,7 +105,9 @@ interface JsonSerializable {
|
||||
* Iterator.
|
||||
*
|
||||
* This is an internal engine interface which cannot be implemented in PHP
|
||||
* scripts. Either IteratorAggregate or Iterator must be used instead.
|
||||
* scripts. Either IteratorAggregate or Iterator must be used instead. When
|
||||
* implementing an interface which extends Traversable, make sure to list
|
||||
* IteratorAggregate or Iterator before its name in the implements clause.
|
||||
*
|
||||
*/
|
||||
interface Traversable {
|
||||
@@ -106,7 +116,7 @@ interface Traversable {
|
||||
interface KeyedTraversable extends Traversable {
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.iterator.php )
|
||||
*
|
||||
@@ -115,7 +125,7 @@ interface KeyedTraversable extends Traversable {
|
||||
*
|
||||
*/
|
||||
interface Iterator extends Traversable {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iterator.current.php )
|
||||
*
|
||||
@@ -124,7 +134,7 @@ interface Iterator extends Traversable {
|
||||
* @return mixed Can return any type.
|
||||
*/
|
||||
public function current();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iterator.key.php )
|
||||
*
|
||||
@@ -133,7 +143,7 @@ interface Iterator extends Traversable {
|
||||
* @return mixed Returns scalar on success, or NULL on failure.
|
||||
*/
|
||||
public function key();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iterator.next.php )
|
||||
*
|
||||
@@ -144,7 +154,7 @@ interface Iterator extends Traversable {
|
||||
* @return mixed Any returned value is ignored.
|
||||
*/
|
||||
public function next();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iterator.rewind.php )
|
||||
*
|
||||
@@ -156,7 +166,7 @@ interface Iterator extends Traversable {
|
||||
* @return mixed Any returned value is ignored.
|
||||
*/
|
||||
public function rewind();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iterator.valid.php )
|
||||
*
|
||||
@@ -173,7 +183,7 @@ interface Iterator extends Traversable {
|
||||
interface KeyedIterator extends Iterator, KeyedTraversable {
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.seekableiterator.php )
|
||||
*
|
||||
@@ -181,7 +191,7 @@ interface KeyedIterator extends Iterator, KeyedTraversable {
|
||||
*
|
||||
*/
|
||||
interface SeekableIterator extends Iterator {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/seekableiterator.seek.php )
|
||||
*
|
||||
@@ -194,7 +204,7 @@ interface SeekableIterator extends Iterator {
|
||||
public function seek($position);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.outeriterator.php )
|
||||
*
|
||||
@@ -203,10 +213,19 @@ interface SeekableIterator extends Iterator {
|
||||
*
|
||||
*/
|
||||
interface OuterIterator extends Iterator {
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/outeriterator.getinneriterator.php )
|
||||
*
|
||||
* Returns the inner iterator for the current iterator entry.
|
||||
*
|
||||
* @return mixed The inner iterator for the current entry.
|
||||
*/
|
||||
public function getInnerIterator();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.recursiveiterator.php )
|
||||
*
|
||||
@@ -215,7 +234,7 @@ interface OuterIterator extends Iterator {
|
||||
*
|
||||
*/
|
||||
interface RecursiveIterator extends Iterator {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiterator.getchildren.php )
|
||||
@@ -225,12 +244,12 @@ interface RecursiveIterator extends Iterator {
|
||||
* @return mixed An iterator for the current entry.
|
||||
*/
|
||||
public function getChildren();
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiterator.haschildren.php )
|
||||
*
|
||||
* Returns if an iterator can be created fot the current entry.
|
||||
* Returns if an iterator can be created for the current entry.
|
||||
* RecursiveIterator::getChildren().
|
||||
*
|
||||
* @return mixed Returns TRUE if the current entry can be iterated
|
||||
@@ -239,7 +258,7 @@ interface RecursiveIterator extends Iterator {
|
||||
public function hasChildren();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/class.recursiveiteratoriterator.php )
|
||||
@@ -256,12 +275,36 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
const CHILD_FIRST = 2;
|
||||
const CATCH_GET_CHILD = 16;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.construct.php )
|
||||
*
|
||||
* Creates a RecursiveIteratorIterator from a RecursiveIterator.
|
||||
*
|
||||
* @iterator mixed The iterator being constructed from. Either a
|
||||
* RecursiveIterator or IteratorAggregate.
|
||||
* @mode mixed Optional mode. Possible values are
|
||||
* RecursiveIteratorIterator::LEAVES_ONLY - The
|
||||
* default. Lists only leaves in iteration.
|
||||
* RecursiveIteratorIterator::SELF_FIRST - Lists leaves
|
||||
* and parents in iteration with parents coming first.
|
||||
* RecursiveIteratorIterator::CHILD_FIRST - Lists
|
||||
* leaves and parents in iteration with leaves coming
|
||||
* first.
|
||||
* @flags mixed Optional flag. Possible values are
|
||||
* RecursiveIteratorIterator::CATCH_GET_CHILD which
|
||||
* will then ignore exceptions thrown in calls to
|
||||
* RecursiveIteratorIterator::getChildren().
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function __construct($iterator,
|
||||
$mode = RecursiveIteratorIterator::LEAVES_ONLY,
|
||||
$flags = 0) {
|
||||
hphp_recursiveiteratoriterator___construct($this, $iterator, $mode, $flags);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.getinneriterator.php
|
||||
@@ -275,7 +318,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function getInnerIterator() {
|
||||
return hphp_recursiveiteratoriterator_getinneriterator($this);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.current.php )
|
||||
@@ -286,7 +329,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function current() {
|
||||
return hphp_recursiveiteratoriterator_current($this);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.key.php )
|
||||
@@ -297,7 +340,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function key() {
|
||||
return hphp_recursiveiteratoriterator_key($this);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.next.php )
|
||||
@@ -308,7 +351,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function next() {
|
||||
hphp_recursiveiteratoriterator_next($this);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.rewind.php )
|
||||
@@ -319,7 +362,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function rewind() {
|
||||
hphp_recursiveiteratoriterator_rewind($this);
|
||||
}
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/recursiveiteratoriterator.valid.php )
|
||||
@@ -335,7 +378,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.arrayiterator.php )
|
||||
*
|
||||
@@ -355,13 +398,24 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
const STD_PROP_LIST = 1;
|
||||
const ARRAY_AS_PROPS = 2;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.construct.php )
|
||||
*
|
||||
* Constructs an ArrayIterator object. WarningThis function is currently
|
||||
* not documented; only its argument list is available.
|
||||
*
|
||||
* @array mixed The array or object to be iterated on.
|
||||
*
|
||||
* @return mixed An ArrayIterator object.
|
||||
*/
|
||||
public function __construct($array = array(), $flags = 0) {
|
||||
$this->arr = (array) $array;
|
||||
$this->flags = $flags;
|
||||
reset($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.append.php )
|
||||
*
|
||||
@@ -376,7 +430,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
$this->arr[] = $value;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.asort.php )
|
||||
*
|
||||
@@ -389,7 +443,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return asort($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.count.php )
|
||||
*
|
||||
@@ -397,13 +451,14 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
* properties in the object. WarningThis function is currently not
|
||||
* documented; only its argument list is available.
|
||||
*
|
||||
* @return mixed The number.
|
||||
* @return mixed The number of elements or public properties in the
|
||||
* associated array or object, respectively.
|
||||
*/
|
||||
public function count() {
|
||||
return count($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.current.php )
|
||||
*
|
||||
@@ -415,7 +470,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return current($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.getarraycopy.php )
|
||||
*
|
||||
@@ -429,7 +484,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return $this->arr;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.getflags.php )
|
||||
*
|
||||
@@ -442,7 +497,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return $this->flags;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.key.php )
|
||||
*
|
||||
@@ -454,7 +509,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return key($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.ksort.php )
|
||||
*
|
||||
@@ -467,7 +522,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return ksort($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.natcasesort.php )
|
||||
*
|
||||
@@ -481,7 +536,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return natcasesort($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.natsort.php )
|
||||
*
|
||||
@@ -495,7 +550,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return natsort($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.next.php )
|
||||
*
|
||||
@@ -507,7 +562,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
next($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.offsetexists.php )
|
||||
*
|
||||
@@ -522,7 +577,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return isset($this->arr[$index]);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.offsetget.php )
|
||||
*
|
||||
@@ -537,7 +592,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return $this->arr[$index];
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.offsetset.php )
|
||||
*
|
||||
@@ -553,7 +608,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
$this->arr[$index] = $newval;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.offsetunset.php )
|
||||
*
|
||||
@@ -568,7 +623,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
unset($this->arr[$index]);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.rewind.php )
|
||||
*
|
||||
@@ -580,7 +635,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
reset($this->arr);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.seek.php )
|
||||
*
|
||||
@@ -598,7 +653,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.setflags.php )
|
||||
*
|
||||
@@ -616,7 +671,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
$this->flags = $flags;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.uasort.php )
|
||||
*
|
||||
@@ -633,7 +688,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return uasort($this->arr, $cmp_function);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.uksort.php )
|
||||
*
|
||||
@@ -650,7 +705,7 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
return uksort($this->arr, $cmp_function);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/arrayiterator.valid.php )
|
||||
*
|
||||
@@ -663,10 +718,30 @@ class ArrayIterator implements ArrayAccess, SeekableIterator, Countable {
|
||||
}
|
||||
}
|
||||
|
||||
// http://www.php.net/~helly/php/ext/spl/iteratoriterator_8inc-source.html
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.iteratoriterator.php )
|
||||
*
|
||||
* This iterator wrapper allows the conversion of anything that is
|
||||
* Traversable into an Iterator. It is important to understand that most
|
||||
* classes that do not implement Iterators have reasons as most likely they
|
||||
* do not allow the full Iterator feature set. If so, techniques should be
|
||||
* provided to prevent misuse, otherwise expect exceptions or fatal errors.
|
||||
*
|
||||
*/
|
||||
class IteratorIterator implements OuterIterator {
|
||||
private $iterator;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.construct.php )
|
||||
*
|
||||
* Creates an iterator from anything that is traversable.
|
||||
*
|
||||
* @iterator mixed The traversable iterator.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function __construct(Traversable $iterator) {
|
||||
if ($iterator instanceof IteratorAggregate) {
|
||||
$iterator = $iterator->getIterator();
|
||||
@@ -679,26 +754,77 @@ class IteratorIterator implements OuterIterator {
|
||||
}
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/iteratoriterator.getinneriterator.php )
|
||||
*
|
||||
* Get the inner iterator.
|
||||
*
|
||||
* @return mixed The inner iterator as passed to
|
||||
* IteratorIterator::__construct().
|
||||
*/
|
||||
public function getInnerIterator() {
|
||||
return $this->iterator;
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.valid.php )
|
||||
*
|
||||
* Checks if the iterator is valid.
|
||||
*
|
||||
* @return mixed Returns TRUE if the iterator is valid, otherwise
|
||||
* FALSE
|
||||
*/
|
||||
public function valid() {
|
||||
return $this->iterator->valid();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.key.php )
|
||||
*
|
||||
* Get the key of the current element.
|
||||
*
|
||||
* @return mixed The key of the current element.
|
||||
*/
|
||||
public function key() {
|
||||
return $this->iterator->key();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.current.php )
|
||||
*
|
||||
* Get the value of the current element.
|
||||
*
|
||||
* @return mixed The value of the current element.
|
||||
*/
|
||||
public function current() {
|
||||
return $this->iterator->current();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.next.php )
|
||||
*
|
||||
* Forward to the next element.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function next() {
|
||||
return $this->iterator->next();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/iteratoriterator.rewind.php )
|
||||
*
|
||||
* Rewinds to the first element.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function rewind() {
|
||||
return $this->iterator->rewind();
|
||||
}
|
||||
@@ -708,8 +834,7 @@ class IteratorIterator implements OuterIterator {
|
||||
}
|
||||
}
|
||||
|
||||
// http://www.php.net/~helly/php/ext/spl/filteriterator_8inc-source.html
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.filteriterator.php )
|
||||
*
|
||||
@@ -721,15 +846,44 @@ class IteratorIterator implements OuterIterator {
|
||||
abstract class FilterIterator extends IteratorIterator {
|
||||
private $it;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.construct.php )
|
||||
*
|
||||
* Constructs a new FilterIterator, which consists of a passed in iterator
|
||||
* with filters applied to it. WarningThis function is currently not
|
||||
* documented; only its argument list is available.
|
||||
*
|
||||
* @it mixed The iterator that is being filtered.
|
||||
*
|
||||
* @return mixed The FilterIterator.
|
||||
*/
|
||||
public function __construct(Iterator $it) {
|
||||
$this->it = $it;
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.rewind.php )
|
||||
*
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function rewind() {
|
||||
$this->it->rewind();
|
||||
$this->fetch();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.accept.php )
|
||||
*
|
||||
* Returns whether the current element of the iterator is acceptable
|
||||
* through this filter.
|
||||
*
|
||||
* @return mixed TRUE if the current element is acceptable, otherwise
|
||||
* FALSE.
|
||||
*/
|
||||
abstract function accept();
|
||||
|
||||
private function fetch() {
|
||||
@@ -741,19 +895,48 @@ abstract class FilterIterator extends IteratorIterator {
|
||||
}
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.next.php )
|
||||
*
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function next() {
|
||||
$this->it->next();
|
||||
$this->fetch();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.valid.php )
|
||||
*
|
||||
*
|
||||
* @return mixed TRUE if the current element is valid, otherwise
|
||||
* FALSE
|
||||
*/
|
||||
public function valid() {
|
||||
return $this->it->valid();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.key.php )
|
||||
*
|
||||
*
|
||||
* @return mixed The current key.
|
||||
*/
|
||||
public function key() {
|
||||
return $this->it->key();
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/filteriterator.current.php )
|
||||
*
|
||||
*
|
||||
* @return mixed The current element value.
|
||||
*/
|
||||
public function current() {
|
||||
return $this->it->current();
|
||||
}
|
||||
@@ -762,6 +945,14 @@ abstract class FilterIterator extends IteratorIterator {
|
||||
// disallow clone
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/filteriterator.getinneriterator.php )
|
||||
*
|
||||
*
|
||||
* @return mixed The inner iterator.
|
||||
*/
|
||||
public function getInnerIterator() {
|
||||
return $this->it;
|
||||
}
|
||||
@@ -771,7 +962,7 @@ abstract class FilterIterator extends IteratorIterator {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.iteratoraggregate.php )
|
||||
*
|
||||
@@ -779,7 +970,7 @@ abstract class FilterIterator extends IteratorIterator {
|
||||
*
|
||||
*/
|
||||
interface IteratorAggregate extends Traversable {
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/iteratoraggregate.getiterator.php )
|
||||
@@ -798,10 +989,7 @@ interface Iterable extends IteratorAggregate {
|
||||
interface KeyedIterable extends Iterable, KeyedTraversable {
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// http://www.php.net/~helly/php/ext/spl/appenditerator_8inc-source.html
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.appenditerator.php )
|
||||
*
|
||||
@@ -811,16 +999,23 @@ interface KeyedIterable extends Iterable, KeyedTraversable {
|
||||
class AppendIterator implements OuterIterator {
|
||||
private $iterators;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.construct.php )
|
||||
*
|
||||
* Constructs an AppendIterator.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
function __construct() {
|
||||
$this->iterators = new ArrayIterator(array());
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.append.php )
|
||||
*
|
||||
* Appends an iterator. WarningThis function is currently not documented;
|
||||
* only its argument list is available.
|
||||
* Appends an iterator.
|
||||
*
|
||||
* @it mixed The iterator to append.
|
||||
*
|
||||
@@ -830,27 +1025,25 @@ class AppendIterator implements OuterIterator {
|
||||
$this->iterators->append($it);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from
|
||||
* http://php.net/manual/en/appenditerator.getinneriterator.php )
|
||||
*
|
||||
* Get an inner iterator WarningThis function is currently not documented;
|
||||
* only its argument list is available.
|
||||
* This method returns the current inner iterator.
|
||||
*
|
||||
* @return mixed The current inner Iterator.
|
||||
* @return mixed The current inner iterator, or NULL if there is not
|
||||
* one.
|
||||
*/
|
||||
function getInnerIterator() {
|
||||
return $this->iterators->current();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.rewind.php )
|
||||
*
|
||||
* Rewind to the first element of the first inner Iterator. WarningThis
|
||||
* function is currently not documented; only its argument list is
|
||||
* available.
|
||||
* Rewind to the first element of the first inner Iterator.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
@@ -861,25 +1054,24 @@ class AppendIterator implements OuterIterator {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.valid.php )
|
||||
*
|
||||
* Checks validity of the current element. WarningThis function is
|
||||
* currently not documented; only its argument list is available.
|
||||
* Checks validity of the current element.
|
||||
*
|
||||
* @return mixed Returns TRUE on success or FALSE on failure.
|
||||
* @return mixed Returns TRUE if the current iteration is valid,
|
||||
* FALSE otherwise.
|
||||
*/
|
||||
function valid() {
|
||||
return $this->iterators->valid() && $this->getInnerIterator()->valid();
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.current.php )
|
||||
*
|
||||
* Gets the current value. WarningThis function is currently not
|
||||
* documented; only its argument list is available.
|
||||
* Gets the current value.
|
||||
*
|
||||
* @return mixed The current value if it is valid or NULL otherwise.
|
||||
*/
|
||||
@@ -892,12 +1084,11 @@ class AppendIterator implements OuterIterator {
|
||||
$this->getInnerIterator()->current() : NULL;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.key.php )
|
||||
*
|
||||
* Get the current key WarningThis function is currently not documented;
|
||||
* only its argument list is available.
|
||||
* Get the current key.
|
||||
*
|
||||
* @return mixed The current key if it is valid or NULL otherwise.
|
||||
*/
|
||||
@@ -905,13 +1096,12 @@ class AppendIterator implements OuterIterator {
|
||||
return $this->iterators->valid() ? $this->getInnerIterator()->key() : NULL;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/appenditerator.next.php )
|
||||
*
|
||||
* Moves to the next element. If this means to another Iterator then it
|
||||
* rewinds that Iterator. WarningThis function is currently not documented;
|
||||
* only its argument list is available.
|
||||
* rewinds that Iterator.
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
|
||||
Diferenças do arquivo suprimidas por serem muito extensas
Carregar Diff
@@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.soapfault.php )
|
||||
*
|
||||
* Represents a SOAP fault.
|
||||
*
|
||||
*/
|
||||
class SoapFault extends Exception {
|
||||
public $faultcode;
|
||||
public $faultcodens;
|
||||
@@ -70,6 +77,14 @@ class SoapFault extends Exception {
|
||||
}
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/soapfault.tostring.php )
|
||||
*
|
||||
* Returns a string representation of the SoapFault.
|
||||
*
|
||||
* @return mixed A string describing the SoapFault.
|
||||
*/
|
||||
public function __toString() {
|
||||
return "SoapFault exception: [" . $this->faultcode . "] " .
|
||||
$this->faultstring;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.splfileinfo.php )
|
||||
*
|
||||
@@ -11,11 +11,20 @@
|
||||
class SplFileInfo {
|
||||
private $rsrc;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.construct.php )
|
||||
*
|
||||
* Creates a new SplFileInfo object for the file_name specified. The file
|
||||
* does not need to exist, or be readable.
|
||||
*
|
||||
* @file_name mixed Path to the file.
|
||||
*/
|
||||
public function __construct($file_name) {
|
||||
hphp_splfileinfo___construct($this, $file_name);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getpath.php )
|
||||
*
|
||||
@@ -28,7 +37,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getpath($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getfilename.php )
|
||||
*
|
||||
@@ -40,7 +49,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getfilename($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getfileinfo.php )
|
||||
*
|
||||
@@ -54,7 +63,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getfileinfo($this, $class_name);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getbasename.php )
|
||||
*
|
||||
@@ -69,7 +78,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getbasename($this, $suffix);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getpathname.php )
|
||||
*
|
||||
@@ -81,7 +90,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getpathname($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getpathinfo.php )
|
||||
*
|
||||
@@ -96,7 +105,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getpathinfo($this, $class_name);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getperms.php )
|
||||
*
|
||||
@@ -108,7 +117,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getperms($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getinode.php )
|
||||
*
|
||||
@@ -120,7 +129,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getinode($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getsize.php )
|
||||
*
|
||||
@@ -132,7 +141,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getsize($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getowner.php )
|
||||
*
|
||||
@@ -144,7 +153,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getowner($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getgroup.php )
|
||||
*
|
||||
@@ -156,7 +165,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getgroup($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getatime.php )
|
||||
*
|
||||
@@ -168,7 +177,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getatime($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getmtime.php )
|
||||
*
|
||||
@@ -182,7 +191,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getmtime($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getctime.php )
|
||||
*
|
||||
@@ -195,7 +204,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getctime($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.gettype.php )
|
||||
*
|
||||
@@ -208,7 +217,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_gettype($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.iswritable.php )
|
||||
*
|
||||
@@ -220,7 +229,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_iswritable($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.isreadable.php )
|
||||
*
|
||||
@@ -232,7 +241,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_isreadable($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.isexecutable.php )
|
||||
*
|
||||
@@ -244,7 +253,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_isexecutable($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.isfile.php )
|
||||
*
|
||||
@@ -258,7 +267,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_isfile($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.isdir.php )
|
||||
*
|
||||
@@ -270,7 +279,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_isdir($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.islink.php )
|
||||
*
|
||||
@@ -283,7 +292,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_islink($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getlinktarget.php )
|
||||
*
|
||||
@@ -298,7 +307,7 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getlinktarget($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.getrealpath.php )
|
||||
*
|
||||
@@ -311,11 +320,19 @@ class SplFileInfo {
|
||||
return hphp_splfileinfo_getrealpath($this);
|
||||
}
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.tostring.php )
|
||||
*
|
||||
* This method will return the file name of the referenced file.
|
||||
*
|
||||
* @return mixed Returns the path to the file.
|
||||
*/
|
||||
public function __toString() {
|
||||
return hphp_splfileinfo___tostring($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.openfile.php )
|
||||
*
|
||||
@@ -341,7 +358,7 @@ class SplFileInfo {
|
||||
$use_include_path, $context);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.setfileclass.php )
|
||||
*
|
||||
@@ -357,7 +374,7 @@ class SplFileInfo {
|
||||
hphp_splfileinfo_setfileclass($this, $class_name);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileinfo.setinfoclass.php )
|
||||
*
|
||||
@@ -374,7 +391,7 @@ class SplFileInfo {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.splfileobject.php )
|
||||
*
|
||||
@@ -389,6 +406,29 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
const SKIP_EMPTY = 6;
|
||||
const READ_CSV = 8;
|
||||
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.construct.php )
|
||||
*
|
||||
* Construct a new file object.
|
||||
*
|
||||
* @filename mixed The file to read. TipA URL can be used as a filename
|
||||
* with this function if the fopen wrappers have been
|
||||
* enabled. See fopen() for more details on how to
|
||||
* specify the filename. See the Supported Protocols
|
||||
* and Wrappers for links to information about what
|
||||
* abilities the various wrappers have, notes on their
|
||||
* usage, and information on any predefined variables
|
||||
* they may provide.
|
||||
* @open_mode mixed The mode in which to open the file. See fopen() for
|
||||
* a list of allowed modes.
|
||||
* @use_include_path
|
||||
* mixed Whether to search in the include_path for filename.
|
||||
* @context mixed A valid context resource created with
|
||||
* stream_context_create().
|
||||
*
|
||||
* @return mixed No value is returned.
|
||||
*/
|
||||
public function __construct($filename, $open_mode = 'r',
|
||||
$use_include_path = false,
|
||||
$context = null) {
|
||||
@@ -396,7 +436,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
$use_include_path, $context);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.current.php )
|
||||
*
|
||||
@@ -411,7 +451,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_current($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.eof.php )
|
||||
*
|
||||
@@ -423,7 +463,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_eof($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fflush.php )
|
||||
*
|
||||
@@ -435,7 +475,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fflush($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fgetc.php )
|
||||
*
|
||||
@@ -444,16 +484,16 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
* @return mixed Returns a string containing a single character read
|
||||
* from the file or FALSE on EOF. WarningThis function
|
||||
* may return Boolean FALSE, but may also return a
|
||||
* non-Boolean value which evaluates to FALSE, such as
|
||||
* 0 or "". Please read the section on Booleans for
|
||||
* more information. Use the === operator for testing
|
||||
* the return value of this function.
|
||||
* non-Boolean value which evaluates to FALSE. Please
|
||||
* read the section on Booleans for more information.
|
||||
* Use the === operator for testing the return value of
|
||||
* this function.
|
||||
*/
|
||||
public function fgetc() {
|
||||
return hphp_splfileobject_fgetc($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fgetcsv.php )
|
||||
*
|
||||
@@ -485,7 +525,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
$enclosure, $escape);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fgets.php )
|
||||
*
|
||||
@@ -498,7 +538,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fgets($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fgetss.php )
|
||||
*
|
||||
@@ -507,8 +547,8 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
* text it reads.
|
||||
*
|
||||
* @allowable_tags
|
||||
* mixed You can use the optional third parameter to specify
|
||||
* tags which should not be stripped.
|
||||
* mixed Optional parameter to specify tags which should not
|
||||
* be stripped.
|
||||
*
|
||||
* @return mixed Returns a string containing the next line of the
|
||||
* file with HTML and PHP code stripped, or FALSE on
|
||||
@@ -518,7 +558,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fgetss($this, $allowable_tags);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.flock.php )
|
||||
*
|
||||
@@ -538,7 +578,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_flock($this, $wouldblock);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fpassthru.php )
|
||||
*
|
||||
@@ -556,7 +596,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fpassthru($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fscanf.php )
|
||||
*
|
||||
@@ -570,8 +610,8 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
* @format mixed The specified format as described in the sprintf()
|
||||
* documentation.
|
||||
*
|
||||
* @return mixed If only two parameters were passed to this method,
|
||||
* the values parsed will be returned as an array.
|
||||
* @return mixed If only one parameter is passed to this method, the
|
||||
* values parsed will be returned as an array.
|
||||
* Otherwise, if optional parameters are passed, the
|
||||
* function will return the number of assigned values.
|
||||
* The optional parameters must be passed by reference.
|
||||
@@ -582,7 +622,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fscanf($argc, $this, $format, $argv);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fseek.php )
|
||||
*
|
||||
@@ -608,7 +648,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fseek($this, $offset, $whence);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fstat.php )
|
||||
*
|
||||
@@ -622,7 +662,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fstat($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.ftell.php )
|
||||
*
|
||||
@@ -636,7 +676,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_ftell($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.ftruncate.php )
|
||||
*
|
||||
@@ -656,7 +696,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_ftruncate($this, $size);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.fwrite.php )
|
||||
*
|
||||
@@ -674,7 +714,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_fwrite($this, $str, $length);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.getchildren.php )
|
||||
*
|
||||
@@ -686,7 +726,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return null; // An SplFileOjbect does not have children
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.getcsvcontrol.php
|
||||
* )
|
||||
@@ -700,7 +740,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_getcvscontrol($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.getflags.php )
|
||||
*
|
||||
@@ -712,7 +752,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_getflags($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.getmaxlinelen.php
|
||||
* )
|
||||
@@ -726,7 +766,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_getmaxlinelen($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.haschildren.php )
|
||||
*
|
||||
@@ -739,7 +779,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return false; // An SplFileOjbect does not have children
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.key.php )
|
||||
*
|
||||
@@ -755,7 +795,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
return hphp_splfileobject_key($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.next.php )
|
||||
*
|
||||
@@ -767,7 +807,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_next($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.rewind.php )
|
||||
*
|
||||
@@ -779,7 +819,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_rewind($this);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.seek.php )
|
||||
*
|
||||
@@ -793,7 +833,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_seek($this, $line_pos);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.setcsvcontrol.php
|
||||
* )
|
||||
@@ -811,7 +851,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_setcsvcontrol($this, $delimiter, $enclosure, $escape);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.setflags.php )
|
||||
*
|
||||
@@ -826,7 +866,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_setflags($this, $flags);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.setmaxlinelen.php
|
||||
* )
|
||||
@@ -841,7 +881,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator,
|
||||
hphp_splfileobject_setmaxlinelen($this, $max_len);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splfileobject.valid.php )
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/class.splobjectstorage.php )
|
||||
*
|
||||
@@ -13,7 +13,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
private $storage = array();
|
||||
private $index = 0;
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.rewind.php )
|
||||
*
|
||||
@@ -25,7 +25,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
rewind($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.valid.php )
|
||||
*
|
||||
@@ -38,7 +38,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
return key($this->storage) !== false;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.key.php )
|
||||
*
|
||||
@@ -51,7 +51,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
return $this->index;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.current.php )
|
||||
*
|
||||
@@ -63,7 +63,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
return current($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.next.php )
|
||||
*
|
||||
@@ -76,7 +76,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
$this->index++;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.count.php )
|
||||
*
|
||||
@@ -88,7 +88,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
return count($this->storage);
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.contains.php )
|
||||
*
|
||||
@@ -110,11 +110,11 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.attach.php )
|
||||
*
|
||||
* Adds an object inside the storage, and optionaly associate it to some
|
||||
* Adds an object inside the storage, and optionally associate it to some
|
||||
* data.
|
||||
*
|
||||
* @obj mixed The object to add.
|
||||
@@ -127,7 +127,7 @@ class SplObjectStorage implements Iterator, Countable {
|
||||
}
|
||||
}
|
||||
|
||||
// Do NOT modifiy this doc comment block generated by idl/sysdoc.php
|
||||
// This doc comment block generated by idl/sysdoc.php
|
||||
/**
|
||||
* ( excerpt from http://php.net/manual/en/splobjectstorage.detach.php )
|
||||
*
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário