cvs: pear /MDB2/MDB2/Driver/Function Common.php oci8.php

From: Date: Mon, 17 Oct 2005 10:32:08 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Function Common.php oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35641@lists.php.net to get a copy of this message
quipo Mon Oct 17 06:32:08 2005 EDT Modified files: /pear/MDB2/MDB2/Driver/Function Common.php oci8.php Log: cosmetic fixes http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Function/Common.php?r1=1.4&r2=1.5&ty=u Index: pear/MDB2/MDB2/Driver/Function/Common.php diff -u pear/MDB2/MDB2/Driver/Function/Common.php:1.4 pear/MDB2/MDB2/Driver/Function/Common.php:1.5 --- pear/MDB2/MDB2/Driver/Function/Common.php:1.4 Mon Oct 17 04:28:52 2005 +++ pear/MDB2/MDB2/Driver/Function/Common.php Mon Oct 17 06:32:08 2005 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.4 2005/10/17 08:28:52 lsmith Exp $ +// $Id: Common.php,v 1.5 2005/10/17 10:32:08 quipo Exp $ // /** @@ -60,7 +60,6 @@ */ class MDB2_Driver_Function_Common extends MDB2_Module_Common { - // }}} // {{{ executeStoredProc() /** @@ -96,12 +95,13 @@ * * @return string for internal table used when calling only a function * @access public - **/ + */ function functionTable() { return ''; } + // }}} // {{{ now() /** @@ -135,7 +135,7 @@ * * @return string to call a function to get a substring * @access public - **/ + */ function substring($value, $position = 1, $length = null) { if (!is_null($length)) { @@ -152,11 +152,12 @@ * * @return string to caoncatenate two strings * @access public - **/ + */ function concat($value1, $value2) { return "$value1 || $value2"; } -} + // }}} +} ?> \ No newline at end of file http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Function/oci8.php?r1=1.4&r2=1.5&ty=u Index: pear/MDB2/MDB2/Driver/Function/oci8.php diff -u pear/MDB2/MDB2/Driver/Function/oci8.php:1.4 pear/MDB2/MDB2/Driver/Function/oci8.php:1.5 --- pear/MDB2/MDB2/Driver/Function/oci8.php:1.4 Mon Oct 17 05:13:52 2005 +++ pear/MDB2/MDB2/Driver/Function/oci8.php Mon Oct 17 06:32:08 2005 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.4 2005/10/17 09:13:52 lsmith Exp $ +// $Id: oci8.php,v 1.5 2005/10/17 10:32:08 quipo Exp $ require_once 'MDB2/Driver/Function/Common.php'; @@ -55,7 +55,6 @@ */ class MDB2_Driver_Function_oci8 extends MDB2_Driver_Function_Common { - // }}} // {{{ executeStoredProc() /** @@ -91,12 +90,13 @@ * * @return string for internal table used when calling only a function * @access public - **/ + */ function functionTable() { return ' FROM dual'; } + // }}} // {{{ substring() /** @@ -104,7 +104,7 @@ * * @return string to call a function to get a substring * @access public - **/ + */ function substring($value, $position = 1, $length = null) { if (!is_null($length)) { @@ -112,5 +112,7 @@ } return "SUBST($value, $position)"; } + + // }}} } ?> \ No newline at end of file

« previous php.pear.cvs (#35641) next »