On Wed, 2003-12-17 at 18:00, Antony Dovgal wrote:
> Hi, all.
> 
> I'm going to rename functions from oci8 to match the naming-conventions.
> Old names will be kept as aliases, of course, but should be deprecated.
> Imho these changes will make OCI extsension more handy and it's API more similar to 
> other extensions' API.
> I'd like to hear your opinions about new names and necessity of this renaming.
> 
> ocibindbyname -> oci_bind_by_name
> ocidefinebyname -> oci_define_by_name
> 
> All Lob functions will be renamed to oci_lob_*
> 
> [...snip...]
> ociinternaldebug -> oci_internal_debug
> 
> ocicancel -> oci_cancel
> ocicommit -> oci_commit
> ocierror -> oci_error
> ociexecute -> oci_execute
> ocifetch -> oci_fetch
> ocilogoff -> oci_logoff (or oci_close ?)
> ocilogon -> oci_logon (or oci_connect ?)
> ocinewcollection -> oci_new_collection
> ocinewcursor -> oci_new_cursor
> ocinewdescriptor -> oci_new_descriptor
> ocinlogon -> oci_new_logon
> ocinumcols -> oci_num_fields
> ociparse -> oci_parse
> ociplogon -> oci_plogon (or oci_pconnect would be better?)
> ociresult -> oci_result
> ocirollback -> oci_rollback
> ocirowcount -> oci_num_rows
> ociserverversion -> oci_server_version
> ocisetprefetch -> oci_set_prefetch
> ocistatementtype -> oci_statement_type

oci_[p]connect() and oci_close() would be consistent with other database
extensions.  Otherwise it looks good to me.

 - Stig

-- 
"Nearly all men can stand adversity, but if you want to test a man's
character, give him power." - Abraham Lincoln

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to