PHP: Zend framework and Oracle cursors
Working with Oracle cursors is in Zend very limited. There is only a simple class Zend_Db_Cursor_Oracle that can handle SQL query and return the whole result.
In more complicated situations, we need to bind multiple variables, returning only part of the result, etc..
We will customize class Zend_Db_Adapter_Oracle and prepare to the processing cursors
In first step we will prepare functions which execute query: