mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
updated phpDoc @package
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
* Dibi extension for Nette Framework. Creates 'connection' service.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\nette
|
||||
* @phpversion 5.3
|
||||
*/
|
||||
class DibiNetteExtension extends Nette\Config\CompilerExtension
|
||||
|
@@ -21,6 +21,7 @@ if (interface_exists('Nette\Diagnostics\IBarPanel')) {
|
||||
* Dibi panel for Nette\Diagnostics.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\nette
|
||||
*/
|
||||
class DibiNettePanel extends DibiObject implements IBarPanel
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -66,6 +64,7 @@ class DibiVariable extends DibiDateTime
|
||||
* store connections info.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class dibi
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* dibi connection.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read bool $connected
|
||||
* @property-read mixed $config
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* Default implementation of IDataSource for dibi.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read DibiConnection $connection
|
||||
* @property-read DibiResult $result
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\reflection
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* Reflection metadata class for a database.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read array $tables
|
||||
@@ -131,6 +130,7 @@ class DibiDatabaseInfo extends DibiObject
|
||||
* Reflection metadata class for a database table.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read bool $view
|
||||
@@ -337,6 +337,7 @@ class DibiTableInfo extends DibiObject
|
||||
* Reflection metadata class for a result set.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
*
|
||||
* @property-read array $columns
|
||||
* @property-read array $columnNames
|
||||
@@ -441,6 +442,7 @@ class DibiResultInfo extends DibiObject
|
||||
* Reflection metadata class for a table or result set column.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read string $fullName
|
||||
@@ -647,6 +649,7 @@ class DibiColumnInfo extends DibiObject
|
||||
* Reflection metadata class for a foreign key.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
* @todo
|
||||
*
|
||||
* @property-read string $name
|
||||
@@ -697,6 +700,7 @@ class DibiForeignKeyInfo extends DibiObject
|
||||
* Reflection metadata class for a index or primary key.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi\reflection
|
||||
*
|
||||
* @property-read string $name
|
||||
* @property-read array $columns
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* DateTime with serialization and timestamp support for PHP 5.2.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiDateTime extends DateTime
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* Profiler & logger event.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiEvent
|
||||
{
|
||||
|
@@ -7,24 +7,15 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi\exceptions
|
||||
*/
|
||||
|
||||
|
||||
|
||||
class DibiNotImplementedException extends LogicException
|
||||
{}
|
||||
|
||||
class DibiNotSupportedException extends LogicException
|
||||
{}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* dibi common exception.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiException extends Exception
|
||||
{
|
||||
@@ -73,6 +64,7 @@ class DibiException extends Exception
|
||||
* database server exception.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiDriverException extends DibiException
|
||||
{
|
||||
@@ -138,6 +130,7 @@ class DibiDriverException extends DibiException
|
||||
* PCRE exception.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiPcreException extends Exception {
|
||||
|
||||
@@ -154,3 +147,22 @@ class DibiPcreException extends Exception {
|
||||
parent::__construct(str_replace('%msg', isset($messages[$code]) ? $messages[$code] : 'Unknown error', $message), $code);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiNotImplementedException extends LogicException
|
||||
{}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiNotSupportedException extends LogicException
|
||||
{}
|
||||
|
||||
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* dibi file logger.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiFileLogger extends DibiObject
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* dibi FirePHP logger.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiFirePhpLogger extends DibiObject
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* dibi SQL builder via fluent interfaces. EXPERIMENTAL!
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read string $command
|
||||
* @property-read DibiConnection $connection
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* Lazy cached storage.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
* @internal
|
||||
*/
|
||||
abstract class DibiHashMapBase
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -52,6 +50,7 @@
|
||||
* </code>
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
abstract class DibiObject
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -30,6 +28,7 @@
|
||||
* </code>
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*
|
||||
* @property-read mixed $resource
|
||||
* @property-read IDibiResultDriver $driver
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -26,6 +24,7 @@
|
||||
* </code>
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiResultIterator implements Iterator, Countable
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* Result set single row.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiRow implements ArrayAccess, IteratorAggregate, Countable
|
||||
{
|
||||
|
@@ -7,8 +7,6 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
@@ -17,6 +15,7 @@
|
||||
* dibi SQL translator.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
final class DibiTranslator extends DibiObject
|
||||
{
|
||||
|
@@ -7,14 +7,13 @@
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the file license.txt that was distributed with this source code.
|
||||
*
|
||||
* @package dibi
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Provides an interface between a dataset and data-aware components.
|
||||
* @package dibi
|
||||
*/
|
||||
interface IDataSource extends Countable, IteratorAggregate
|
||||
{
|
||||
@@ -26,6 +25,7 @@ interface IDataSource extends Countable, IteratorAggregate
|
||||
|
||||
/**
|
||||
* Object that is able to generate SQL.
|
||||
* @package dibi
|
||||
*/
|
||||
interface IDibiVariable
|
||||
{
|
||||
@@ -38,6 +38,7 @@ interface IDibiVariable
|
||||
|
||||
/**
|
||||
* dibi driver interface.
|
||||
* @package dibi
|
||||
*/
|
||||
interface IDibiDriver
|
||||
{
|
||||
@@ -147,6 +148,7 @@ interface IDibiDriver
|
||||
|
||||
/**
|
||||
* dibi result set driver interface.
|
||||
* @package dibi
|
||||
*/
|
||||
interface IDibiResultDriver
|
||||
{
|
||||
@@ -211,6 +213,7 @@ interface IDibiResultDriver
|
||||
* dibi driver reflection.
|
||||
*
|
||||
* @author David Grudl
|
||||
* @package dibi
|
||||
*/
|
||||
interface IDibiReflector
|
||||
{
|
||||
|
Reference in New Issue
Block a user