1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 05:37:39 +02:00

updated phpDoc @package

This commit is contained in:
David Grudl
2012-01-03 04:50:11 +01:00
parent dd07d50434
commit dbb72b769b
32 changed files with 49 additions and 68 deletions

View File

@@ -15,6 +15,7 @@
* Dibi extension for Nette Framework. Creates 'connection' service. * Dibi extension for Nette Framework. Creates 'connection' service.
* *
* @author David Grudl * @author David Grudl
* @package dibi\nette
* @phpversion 5.3 * @phpversion 5.3
*/ */
class DibiNetteExtension extends Nette\Config\CompilerExtension class DibiNetteExtension extends Nette\Config\CompilerExtension

View File

@@ -21,6 +21,7 @@ if (interface_exists('Nette\Diagnostics\IBarPanel')) {
* Dibi panel for Nette\Diagnostics. * Dibi panel for Nette\Diagnostics.
* *
* @author David Grudl * @author David Grudl
* @package dibi\nette
*/ */
class DibiNettePanel extends DibiObject implements IBarPanel class DibiNettePanel extends DibiObject implements IBarPanel
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -66,6 +64,7 @@ class DibiVariable extends DibiDateTime
* store connections info. * store connections info.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class dibi class dibi
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\drivers
*/ */

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* dibi connection. * dibi connection.
* *
* @author David Grudl * @author David Grudl
* @package dibi
* *
* @property-read bool $connected * @property-read bool $connected
* @property-read mixed $config * @property-read mixed $config

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* Default implementation of IDataSource for dibi. * Default implementation of IDataSource for dibi.
* *
* @author David Grudl * @author David Grudl
* @package dibi
* *
* @property-read DibiConnection $connection * @property-read DibiConnection $connection
* @property-read DibiResult $result * @property-read DibiResult $result

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi\reflection
*/ */
@@ -17,6 +15,7 @@
* Reflection metadata class for a database. * Reflection metadata class for a database.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* *
* @property-read string $name * @property-read string $name
* @property-read array $tables * @property-read array $tables
@@ -131,6 +130,7 @@ class DibiDatabaseInfo extends DibiObject
* Reflection metadata class for a database table. * Reflection metadata class for a database table.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* *
* @property-read string $name * @property-read string $name
* @property-read bool $view * @property-read bool $view
@@ -337,6 +337,7 @@ class DibiTableInfo extends DibiObject
* Reflection metadata class for a result set. * Reflection metadata class for a result set.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* *
* @property-read array $columns * @property-read array $columns
* @property-read array $columnNames * @property-read array $columnNames
@@ -441,6 +442,7 @@ class DibiResultInfo extends DibiObject
* Reflection metadata class for a table or result set column. * Reflection metadata class for a table or result set column.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* *
* @property-read string $name * @property-read string $name
* @property-read string $fullName * @property-read string $fullName
@@ -647,6 +649,7 @@ class DibiColumnInfo extends DibiObject
* Reflection metadata class for a foreign key. * Reflection metadata class for a foreign key.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* @todo * @todo
* *
* @property-read string $name * @property-read string $name
@@ -697,6 +700,7 @@ class DibiForeignKeyInfo extends DibiObject
* Reflection metadata class for a index or primary key. * Reflection metadata class for a index or primary key.
* *
* @author David Grudl * @author David Grudl
* @package dibi\reflection
* *
* @property-read string $name * @property-read string $name
* @property-read array $columns * @property-read array $columns

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * 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. * DateTime with serialization and timestamp support for PHP 5.2.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiDateTime extends DateTime class DibiDateTime extends DateTime
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* Profiler & logger event. * Profiler & logger event.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiEvent class DibiEvent
{ {

View File

@@ -7,24 +7,15 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * 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. * dibi common exception.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiException extends Exception class DibiException extends Exception
{ {
@@ -73,6 +64,7 @@ class DibiException extends Exception
* database server exception. * database server exception.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiDriverException extends DibiException class DibiDriverException extends DibiException
{ {
@@ -138,6 +130,7 @@ class DibiDriverException extends DibiException
* PCRE exception. * PCRE exception.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiPcreException extends Exception { 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); 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
{}

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* dibi file logger. * dibi file logger.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiFileLogger extends DibiObject class DibiFileLogger extends DibiObject
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* dibi FirePHP logger. * dibi FirePHP logger.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiFirePhpLogger extends DibiObject class DibiFirePhpLogger extends DibiObject
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* dibi SQL builder via fluent interfaces. EXPERIMENTAL! * dibi SQL builder via fluent interfaces. EXPERIMENTAL!
* *
* @author David Grudl * @author David Grudl
* @package dibi
* *
* @property-read string $command * @property-read string $command
* @property-read DibiConnection $connection * @property-read DibiConnection $connection

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* Lazy cached storage. * Lazy cached storage.
* *
* @author David Grudl * @author David Grudl
* @package dibi
* @internal * @internal
*/ */
abstract class DibiHashMapBase abstract class DibiHashMapBase

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -52,6 +50,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
abstract class DibiObject abstract class DibiObject
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -30,6 +28,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @package dibi
* *
* @property-read mixed $resource * @property-read mixed $resource
* @property-read IDibiResultDriver $driver * @property-read IDibiResultDriver $driver

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -26,6 +24,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiResultIterator implements Iterator, Countable class DibiResultIterator implements Iterator, Countable
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* Result set single row. * Result set single row.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
class DibiRow implements ArrayAccess, IteratorAggregate, Countable class DibiRow implements ArrayAccess, IteratorAggregate, Countable
{ {

View File

@@ -7,8 +7,6 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
@@ -17,6 +15,7 @@
* dibi SQL translator. * dibi SQL translator.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
final class DibiTranslator extends DibiObject final class DibiTranslator extends DibiObject
{ {

View File

@@ -7,14 +7,13 @@
* *
* For the full copyright and license information, please view * For the full copyright and license information, please view
* the file license.txt that was distributed with this source code. * the file license.txt that was distributed with this source code.
*
* @package dibi
*/ */
/** /**
* Provides an interface between a dataset and data-aware components. * Provides an interface between a dataset and data-aware components.
* @package dibi
*/ */
interface IDataSource extends Countable, IteratorAggregate interface IDataSource extends Countable, IteratorAggregate
{ {
@@ -26,6 +25,7 @@ interface IDataSource extends Countable, IteratorAggregate
/** /**
* Object that is able to generate SQL. * Object that is able to generate SQL.
* @package dibi
*/ */
interface IDibiVariable interface IDibiVariable
{ {
@@ -38,6 +38,7 @@ interface IDibiVariable
/** /**
* dibi driver interface. * dibi driver interface.
* @package dibi
*/ */
interface IDibiDriver interface IDibiDriver
{ {
@@ -147,6 +148,7 @@ interface IDibiDriver
/** /**
* dibi result set driver interface. * dibi result set driver interface.
* @package dibi
*/ */
interface IDibiResultDriver interface IDibiResultDriver
{ {
@@ -211,6 +213,7 @@ interface IDibiResultDriver
* dibi driver reflection. * dibi driver reflection.
* *
* @author David Grudl * @author David Grudl
* @package dibi
*/ */
interface IDibiReflector interface IDibiReflector
{ {