par
jeff » 16 mars 2006, 16:37
salut
c'est pas avec la doc que tu va t'en sortir
peut eter en appelent le constructeur de arrayobjetc dans ta class derivée?
class ArrayObject implements IteratorAggregate, ArrayAccess, Countable
00600 {
00603 const STD_PROP_LIST = 0x00000001;
00605 const ARRAY_AS_PROPS = 0x00000002;
00606
00614 function __construct($array, $flags = 0, $iterator_class = "ArrayIterator") {}
00615
00623 function setFlags($flags) {}
00624
00627 function getFlags() {}
00628
00631 function asort() {}
00632
00635 function ksort() {}
00636
00639 function uasort(mixed cmp_function) {}
00640
00643 function uksort(mixed cmp_function) {}
00644
00647 function natsort() {}
00648
00651 function natcasesort() {}
00652
00655 function exchangeArray($array) {}
00656
00660 function getIterator() {}
00661
00665 function offsetExists($index) {}
00666
00670 function offsetGet($index) {}
00671
00675 function offsetSet($index, $newval) {}
00676
00679 function offsetUnset($index) {}
00680
00685 function append($value) {}
00686
00691 function getArrayCopy() {}
00692
00696 function count() {}
00697
00698 /* @param $iterator_class new class used in getIterator()
00699 */
00700 function setIteratorClass($itertor_class) {}
00701
00702 /* @return class used in getIterator()
00703 */
00704 function getIteratorClass() {}
00705 }
http://www.php.net/~helly/php/ext/spl/
ca peut peut eter t'aider
salut
c'est pas avec la doc que tu va t'en sortir :?
peut eter en appelent le constructeur de arrayobjetc dans ta class derivée?
[php]class ArrayObject implements IteratorAggregate, ArrayAccess, Countable
00600 {
00603 const STD_PROP_LIST = 0x00000001;
00605 const ARRAY_AS_PROPS = 0x00000002;
00606
00614 function __construct($array, $flags = 0, $iterator_class = "ArrayIterator") {}
00615
00623 function setFlags($flags) {}
00624
00627 function getFlags() {}
00628
00631 function asort() {}
00632
00635 function ksort() {}
00636
00639 function uasort(mixed cmp_function) {}
00640
00643 function uksort(mixed cmp_function) {}
00644
00647 function natsort() {}
00648
00651 function natcasesort() {}
00652
00655 function exchangeArray($array) {}
00656
00660 function getIterator() {}
00661
00665 function offsetExists($index) {}
00666
00670 function offsetGet($index) {}
00671
00675 function offsetSet($index, $newval) {}
00676
00679 function offsetUnset($index) {}
00680
00685 function append($value) {}
00686
00691 function getArrayCopy() {}
00692
00696 function count() {}
00697
00698 /* @param $iterator_class new class used in getIterator()
00699 */
00700 function setIteratorClass($itertor_class) {}
00701
00702 /* @return class used in getIterator()
00703 */
00704 function getIteratorClass() {}
00705 }[/php]
[url]http://www.php.net/~helly/php/ext/spl/[/url]
ca peut peut eter t'aider