Subversion Repositories oidplus

Rev

Rev 786 | Rev 1086 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 786 Rev 1050
Line 15... Line 15...
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 * See the License for the specific language governing permissions and
16
 * See the License for the specific language governing permissions and
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
20
if (!defined('INSIDE_OIDPLUS')) die();
20
namespace ViaThinkSoft\OIDplus;
21
 
21
 
22
class OIDplusQueryResultOci extends OIDplusQueryResult {
22
class OIDplusQueryResultOci extends OIDplusQueryResult {
23
        protected $no_resultset;
23
        protected $no_resultset;
24
        protected $res;
24
        protected $res;
25
 
25
 
Line 81... Line 81...
81
 
81
 
82
                return $ret;
82
                return $ret;
83
        }
83
        }
84
 
84
 
85
        private static function array_to_stdobj($ary) {
85
        private static function array_to_stdobj($ary) {
86
                $obj = new stdClass;
86
                $obj = new \stdClass;
87
                foreach ($ary as $name => $val) {
87
                foreach ($ary as $name => $val) {
88
                        $obj->$name = $val;
88
                        $obj->$name = $val;
89
 
89
 
90
                        // Oracle returns $ret['VALUE'] because unquoted column-names are always upper-case
90
                        // Oracle returns $ret['VALUE'] because unquoted column-names are always upper-case
91
                        // We can't quote every single column throughout the whole program, so we use this workaround...
91
                        // We can't quote every single column throughout the whole program, so we use this workaround...