mirror of
https://github.com/dg/dibi.git
synced 2025-08-09 07:37:08 +02:00
added @property phpDoc
This commit is contained in:
@@ -417,7 +417,7 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver
|
||||
// PHP < 5.2.3 compatibility
|
||||
// @see: http://php.net/manual/en/pdostatement.getcolumnmeta.php#pdostatement.getcolumnmeta.changelog
|
||||
$row['table'] = isset($row['table']) ? $row['table'] : NULL;
|
||||
|
||||
|
||||
$res[] = array(
|
||||
'name' => $row['name'],
|
||||
'table' => $row['table'],
|
||||
|
@@ -17,6 +17,14 @@
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read bool $connected
|
||||
* @property-read mixed $config
|
||||
* @property-read IDibiDriver $driver
|
||||
* @property-read int $affectedRows
|
||||
* @property-read int $insertId
|
||||
* @property IDibiProfiler $profiler
|
||||
* @property-read DibiDatabaseInfo $databaseInfo
|
||||
*/
|
||||
class DibiConnection extends DibiObject
|
||||
{
|
||||
|
@@ -17,6 +17,11 @@
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read DibiConnection $connection
|
||||
* @property-read DibiResult $result
|
||||
* @property-read DibiResultIterator $iterator
|
||||
* @property-read int $totalCount
|
||||
*/
|
||||
class DibiDataSource extends DibiObject implements IDataSource
|
||||
{
|
||||
|
@@ -17,6 +17,10 @@
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read array $tables
|
||||
* @property-read array $tableNames
|
||||
*/
|
||||
class DibiDatabaseInfo extends DibiObject
|
||||
{
|
||||
@@ -128,6 +132,14 @@ class DibiDatabaseInfo extends DibiObject
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read bool $view
|
||||
* @property-read array $columns
|
||||
* @property-read array $columnNames
|
||||
* @property-read array $foreignKeys
|
||||
* @property-read array $indexes
|
||||
* @property-read DibiIndexInfo $primaryKey
|
||||
*/
|
||||
class DibiTableInfo extends DibiObject
|
||||
{
|
||||
@@ -327,6 +339,9 @@ class DibiTableInfo extends DibiObject
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read array $columns
|
||||
* @property-read array $columnNames
|
||||
*/
|
||||
class DibiResultInfo extends DibiObject
|
||||
{
|
||||
@@ -428,6 +443,17 @@ class DibiResultInfo extends DibiObject
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read string $fullName
|
||||
* @property-read DibiTableInfo $table
|
||||
* @property-read string $type
|
||||
* @property-read mixed $nativeType
|
||||
* @property-read int $size
|
||||
* @property-read bool $unsigned
|
||||
* @property-read bool $nullable
|
||||
* @property-read bool $autoIncrement
|
||||
* @property-read mixed $default
|
||||
*/
|
||||
class DibiColumnInfo extends DibiObject
|
||||
{
|
||||
@@ -539,7 +565,7 @@ class DibiColumnInfo extends DibiObject
|
||||
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isNullable()
|
||||
@@ -620,6 +646,9 @@ class DibiColumnInfo extends DibiObject
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @todo
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read array $references
|
||||
*/
|
||||
class DibiForeignKeyInfo extends DibiObject
|
||||
{
|
||||
@@ -667,6 +696,11 @@ class DibiForeignKeyInfo extends DibiObject
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read array $columns
|
||||
* @property-read bool $unique
|
||||
* @property-read bool $primary
|
||||
*/
|
||||
class DibiIndexInfo extends DibiObject
|
||||
{
|
||||
|
@@ -17,6 +17,10 @@
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $command
|
||||
* @property-read DibiConnection $connection
|
||||
* @property-read DibiResultIterator $iterator
|
||||
*/
|
||||
class DibiFluent extends DibiObject implements IDataSource
|
||||
{
|
||||
|
@@ -30,6 +30,13 @@
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read mixed $resource
|
||||
* @property-read IDibiDriver $driver
|
||||
* @property-read int $rowCount
|
||||
* @property-read DibiResultIterator $iterator
|
||||
* @property string $rowClass
|
||||
* @property-read DibiResultInfo $info
|
||||
*/
|
||||
class DibiResult extends DibiObject implements IDataSource
|
||||
{
|
||||
|
Reference in New Issue
Block a user