oci8 extension reference
| From: | techtonik | Date: | Tue, 23 Nov 2004 16:47:58 +0000 |
| Subject: | oci8 extension reference | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365199@lists.php.net to get a copy of this message | ||
Hello, phpdoc@lists.php.net
I was about to fix oci8 extensions ID's to support case-sensitive
convention when I spot some strange things in the docs. For example
I take ocicollappend() description before my patch to it:
>------------------
>ocicollappend
>Append an object to the collection (PHP 4 >= 4.0.6, PHP 5)
>
>bool ocicollappend ( string value )
>Note:
>This function was renamed to oci_collection_append() after PHP >=
>5.0.0. For downward compatibility ocicollappend() can also be used.
>This is deprecated, however.
>------------------
Link to oci_collection_append() leads to following _method_ description
>------------------
>collection->append
>Appends an object to the collection ()
>
>bool collection->append ( mixed value )
>
>Appends an object to the end of the collection. Parameter value can be
>a string or a number.
>
>Returns TRUE on success or FALSE on failure.
>------------------
The problem: Is there oci_collection_append() function in PHP5 or
there is only a class method?
If PHP5 has this function defined then it will be impossible to make
a link from "Collection->append" to "oci-collection-append". What to
do with such function aliases? Make two separate pages?
Even if I can make Collection class written like OCI-Collection to get
correct ID in combination with method name (OCI-Collection->append
transforms to oci-collection-append perfectly). Even in that case what
to do with Collection->free() method and corresponding
oci_free_collection() function which is (according to manual) replaced
ocifreecollection() in PHP5?
t
--
--[ http://wiki.phpdoc.info/DocLinks ]--