1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 21:28:02 +02:00

updated phpDoc blocks

This commit is contained in:
David Grudl
2007-06-24 23:49:57 +00:00
parent 5ffbe076f3
commit a7ddc1547c
12 changed files with 90 additions and 69 deletions

View File

@@ -8,24 +8,23 @@
* *
* for PHP 5.0.3 and newer * for PHP 5.0.3 and newer
* *
* This source file is subject to the NEW BSD license that is bundled * This source file is subject to the new BSD license that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* @link http://dibi.texy.info/ * @author David Grudl
* @license NEW BSD LICENSE * @copyright Copyright (c) 2004-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @package dibi * @license New BSD License
* @category Database * @version 0.8d (Revision: $WCREV$, Date: $WCDATE$)
* @version 0.8d (Revision: $WCREV$, Date: $WCDATE$) * @category Database
* @package Dibi
* @link http://dibi.texy.info/
*/ */
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @version $Revision$ $Date$
*
* @version $Revision$ $Date$
* @package dibi
*/ */
@@ -154,7 +153,7 @@ class dibi
* @param array|string connection parameters * @param array|string connection parameters
* @param string connection name * @param string connection name
* @return DibiDriver * @return DibiDriver
* @throw DibiException * @throws DibiException
*/ */
static public function connect($config, $name=0) static public function connect($config, $name=0)
{ {
@@ -202,7 +201,7 @@ class dibi
* *
* @param string connection registy name * @param string connection registy name
* @return object DibiDriver object. * @return object DibiDriver object.
* @throw DibiException * @throws DibiException
*/ */
static public function getConnection($name=NULL) static public function getConnection($name=NULL)
{ {
@@ -226,7 +225,7 @@ class dibi
* *
* @param string connection registy name * @param string connection registy name
* @return void * @return void
* @throw DibiException * @throws DibiException
*/ */
static public function activate($name) static public function activate($name)
{ {
@@ -240,7 +239,7 @@ class dibi
* *
* @param array|mixed one or more arguments * @param array|mixed one or more arguments
* @return int|DibiResult * @return int|DibiResult
* @throw DibiException * @throws DibiException
*/ */
static public function query($args) static public function query($args)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -34,7 +36,7 @@ class DibiMSSqlDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -35,7 +37,7 @@ class DibiMySqlDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -36,7 +38,7 @@ class DibiMySqliDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -35,7 +37,7 @@ class DibiOdbcDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -34,7 +36,7 @@ class DibiPdoDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -35,7 +37,7 @@ class DibiPostgreDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -36,7 +38,7 @@ class DibiSqliteDriver extends DibiDriver
/** /**
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -49,7 +51,7 @@ abstract class DibiDriver
/** /**
* Creates object and (optionally) connects to a database * Creates object and (optionally) connects to a database
* @param array connect configuration * @param array connect configuration
* @throw DibiException * @throws DibiException
*/ */
public function __construct($config) public function __construct($config)
{ {
@@ -61,7 +63,7 @@ abstract class DibiDriver
/** /**
* Connects to a database * Connects to a database
* @throw DibiException * @throws DibiException
* @return resource * @return resource
*/ */
abstract protected function connect(); abstract protected function connect();
@@ -98,7 +100,7 @@ abstract class DibiDriver
* *
* @param array|mixed one or more arguments * @param array|mixed one or more arguments
* @return int|DibiResult * @return int|DibiResult
* @throw DibiException * @throws DibiException
*/ */
public function query($args) public function query($args)
{ {

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */

View File

@@ -3,10 +3,12 @@
/** /**
* This file is part of the "dibi" project (http://dibi.texy.info/) * This file is part of the "dibi" project (http://dibi.texy.info/)
* *
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz) * @author David Grudl
* * @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @version $Revision$ $Date$ * @license New BSD License
* @package dibi * @version $Revision$ $Date$
* @category Database
* @package Dibi
*/ */
@@ -43,7 +45,7 @@ class DibiTranslator
* *
* @param array * @param array
* @return string|FALSE * @return string|FALSE
* @throw DibiException * @throws DibiException
*/ */
public function translate($args) public function translate($args)
{ {