1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 05:37:39 +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
*
* 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.
*
* @link http://dibi.texy.info/
* @license NEW BSD LICENSE
* @package dibi
* @category Database
* @author David Grudl
* @copyright Copyright (c) 2004-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @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/)
*
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* @version $Revision$ $Date$
* @package dibi
*/
@@ -154,7 +153,7 @@ class dibi
* @param array|string connection parameters
* @param string connection name
* @return DibiDriver
* @throw DibiException
* @throws DibiException
*/
static public function connect($config, $name=0)
{
@@ -202,7 +201,7 @@ class dibi
*
* @param string connection registy name
* @return object DibiDriver object.
* @throw DibiException
* @throws DibiException
*/
static public function getConnection($name=NULL)
{
@@ -226,7 +225,7 @@ class dibi
*
* @param string connection registy name
* @return void
* @throw DibiException
* @throws DibiException
*/
static public function activate($name)
{
@@ -240,7 +239,7 @@ class dibi
*
* @param array|mixed one or more arguments
* @return int|DibiResult
* @throw DibiException
* @throws DibiException
*/
static public function query($args)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -34,7 +36,7 @@ class DibiMSSqlDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -35,7 +37,7 @@ class DibiMySqlDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -36,7 +38,7 @@ class DibiMySqliDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -35,7 +37,7 @@ class DibiOdbcDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -34,7 +36,7 @@ class DibiPdoDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -35,7 +37,7 @@ class DibiPostgreDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -36,7 +38,7 @@ class DibiSqliteDriver extends DibiDriver
/**
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -49,7 +51,7 @@ abstract class DibiDriver
/**
* Creates object and (optionally) connects to a database
* @param array connect configuration
* @throw DibiException
* @throws DibiException
*/
public function __construct($config)
{
@@ -61,7 +63,7 @@ abstract class DibiDriver
/**
* Connects to a database
* @throw DibiException
* @throws DibiException
* @return resource
*/
abstract protected function connect();
@@ -98,7 +100,7 @@ abstract class DibiDriver
*
* @param array|mixed one or more arguments
* @return int|DibiResult
* @throw DibiException
* @throws DibiException
*/
public function query($args)
{

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/

View File

@@ -3,10 +3,12 @@
/**
* 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)
* @license New BSD License
* @version $Revision$ $Date$
* @package dibi
* @category Database
* @package Dibi
*/
@@ -43,7 +45,7 @@ class DibiTranslator
*
* @param array
* @return string|FALSE
* @throw DibiException
* @throws DibiException
*/
public function translate($args)
{