Merge commit 'upstream/master'
This commit is contained in:
commit
64309398e2
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
namespace Doctrine\DBAL;
|
namespace Doctrine\DBAL;
|
||||||
|
|
||||||
use PDO, Closure,
|
use PDO, Closure, Exception,
|
||||||
Doctrine\DBAL\Types\Type,
|
Doctrine\DBAL\Types\Type,
|
||||||
Doctrine\DBAL\Driver\Connection as DriverConnection,
|
Doctrine\DBAL\Driver\Connection as DriverConnection,
|
||||||
Doctrine\Common\EventManager,
|
Doctrine\Common\EventManager,
|
||||||
@ -705,6 +705,28 @@ class Connection implements DriverConnection
|
|||||||
return $this->_conn->lastInsertId($seqName);
|
return $this->_conn->lastInsertId($seqName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Executes a function in a transaction.
|
||||||
|
*
|
||||||
|
* The function gets passed this Connection instance as an (optional) parameter.
|
||||||
|
*
|
||||||
|
* If an exception occurs during execution of the function or transaction commit,
|
||||||
|
* the transaction is rolled back and the exception re-thrown.
|
||||||
|
*
|
||||||
|
* @param Closure $func The function to execute transactionally.
|
||||||
|
*/
|
||||||
|
public function transactional(Closure $func)
|
||||||
|
{
|
||||||
|
$this->beginTransaction();
|
||||||
|
try {
|
||||||
|
$func($this);
|
||||||
|
$this->commit();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
$this->rollback();
|
||||||
|
throw $e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Starts a transaction by suspending auto-commit mode.
|
* Starts a transaction by suspending auto-commit mode.
|
||||||
*
|
*
|
||||||
@ -731,7 +753,7 @@ class Connection implements DriverConnection
|
|||||||
public function commit()
|
public function commit()
|
||||||
{
|
{
|
||||||
if ($this->_transactionNestingLevel == 0) {
|
if ($this->_transactionNestingLevel == 0) {
|
||||||
throw ConnectionException::commitFailedNoActiveTransaction();
|
throw ConnectionException::noActiveTransaction();
|
||||||
}
|
}
|
||||||
if ($this->_isRollbackOnly) {
|
if ($this->_isRollbackOnly) {
|
||||||
throw ConnectionException::commitFailedRollbackOnly();
|
throw ConnectionException::commitFailedRollbackOnly();
|
||||||
@ -757,7 +779,7 @@ class Connection implements DriverConnection
|
|||||||
public function rollback()
|
public function rollback()
|
||||||
{
|
{
|
||||||
if ($this->_transactionNestingLevel == 0) {
|
if ($this->_transactionNestingLevel == 0) {
|
||||||
throw ConnectionException::rollbackFailedNoActiveTransaction();
|
throw ConnectionException::noActiveTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->connect();
|
$this->connect();
|
||||||
|
@ -175,7 +175,8 @@ class OCI8Statement implements \Doctrine\DBAL\Driver\Statement
|
|||||||
}
|
}
|
||||||
|
|
||||||
$result = array();
|
$result = array();
|
||||||
oci_fetch_all($this->_sth, $result, 0, -1, self::$fetchStyleMap[$fetchStyle] | OCI_RETURN_NULLS | OCI_FETCHSTATEMENT_BY_ROW);
|
oci_fetch_all($this->_sth, $result, 0, -1,
|
||||||
|
self::$fetchStyleMap[$fetchStyle] | OCI_RETURN_NULLS | OCI_FETCHSTATEMENT_BY_ROW | OCI_RETURN_LOBS);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
42
lib/Doctrine/DBAL/LockMode.php
Normal file
42
lib/Doctrine/DBAL/LockMode.php
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* This software consists of voluntary contributions made by many individuals
|
||||||
|
* and is licensed under the LGPL. For more information, see
|
||||||
|
* <http://www.doctrine-project.org>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Doctrine\DBAL;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains all ORM LockModes
|
||||||
|
*
|
||||||
|
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
||||||
|
* @link www.doctrine-project.com
|
||||||
|
* @since 1.0
|
||||||
|
* @version $Revision$
|
||||||
|
* @author Benjamin Eberlei <kontakt@beberlei.de>
|
||||||
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
|
*/
|
||||||
|
class LockMode
|
||||||
|
{
|
||||||
|
const NONE = 0;
|
||||||
|
const OPTIMISTIC = 1;
|
||||||
|
const PESSIMISTIC_READ = 2;
|
||||||
|
const PESSIMISTIC_WRITE = 4;
|
||||||
|
|
||||||
|
final private function __construct() { }
|
||||||
|
}
|
@ -488,11 +488,48 @@ abstract class AbstractPlatform
|
|||||||
return 'COS(' . $value . ')';
|
return 'COS(' . $value . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getForUpdateSql()
|
public function getForUpdateSQL()
|
||||||
{
|
{
|
||||||
return 'FOR UPDATE';
|
return 'FOR UPDATE';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Honors that some SQL vendors such as MsSql use table hints for locking instead of the ANSI SQL FOR UPDATE specification.
|
||||||
|
*
|
||||||
|
* @param string $fromClause
|
||||||
|
* @param int $lockMode
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function appendLockHint($fromClause, $lockMode)
|
||||||
|
{
|
||||||
|
return $fromClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the sql snippet to append to any SELECT statement which locks rows in shared read lock.
|
||||||
|
*
|
||||||
|
* This defaults to the ASNI SQL "FOR UPDATE", which is an exclusive lock (Write). Some database
|
||||||
|
* vendors allow to lighten this constraint up to be a real read lock.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getReadLockSQL()
|
||||||
|
{
|
||||||
|
return $this->getForUpdateSQL();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the SQL snippet to append to any SELECT statement which obtains an exclusive lock on the rows.
|
||||||
|
*
|
||||||
|
* The semantics of this lock mode should equal the SELECT .. FOR UPDATE of the ASNI SQL standard.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getWriteLockSQL()
|
||||||
|
{
|
||||||
|
return $this->getForUpdateSQL();
|
||||||
|
}
|
||||||
|
|
||||||
public function getDropDatabaseSQL($database)
|
public function getDropDatabaseSQL($database)
|
||||||
{
|
{
|
||||||
return 'DROP DATABASE ' . $database;
|
return 'DROP DATABASE ' . $database;
|
||||||
|
@ -513,4 +513,9 @@ class DB2Platform extends AbstractPlatform
|
|||||||
{
|
{
|
||||||
return strtoupper($column);
|
return strtoupper($column);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getForUpdateSQL()
|
||||||
|
{
|
||||||
|
return ' WITH RR USE AND KEEP UPDATE LOCKS';
|
||||||
|
}
|
||||||
}
|
}
|
@ -483,4 +483,32 @@ class MsSqlPlatform extends AbstractPlatform
|
|||||||
{
|
{
|
||||||
return 'TRUNCATE TABLE '.$tableName;
|
return 'TRUNCATE TABLE '.$tableName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MsSql uses Table Hints for locking strategies instead of the ANSI SQL FOR UPDATE like hints.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getForUpdateSQL()
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @license LGPL
|
||||||
|
* @author Hibernate
|
||||||
|
* @param string $fromClause
|
||||||
|
* @param int $lockMode
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function appendLockHint($fromClause, $lockMode)
|
||||||
|
{
|
||||||
|
if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_WRITE) {
|
||||||
|
return $fromClause . " WITH (UPDLOCK, ROWLOCK)";
|
||||||
|
} else if ( $lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_READ ) {
|
||||||
|
return $fromClause . " WITH (HOLDLOCK, ROWLOCK)";
|
||||||
|
} else {
|
||||||
|
return $fromClause;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -583,4 +583,9 @@ class MySqlPlatform extends AbstractPlatform
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getReadLockSQL()
|
||||||
|
{
|
||||||
|
return 'LOCK IN SHARE MODE';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -637,4 +637,9 @@ class PostgreSqlPlatform extends AbstractPlatform
|
|||||||
{
|
{
|
||||||
return 'TRUNCATE '.$tableName.' '.($cascade)?'CASCADE':'';
|
return 'TRUNCATE '.$tableName.' '.($cascade)?'CASCADE':'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getReadLockSQL()
|
||||||
|
{
|
||||||
|
return 'FOR SHARE';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -428,4 +428,9 @@ class SqlitePlatform extends AbstractPlatform
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getForUpdateSql()
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -463,7 +463,7 @@ abstract class AbstractQuery
|
|||||||
public function iterate(array $params = array(), $hydrationMode = self::HYDRATE_OBJECT)
|
public function iterate(array $params = array(), $hydrationMode = self::HYDRATE_OBJECT)
|
||||||
{
|
{
|
||||||
return $this->_em->newHydrator($this->_hydrationMode)->iterate(
|
return $this->_em->newHydrator($this->_hydrationMode)->iterate(
|
||||||
$this->_doExecute($params, $hydrationMode), $this->_resultSetMapping
|
$this->_doExecute($params, $hydrationMode), $this->_resultSetMapping, $this->_hints
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,8 +19,10 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM;
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\EventManager,
|
use Closure, Exception,
|
||||||
|
Doctrine\Common\EventManager,
|
||||||
Doctrine\DBAL\Connection,
|
Doctrine\DBAL\Connection,
|
||||||
|
Doctrine\DBAL\LockMode,
|
||||||
Doctrine\ORM\Mapping\ClassMetadata,
|
Doctrine\ORM\Mapping\ClassMetadata,
|
||||||
Doctrine\ORM\Mapping\ClassMetadataFactory,
|
Doctrine\ORM\Mapping\ClassMetadataFactory,
|
||||||
Doctrine\ORM\Proxy\ProxyFactory;
|
Doctrine\ORM\Proxy\ProxyFactory;
|
||||||
@ -176,6 +178,32 @@ class EntityManager
|
|||||||
$this->_conn->beginTransaction();
|
$this->_conn->beginTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Executes a function in a transaction.
|
||||||
|
*
|
||||||
|
* The function gets passed this EntityManager instance as an (optional) parameter.
|
||||||
|
*
|
||||||
|
* {@link flush} is invoked prior to transaction commit.
|
||||||
|
*
|
||||||
|
* If an exception occurs during execution of the function or flushing or transaction commit,
|
||||||
|
* the transaction is rolled back, the EntityManager closed and the exception re-thrown.
|
||||||
|
*
|
||||||
|
* @param Closure $func The function to execute transactionally.
|
||||||
|
*/
|
||||||
|
public function transactional(Closure $func)
|
||||||
|
{
|
||||||
|
$this->_conn->beginTransaction();
|
||||||
|
try {
|
||||||
|
$func($this);
|
||||||
|
$this->flush();
|
||||||
|
$this->_conn->commit();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
$this->close();
|
||||||
|
$this->_conn->rollback();
|
||||||
|
throw $e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Commits a transaction on the underlying database connection.
|
* Commits a transaction on the underlying database connection.
|
||||||
*
|
*
|
||||||
@ -291,11 +319,13 @@ class EntityManager
|
|||||||
*
|
*
|
||||||
* @param string $entityName
|
* @param string $entityName
|
||||||
* @param mixed $identifier
|
* @param mixed $identifier
|
||||||
|
* @param int $lockMode
|
||||||
|
* @param int $lockVersion
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
public function find($entityName, $identifier)
|
public function find($entityName, $identifier, $lockMode = LockMode::NONE, $lockVersion = null)
|
||||||
{
|
{
|
||||||
return $this->getRepository($entityName)->find($identifier);
|
return $this->getRepository($entityName)->find($identifier, $lockMode, $lockVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -451,6 +481,20 @@ class EntityManager
|
|||||||
throw new \BadMethodCallException("Not implemented.");
|
throw new \BadMethodCallException("Not implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Acquire a lock on the given entity.
|
||||||
|
*
|
||||||
|
* @param object $entity
|
||||||
|
* @param int $lockMode
|
||||||
|
* @param int $lockVersion
|
||||||
|
* @throws OptimisticLockException
|
||||||
|
* @throws PessimisticLockException
|
||||||
|
*/
|
||||||
|
public function lock($entity, $lockMode, $lockVersion = null)
|
||||||
|
{
|
||||||
|
$this->_unitOfWork->lock($entity, $lockMode, $lockVersion);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the repository for an entity class.
|
* Gets the repository for an entity class.
|
||||||
*
|
*
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM;
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
|
use Doctrine\DBAL\LockMode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An EntityRepository serves as a repository for entities with generic as well as
|
* An EntityRepository serves as a repository for entities with generic as well as
|
||||||
* business specific methods for retrieving entities.
|
* business specific methods for retrieving entities.
|
||||||
@ -87,23 +89,45 @@ class EntityRepository
|
|||||||
* Finds an entity by its primary key / identifier.
|
* Finds an entity by its primary key / identifier.
|
||||||
*
|
*
|
||||||
* @param $id The identifier.
|
* @param $id The identifier.
|
||||||
* @param int $hydrationMode The hydration mode to use.
|
* @param int $lockMode
|
||||||
|
* @param int $lockVersion
|
||||||
* @return object The entity.
|
* @return object The entity.
|
||||||
*/
|
*/
|
||||||
public function find($id)
|
public function find($id, $lockMode = LockMode::NONE, $lockVersion = null)
|
||||||
{
|
{
|
||||||
// Check identity map first
|
// Check identity map first
|
||||||
if ($entity = $this->_em->getUnitOfWork()->tryGetById($id, $this->_class->rootEntityName)) {
|
if ($entity = $this->_em->getUnitOfWork()->tryGetById($id, $this->_class->rootEntityName)) {
|
||||||
|
if ($lockMode != LockMode::NONE) {
|
||||||
|
$this->_em->lock($entity, $lockMode, $lockVersion);
|
||||||
|
}
|
||||||
|
|
||||||
return $entity; // Hit!
|
return $entity; // Hit!
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! is_array($id) || count($id) <= 1) {
|
if ( ! is_array($id) || count($id) <= 1) {
|
||||||
//FIXME: Not correct. Relies on specific order.
|
// @todo FIXME: Not correct. Relies on specific order.
|
||||||
$value = is_array($id) ? array_values($id) : array($id);
|
$value = is_array($id) ? array_values($id) : array($id);
|
||||||
$id = array_combine($this->_class->identifier, $value);
|
$id = array_combine($this->_class->identifier, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName)->load($id);
|
if ($lockMode == LockMode::NONE) {
|
||||||
|
return $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName)->load($id);
|
||||||
|
} else if ($lockMode == LockMode::OPTIMISTIC) {
|
||||||
|
if (!$this->_class->isVersioned) {
|
||||||
|
throw OptimisticLockException::notVersioned($this->_entityName);
|
||||||
|
}
|
||||||
|
$entity = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName)->load($id);
|
||||||
|
|
||||||
|
$this->_em->getUnitOfWork()->lock($entity, $lockMode, $lockVersion);
|
||||||
|
|
||||||
|
return $entity;
|
||||||
|
} else {
|
||||||
|
if (!$this->_em->getConnection()->isTransactionActive()) {
|
||||||
|
throw TransactionRequiredException::transactionRequired();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName)->load($id, null, null, array(), $lockMode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -78,13 +78,6 @@ class DatabaseDriver implements Driver
|
|||||||
$ids = array();
|
$ids = array();
|
||||||
$fieldMappings = array();
|
$fieldMappings = array();
|
||||||
foreach ($columns as $column) {
|
foreach ($columns as $column) {
|
||||||
// Skip columns that are foreign keys
|
|
||||||
foreach ($foreignKeys as $foreignKey) {
|
|
||||||
if (in_array(strtolower($column->getName()), array_map('strtolower', $foreignKey->getColumns()))) {
|
|
||||||
continue(2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$fieldMapping = array();
|
$fieldMapping = array();
|
||||||
if (isset($indexes['primary']) && in_array($column->getName(), $indexes['primary']->getColumns())) {
|
if (isset($indexes['primary']) && in_array($column->getName(), $indexes['primary']->getColumns())) {
|
||||||
$fieldMapping['id'] = true;
|
$fieldMapping['id'] = true;
|
||||||
@ -100,7 +93,7 @@ class DatabaseDriver implements Driver
|
|||||||
} else if ($column->getType() instanceof \Doctrine\DBAL\Types\IntegerType) {
|
} else if ($column->getType() instanceof \Doctrine\DBAL\Types\IntegerType) {
|
||||||
$fieldMapping['unsigned'] = $column->getUnsigned();
|
$fieldMapping['unsigned'] = $column->getUnsigned();
|
||||||
}
|
}
|
||||||
$fieldMapping['notnull'] = $column->getNotNull();
|
$fieldMapping['nullable'] = $column->getNotNull() ? false : true;
|
||||||
|
|
||||||
if (isset($fieldMapping['id'])) {
|
if (isset($fieldMapping['id'])) {
|
||||||
$ids[] = $fieldMapping;
|
$ids[] = $fieldMapping;
|
||||||
|
@ -24,6 +24,7 @@ namespace Doctrine\ORM;
|
|||||||
* that uses optimistic locking through a version field fails.
|
* that uses optimistic locking through a version field fails.
|
||||||
*
|
*
|
||||||
* @author Roman Borschel <roman@code-factory.org>
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
|
* @author Benjamin Eberlei <kontakt@beberlei.de>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
class OptimisticLockException extends ORMException
|
class OptimisticLockException extends ORMException
|
||||||
@ -49,4 +50,14 @@ class OptimisticLockException extends ORMException
|
|||||||
{
|
{
|
||||||
return new self("The optimistic lock on an entity failed.", $entity);
|
return new self("The optimistic lock on an entity failed.", $entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function lockFailedVersionMissmatch($entity, $expectedLockVersion, $actualLockVersion)
|
||||||
|
{
|
||||||
|
return new self("The optimistic lock failed, version " . $expectedLockVersion . " was expected, but is actually ".$actualLockVersion, $entity);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function notVersioned($entityName)
|
||||||
|
{
|
||||||
|
return new self("Cannot obtain optimistic lock on unversioned entity " . $entityName, null);
|
||||||
|
}
|
||||||
}
|
}
|
@ -482,12 +482,13 @@ class BasicEntityPersister
|
|||||||
* a new entity is created.
|
* a new entity is created.
|
||||||
* @param $assoc The association that connects the entity to load to another entity, if any.
|
* @param $assoc The association that connects the entity to load to another entity, if any.
|
||||||
* @param array $hints Hints for entity creation.
|
* @param array $hints Hints for entity creation.
|
||||||
|
* @param int $lockMode
|
||||||
* @return object The loaded and managed entity instance or NULL if the entity can not be found.
|
* @return object The loaded and managed entity instance or NULL if the entity can not be found.
|
||||||
* @todo Check identity map? loadById method? Try to guess whether $criteria is the id?
|
* @todo Check identity map? loadById method? Try to guess whether $criteria is the id?
|
||||||
*/
|
*/
|
||||||
public function load(array $criteria, $entity = null, $assoc = null, array $hints = array())
|
public function load(array $criteria, $entity = null, $assoc = null, array $hints = array(), $lockMode = 0)
|
||||||
{
|
{
|
||||||
$sql = $this->_getSelectEntitiesSQL($criteria, $assoc);
|
$sql = $this->_getSelectEntitiesSQL($criteria, $assoc, $lockMode);
|
||||||
$stmt = $this->_conn->executeQuery($sql, array_values($criteria));
|
$stmt = $this->_conn->executeQuery($sql, array_values($criteria));
|
||||||
$result = $stmt->fetch(PDO::FETCH_ASSOC);
|
$result = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
$stmt->closeCursor();
|
$stmt->closeCursor();
|
||||||
@ -772,10 +773,12 @@ class BasicEntityPersister
|
|||||||
*
|
*
|
||||||
* @param array $criteria
|
* @param array $criteria
|
||||||
* @param AssociationMapping $assoc
|
* @param AssociationMapping $assoc
|
||||||
|
* @param string $orderBy
|
||||||
|
* @param int $lockMode
|
||||||
* @return string
|
* @return string
|
||||||
* @todo Refactor: _getSelectSQL(...)
|
* @todo Refactor: _getSelectSQL(...)
|
||||||
*/
|
*/
|
||||||
protected function _getSelectEntitiesSQL(array $criteria, $assoc = null)
|
protected function _getSelectEntitiesSQL(array $criteria, $assoc = null, $lockMode = 0)
|
||||||
{
|
{
|
||||||
$joinSql = $assoc != null && $assoc->isManyToMany() ?
|
$joinSql = $assoc != null && $assoc->isManyToMany() ?
|
||||||
$this->_getSelectManyToManyJoinSQL($assoc) : '';
|
$this->_getSelectManyToManyJoinSQL($assoc) : '';
|
||||||
@ -786,12 +789,20 @@ class BasicEntityPersister
|
|||||||
$this->_getCollectionOrderBySQL($assoc->orderBy, $this->_getSQLTableAlias($this->_class->name))
|
$this->_getCollectionOrderBySQL($assoc->orderBy, $this->_getSQLTableAlias($this->_class->name))
|
||||||
: '';
|
: '';
|
||||||
|
|
||||||
|
$lockSql = '';
|
||||||
|
if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_READ) {
|
||||||
|
$lockSql = ' ' . $this->_platform->getReadLockSql();
|
||||||
|
} else if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_WRITE) {
|
||||||
|
$lockSql = ' ' . $this->_platform->getWriteLockSql();
|
||||||
|
}
|
||||||
|
|
||||||
return 'SELECT ' . $this->_getSelectColumnListSQL()
|
return 'SELECT ' . $this->_getSelectColumnListSQL()
|
||||||
. ' FROM ' . $this->_class->getQuotedTableName($this->_platform) . ' '
|
. ' FROM ' . $this->_class->getQuotedTableName($this->_platform) . ' '
|
||||||
. $this->_getSQLTableAlias($this->_class->name)
|
. $this->_getSQLTableAlias($this->_class->name)
|
||||||
. $joinSql
|
. $joinSql
|
||||||
. ($conditionSql ? ' WHERE ' . $conditionSql : '')
|
. ($conditionSql ? ' WHERE ' . $conditionSql : '')
|
||||||
. $orderBySql;
|
. $orderBySql
|
||||||
|
. $lockSql;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1006,6 +1017,30 @@ class BasicEntityPersister
|
|||||||
return $tableAlias;
|
return $tableAlias;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lock all rows of this entity matching the given criteria with the specified pessimistic lock mode
|
||||||
|
*
|
||||||
|
* @param array $criteria
|
||||||
|
* @param int $lockMode
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function lock(array $criteria, $lockMode)
|
||||||
|
{
|
||||||
|
$conditionSql = $this->_getSelectConditionSQL($criteria);
|
||||||
|
|
||||||
|
if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_READ) {
|
||||||
|
$lockSql = $this->_platform->getReadLockSql();
|
||||||
|
} else if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_WRITE) {
|
||||||
|
$lockSql = $this->_platform->getWriteLockSql();
|
||||||
|
}
|
||||||
|
|
||||||
|
$sql = 'SELECT 1 FROM ' . $this->_class->getQuotedTableName($this->_platform) . ' '
|
||||||
|
. $this->_getSQLTableAlias($this->_class->name)
|
||||||
|
. ($conditionSql ? ' WHERE ' . $conditionSql : '') . ' ' . $lockSql;
|
||||||
|
$params = array_values($criteria);
|
||||||
|
$this->_conn->executeQuery($sql, $params);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the conditional SQL fragment used in the WHERE clause when selecting
|
* Gets the conditional SQL fragment used in the WHERE clause when selecting
|
||||||
* entities in this persister.
|
* entities in this persister.
|
||||||
@ -1043,7 +1078,6 @@ class BasicEntityPersister
|
|||||||
}
|
}
|
||||||
$conditionSql .= ' = ?';
|
$conditionSql .= ' = ?';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $conditionSql;
|
return $conditionSql;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function _getSelectEntitiesSQL(array $criteria, $assoc = null)
|
protected function _getSelectEntitiesSQL(array $criteria, $assoc = null, $lockMode = 0)
|
||||||
{
|
{
|
||||||
$idColumns = $this->_class->getIdentifierColumnNames();
|
$idColumns = $this->_class->getIdentifierColumnNames();
|
||||||
$baseTableAlias = $this->_getSQLTableAlias($this->_class->name);
|
$baseTableAlias = $this->_getSQLTableAlias($this->_class->name);
|
||||||
@ -345,6 +345,18 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister
|
|||||||
. $joinSql
|
. $joinSql
|
||||||
. ($conditionSql != '' ? ' WHERE ' . $conditionSql : '') . $orderBySql;
|
. ($conditionSql != '' ? ' WHERE ' . $conditionSql : '') . $orderBySql;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lock all rows of this entity matching the given criteria with the specified pessimistic lock mode
|
||||||
|
*
|
||||||
|
* @param array $criteria
|
||||||
|
* @param int $lockMode
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function lock(array $criteria, $lockMode)
|
||||||
|
{
|
||||||
|
throw new \BadMethodCallException("lock() is not yet supported for JoinedSubclassPersister");
|
||||||
|
}
|
||||||
|
|
||||||
/* Ensure this method is never called. This persister overrides _getSelectEntitiesSQL directly. */
|
/* Ensure this method is never called. This persister overrides _getSelectEntitiesSQL directly. */
|
||||||
protected function _getSelectColumnListSQL()
|
protected function _getSelectColumnListSQL()
|
||||||
|
40
lib/Doctrine/ORM/PessimisticLockException.php
Normal file
40
lib/Doctrine/ORM/PessimisticLockException.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* This software consists of voluntary contributions made by many individuals
|
||||||
|
* and is licensed under the LGPL. For more information, see
|
||||||
|
* <http://www.doctrine-project.org>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pessimistic Lock Exception
|
||||||
|
*
|
||||||
|
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
||||||
|
* @link www.doctrine-project.com
|
||||||
|
* @since 1.0
|
||||||
|
* @version $Revision$
|
||||||
|
* @author Benjamin Eberlei <kontakt@beberlei.de>
|
||||||
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
|
*/
|
||||||
|
class PessimisticLockException extends ORMException
|
||||||
|
{
|
||||||
|
public static function lockFailed()
|
||||||
|
{
|
||||||
|
return new self("The pessimistic lock failed.");
|
||||||
|
}
|
||||||
|
}
|
@ -19,7 +19,8 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM;
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
use Doctrine\ORM\Query\Parser,
|
use Doctrine\DBAL\LockMode,
|
||||||
|
Doctrine\ORM\Query\Parser,
|
||||||
Doctrine\ORM\Query\QueryException;
|
Doctrine\ORM\Query\QueryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -93,6 +94,11 @@ final class Query extends AbstractQuery
|
|||||||
*/
|
*/
|
||||||
const HINT_INTERNAL_ITERATION = 'doctrine.internal.iteration';
|
const HINT_INTERNAL_ITERATION = 'doctrine.internal.iteration';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
const HINT_LOCK_MODE = 'doctrine.lockMode';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer $_state The current state of this query.
|
* @var integer $_state The current state of this query.
|
||||||
*/
|
*/
|
||||||
@ -487,6 +493,39 @@ final class Query extends AbstractQuery
|
|||||||
return parent::setHydrationMode($hydrationMode);
|
return parent::setHydrationMode($hydrationMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the lock mode for this Query.
|
||||||
|
*
|
||||||
|
* @see Doctrine\DBAL\LockMode
|
||||||
|
* @param int $lockMode
|
||||||
|
* @return Query
|
||||||
|
*/
|
||||||
|
public function setLockMode($lockMode)
|
||||||
|
{
|
||||||
|
if ($lockMode == LockMode::PESSIMISTIC_READ || $lockMode == LockMode::PESSIMISTIC_WRITE) {
|
||||||
|
if (!$this->_em->getConnection()->isTransactionActive()) {
|
||||||
|
throw TransactionRequiredException::transactionRequired();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->setHint(self::HINT_LOCK_MODE, $lockMode);
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the current lock mode for this query.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getLockMode()
|
||||||
|
{
|
||||||
|
$lockMode = $this->getHint(self::HINT_LOCK_MODE);
|
||||||
|
if (!$lockMode) {
|
||||||
|
return LockMode::NONE;
|
||||||
|
}
|
||||||
|
return $lockMode;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a cache id for the query cache - reusing the Result-Cache-Id generator.
|
* Generate a cache id for the query cache - reusing the Result-Cache-Id generator.
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
@ -24,23 +22,36 @@ namespace Doctrine\ORM\Query;
|
|||||||
/**
|
/**
|
||||||
* Scans a DQL query for tokens.
|
* Scans a DQL query for tokens.
|
||||||
*
|
*
|
||||||
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
|
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
|
||||||
* @author Janne Vanhala <jpvanhal@cc.hut.fi>
|
* @author Janne Vanhala <jpvanhal@cc.hut.fi>
|
||||||
* @author Roman Borschel <roman@code-factory.org>
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
* @since 2.0
|
||||||
* @link www.doctrine-project.org
|
|
||||||
* @since 2.0
|
|
||||||
* @version $Revision$
|
|
||||||
*/
|
*/
|
||||||
class Lexer extends \Doctrine\Common\Lexer
|
class Lexer extends \Doctrine\Common\Lexer
|
||||||
{
|
{
|
||||||
|
// All tokens that are not valid identifiers must be < 100
|
||||||
const T_NONE = 1;
|
const T_NONE = 1;
|
||||||
const T_IDENTIFIER = 2;
|
const T_INTEGER = 2;
|
||||||
const T_INTEGER = 3;
|
const T_STRING = 3;
|
||||||
const T_STRING = 4;
|
const T_INPUT_PARAMETER = 4;
|
||||||
const T_INPUT_PARAMETER = 5;
|
const T_FLOAT = 5;
|
||||||
const T_FLOAT = 6;
|
const T_CLOSE_PARENTHESIS = 6;
|
||||||
|
const T_OPEN_PARENTHESIS = 7;
|
||||||
|
const T_COMMA = 8;
|
||||||
|
const T_DIVIDE = 9;
|
||||||
|
const T_DOT = 10;
|
||||||
|
const T_EQUALS = 11;
|
||||||
|
const T_GREATER_THAN = 12;
|
||||||
|
const T_LOWER_THAN = 13;
|
||||||
|
const T_MINUS = 14;
|
||||||
|
const T_MULTIPLY = 15;
|
||||||
|
const T_NEGATE = 16;
|
||||||
|
const T_PLUS = 17;
|
||||||
|
const T_OPEN_CURLY_BRACE = 18;
|
||||||
|
const T_CLOSE_CURLY_BRACE = 19;
|
||||||
|
|
||||||
|
// All tokens that are also identifiers should be >= 100
|
||||||
|
const T_IDENTIFIER = 100;
|
||||||
const T_ALL = 101;
|
const T_ALL = 101;
|
||||||
const T_AND = 102;
|
const T_AND = 102;
|
||||||
const T_ANY = 103;
|
const T_ANY = 103;
|
||||||
@ -50,62 +61,46 @@ class Lexer extends \Doctrine\Common\Lexer
|
|||||||
const T_BETWEEN = 107;
|
const T_BETWEEN = 107;
|
||||||
const T_BOTH = 108;
|
const T_BOTH = 108;
|
||||||
const T_BY = 109;
|
const T_BY = 109;
|
||||||
const T_CLOSE_PARENTHESIS = 110;
|
const T_COUNT = 110;
|
||||||
const T_COMMA = 111;
|
const T_DELETE = 111;
|
||||||
const T_COUNT = 112;
|
const T_DESC = 112;
|
||||||
const T_DELETE = 113;
|
const T_DISTINCT = 113;
|
||||||
const T_DESC = 114;
|
const T_EMPTY = 114;
|
||||||
const T_DISTINCT = 115;
|
const T_ESCAPE = 115;
|
||||||
const T_DIVIDE = 116;
|
const T_EXISTS = 116;
|
||||||
const T_DOT = 117;
|
const T_FALSE = 117;
|
||||||
const T_EMPTY = 118;
|
const T_FROM = 118;
|
||||||
const T_EQUALS = 119;
|
const T_GROUP = 119;
|
||||||
const T_ESCAPE = 120;
|
const T_HAVING = 120;
|
||||||
const T_EXISTS = 121;
|
const T_IN = 121;
|
||||||
const T_FALSE = 122;
|
const T_INDEX = 122;
|
||||||
const T_FROM = 123;
|
const T_INNER = 123;
|
||||||
const T_GREATER_THAN = 124;
|
const T_IS = 124;
|
||||||
const T_GROUP = 125;
|
const T_JOIN = 125;
|
||||||
const T_HAVING = 126;
|
const T_LEADING = 126;
|
||||||
const T_IN = 127;
|
const T_LEFT = 127;
|
||||||
const T_INDEX = 128;
|
const T_LIKE = 128;
|
||||||
const T_INNER = 129;
|
const T_MAX = 129;
|
||||||
const T_IS = 130;
|
const T_MEMBER = 130;
|
||||||
const T_JOIN = 131;
|
const T_MIN = 131;
|
||||||
const T_LEADING = 132;
|
const T_NOT = 132;
|
||||||
const T_LEFT = 133;
|
const T_NULL = 133;
|
||||||
const T_LIKE = 134;
|
const T_OF = 134;
|
||||||
const T_LIMIT = 135;
|
const T_OR = 135;
|
||||||
const T_LOWER_THAN = 136;
|
const T_ORDER = 136;
|
||||||
const T_MAX = 137;
|
const T_OUTER = 137;
|
||||||
const T_MEMBER = 138;
|
const T_SELECT = 138;
|
||||||
const T_MIN = 139;
|
const T_SET = 139;
|
||||||
const T_MINUS = 140;
|
const T_SIZE = 140;
|
||||||
const T_MOD = 141;
|
const T_SOME = 141;
|
||||||
const T_MULTIPLY = 142;
|
const T_SUM = 142;
|
||||||
const T_NEGATE = 143;
|
const T_TRAILING = 143;
|
||||||
const T_NOT = 144;
|
const T_TRUE = 144;
|
||||||
const T_NULL = 145;
|
const T_UPDATE = 145;
|
||||||
const T_OF = 146;
|
const T_WHERE = 146;
|
||||||
const T_OFFSET = 147;
|
const T_WITH = 147;
|
||||||
const T_OPEN_PARENTHESIS = 149;
|
const T_PARTIAL = 148;
|
||||||
const T_OR = 150;
|
const T_MOD = 149;
|
||||||
const T_ORDER = 151;
|
|
||||||
const T_OUTER = 152;
|
|
||||||
const T_PLUS = 153;
|
|
||||||
const T_SELECT = 154;
|
|
||||||
const T_SET = 155;
|
|
||||||
const T_SIZE = 156;
|
|
||||||
const T_SOME = 157;
|
|
||||||
const T_SUM = 158;
|
|
||||||
const T_TRAILING = 159;
|
|
||||||
const T_TRUE = 160;
|
|
||||||
const T_UPDATE = 161;
|
|
||||||
const T_WHERE = 162;
|
|
||||||
const T_WITH = 163;
|
|
||||||
const T_PARTIAL = 164;
|
|
||||||
const T_OPEN_CURLY_BRACE = 165;
|
|
||||||
const T_CLOSE_CURLY_BRACE = 166;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new query scanner object.
|
* Creates a new query scanner object.
|
||||||
@ -144,22 +139,26 @@ class Lexer extends \Doctrine\Common\Lexer
|
|||||||
protected function _getType(&$value)
|
protected function _getType(&$value)
|
||||||
{
|
{
|
||||||
$type = self::T_NONE;
|
$type = self::T_NONE;
|
||||||
$newVal = $this->_getNumeric($value);
|
|
||||||
|
|
||||||
// Recognizing numeric values
|
|
||||||
if ($newVal !== false){
|
|
||||||
$value = $newVal;
|
|
||||||
|
|
||||||
|
// Recognizing numeric values
|
||||||
|
if (is_numeric($value)) {
|
||||||
return (strpos($value, '.') !== false || stripos($value, 'e') !== false)
|
return (strpos($value, '.') !== false || stripos($value, 'e') !== false)
|
||||||
? self::T_FLOAT : self::T_INTEGER;
|
? self::T_FLOAT : self::T_INTEGER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Differentiate between quoted names, identifiers, input parameters and symbols
|
||||||
if ($value[0] === "'") {
|
if ($value[0] === "'") {
|
||||||
$value = str_replace("''", "'", substr($value, 1, strlen($value) - 2));
|
$value = str_replace("''", "'", substr($value, 1, strlen($value) - 2));
|
||||||
|
|
||||||
return self::T_STRING;
|
return self::T_STRING;
|
||||||
} else if (ctype_alpha($value[0]) || $value[0] === '_') {
|
} else if (ctype_alpha($value[0]) || $value[0] === '_') {
|
||||||
return $this->_checkLiteral($value);
|
$name = 'Doctrine\ORM\Query\Lexer::T_' . strtoupper($value);
|
||||||
|
if (defined($name)) {
|
||||||
|
$type = constant($name);
|
||||||
|
if ($type > 100) {
|
||||||
|
return $type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return self::T_IDENTIFIER;
|
||||||
} else if ($value[0] === '?' || $value[0] === ':') {
|
} else if ($value[0] === '?' || $value[0] === ':') {
|
||||||
return self::T_INPUT_PARAMETER;
|
return self::T_INPUT_PARAMETER;
|
||||||
} else {
|
} else {
|
||||||
@ -186,41 +185,4 @@ class Lexer extends \Doctrine\Common\Lexer
|
|||||||
|
|
||||||
return $type;
|
return $type;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @todo Inline this method.
|
|
||||||
*/
|
|
||||||
private function _getNumeric($value)
|
|
||||||
{
|
|
||||||
if ( ! is_scalar($value)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// Checking for valid numeric numbers: 1.234, -1.234e-2
|
|
||||||
if (is_numeric($value)) {
|
|
||||||
return $value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks if an identifier is a keyword and returns its correct type.
|
|
||||||
*
|
|
||||||
* @param string $identifier identifier name
|
|
||||||
* @return int token type
|
|
||||||
* @todo Inline this method.
|
|
||||||
*/
|
|
||||||
private function _checkLiteral($identifier)
|
|
||||||
{
|
|
||||||
$name = 'Doctrine\ORM\Query\Lexer::T_' . strtoupper($identifier);
|
|
||||||
|
|
||||||
if (defined($name)) {
|
|
||||||
$type = constant($name);
|
|
||||||
if ($type > 100) {
|
|
||||||
return $type;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return self::T_IDENTIFIER;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -231,7 +231,11 @@ class Parser
|
|||||||
*/
|
*/
|
||||||
public function match($token)
|
public function match($token)
|
||||||
{
|
{
|
||||||
if ( ! ($this->_lexer->lookahead['type'] === $token)) {
|
// short-circuit on first condition, usually types match
|
||||||
|
if ($this->_lexer->lookahead['type'] !== $token &&
|
||||||
|
$token !== Lexer::T_IDENTIFIER &&
|
||||||
|
$this->_lexer->lookahead['type'] <= Lexer::T_IDENTIFIER
|
||||||
|
) {
|
||||||
$this->syntaxError($this->_lexer->getLiteral($token));
|
$this->syntaxError($this->_lexer->getLiteral($token));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -890,7 +894,8 @@ class Parser
|
|||||||
|
|
||||||
$identVariable = $this->IdentificationVariable();
|
$identVariable = $this->IdentificationVariable();
|
||||||
$this->match(Lexer::T_DOT);
|
$this->match(Lexer::T_DOT);
|
||||||
$this->match($this->_lexer->lookahead['type']);
|
$this->match(Lexer::T_IDENTIFIER);
|
||||||
|
//$this->match($this->_lexer->lookahead['type']);
|
||||||
$field = $this->_lexer->token['value'];
|
$field = $this->_lexer->token['value'];
|
||||||
|
|
||||||
// Validate association field
|
// Validate association field
|
||||||
|
@ -366,6 +366,20 @@ class SqlWalker implements TreeWalker
|
|||||||
$sql, $this->_query->getMaxResults(), $this->_query->getFirstResult()
|
$sql, $this->_query->getMaxResults(), $this->_query->getFirstResult()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (($lockMode = $this->_query->getHint(Query::HINT_LOCK_MODE)) !== false) {
|
||||||
|
if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_READ) {
|
||||||
|
$sql .= " " . $this->_platform->getReadLockSQL();
|
||||||
|
} else if ($lockMode == \Doctrine\DBAL\LockMode::PESSIMISTIC_WRITE) {
|
||||||
|
$sql .= " " . $this->_platform->getWriteLockSQL();
|
||||||
|
} else if ($lockMode == \Doctrine\DBAL\LockMode::OPTIMISTIC) {
|
||||||
|
foreach ($this->_selectedClasses AS $class) {
|
||||||
|
if (!$class->isVersioned) {
|
||||||
|
throw \Doctrine\ORM\OptimisticLockException::lockFailed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $sql;
|
return $sql;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -603,7 +617,7 @@ class SqlWalker implements TreeWalker
|
|||||||
$sql .= $this->walkJoinVariableDeclaration($joinVarDecl);
|
$sql .= $this->walkJoinVariableDeclaration($joinVarDecl);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $sql;
|
return $this->_platform->appendLockHint($sql, $this->_query->getHint(Query::HINT_LOCK_MODE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1620,7 +1634,7 @@ class SqlWalker implements TreeWalker
|
|||||||
{
|
{
|
||||||
return ($arithmeticExpr->isSimpleArithmeticExpression())
|
return ($arithmeticExpr->isSimpleArithmeticExpression())
|
||||||
? $this->walkSimpleArithmeticExpression($arithmeticExpr->simpleArithmeticExpression)
|
? $this->walkSimpleArithmeticExpression($arithmeticExpr->simpleArithmeticExpression)
|
||||||
: $this->walkSubselect($arithmeticExpr->subselect);
|
: '(' . $this->walkSubselect($arithmeticExpr->subselect) . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -136,7 +136,7 @@ EOT
|
|||||||
$converter = new ConvertDoctrine1Schema($fromPaths);
|
$converter = new ConvertDoctrine1Schema($fromPaths);
|
||||||
$metadata = $converter->getMetadata();
|
$metadata = $converter->getMetadata();
|
||||||
|
|
||||||
if ($metadatas) {
|
if ($metadata) {
|
||||||
$output->write(PHP_EOL);
|
$output->write(PHP_EOL);
|
||||||
|
|
||||||
foreach ($metadata as $class) {
|
foreach ($metadata as $class) {
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many individuals
|
|
||||||
* and is licensed under the LGPL. For more information, see
|
|
||||||
* <http://www.doctrine-project.org>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Doctrine\ORM\Tools\Console\Command;
|
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument,
|
|
||||||
Symfony\Components\Console\Input\InputOption,
|
|
||||||
Symfony\Components\Console;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Schema Validator Command
|
|
||||||
*
|
|
||||||
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
|
||||||
* @link www.doctrine-project.com
|
|
||||||
* @since 1.0
|
|
||||||
* @version $Revision$
|
|
||||||
* @author Benjamin Eberlei <kontakt@beberlei.de>
|
|
||||||
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
|
|
||||||
* @author Jonathan Wage <jonwage@gmail.com>
|
|
||||||
* @author Roman Borschel <roman@code-factory.org>
|
|
||||||
*/
|
|
||||||
class SchemaValidatorCommand extends Console\Command\Command
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @see Console\Command\Command
|
|
||||||
*/
|
|
||||||
protected function configure()
|
|
||||||
{
|
|
||||||
$this
|
|
||||||
->setName('orm:validate-schema')
|
|
||||||
->setDescription('Validate that the mapping files.')
|
|
||||||
->setHelp(<<<EOT
|
|
||||||
'Validate that the mapping files are correct and in sync with the database.'
|
|
||||||
EOT
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @see Console\Command\Command
|
|
||||||
*/
|
|
||||||
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output)
|
|
||||||
{
|
|
||||||
$em = $this->getHelper('em')->getEntityManager();
|
|
||||||
|
|
||||||
$validator = new \Doctrine\ORM\Tools\SchemaValidator($em);
|
|
||||||
$errors = $validator->validateMapping();
|
|
||||||
|
|
||||||
if ($errors) {
|
|
||||||
foreach ($errors AS $className => $errorMessages) {
|
|
||||||
$output->write("The entity-class '" . $className . "' is invalid:\n");
|
|
||||||
foreach ($errorMessages AS $errorMessage) {
|
|
||||||
$output->write('* ' . $errorMessage . "\n");
|
|
||||||
}
|
|
||||||
$output->write("\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$validator->schemaInSyncWithMetadata()) {
|
|
||||||
$output->write('The database schema is not in sync with the current mapping file.');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -66,13 +66,15 @@ EOT
|
|||||||
$exit = 0;
|
$exit = 0;
|
||||||
if ($errors) {
|
if ($errors) {
|
||||||
foreach ($errors AS $className => $errorMessages) {
|
foreach ($errors AS $className => $errorMessages) {
|
||||||
$output->write("<error>[Mapping] FAIL - The entity-class '" . $className . "' mapping is invalid:</error>\n");
|
$output->write("<error>[Mapping] FAIL - The entity-class '" . $className . "' mapping is invalid:</error>\n");
|
||||||
foreach ($errorMessages AS $errorMessage) {
|
foreach ($errorMessages AS $errorMessage) {
|
||||||
$output->write('* ' . $errorMessage . "\n");
|
$output->write('* ' . $errorMessage . "\n");
|
||||||
}
|
}
|
||||||
$output->write("\n");
|
$output->write("\n");
|
||||||
}
|
}
|
||||||
$exit += 1;
|
$exit += 1;
|
||||||
|
} else {
|
||||||
|
$output->write('<info>[Mapping] OK - The mapping files are correct.</info>' . "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$validator->schemaInSyncWithMetadata()) {
|
if (!$validator->schemaInSyncWithMetadata()) {
|
||||||
|
@ -93,9 +93,7 @@ class SchemaValidator
|
|||||||
if (!$targetMetadata->hasAssociation($assoc->mappedBy)) {
|
if (!$targetMetadata->hasAssociation($assoc->mappedBy)) {
|
||||||
$ce[] = "The association " . $class->name . "#" . $fieldName . " refers to the owning side ".
|
$ce[] = "The association " . $class->name . "#" . $fieldName . " refers to the owning side ".
|
||||||
"field " . $assoc->targetEntityName . "#" . $assoc->mappedBy . " which does not exist.";
|
"field " . $assoc->targetEntityName . "#" . $assoc->mappedBy . " which does not exist.";
|
||||||
}
|
} else if ($targetMetadata->associationMappings[$assoc->mappedBy]->inversedBy == null) {
|
||||||
|
|
||||||
if ($targetMetadata->associationMappings[$assoc->mappedBy]->inversedBy == null) {
|
|
||||||
$ce[] = "The field " . $class->name . "#" . $fieldName . " is on the inverse side of a ".
|
$ce[] = "The field " . $class->name . "#" . $fieldName . " is on the inverse side of a ".
|
||||||
"bi-directional relationship, but the specified mappedBy association on the target-entity ".
|
"bi-directional relationship, but the specified mappedBy association on the target-entity ".
|
||||||
$assoc->targetEntityName . "#" . $assoc->mappedBy . " does not contain the required ".
|
$assoc->targetEntityName . "#" . $assoc->mappedBy . " does not contain the required ".
|
||||||
@ -115,11 +113,8 @@ class SchemaValidator
|
|||||||
if (!$targetMetadata->hasAssociation($assoc->inversedBy)) {
|
if (!$targetMetadata->hasAssociation($assoc->inversedBy)) {
|
||||||
$ce[] = "The association " . $class->name . "#" . $fieldName . " refers to the inverse side ".
|
$ce[] = "The association " . $class->name . "#" . $fieldName . " refers to the inverse side ".
|
||||||
"field " . $assoc->targetEntityName . "#" . $assoc->inversedBy . " which does not exist.";
|
"field " . $assoc->targetEntityName . "#" . $assoc->inversedBy . " which does not exist.";
|
||||||
}
|
} else if ($targetMetadata->associationMappings[$assoc->inversedBy]->mappedBy == null) {
|
||||||
|
$ce[] = "The field " . $class->name . "#" . $fieldName . " is on the owning side of a ".
|
||||||
if (isset($targetMetadata->associationMappings[$assoc->mappedBy]) &&
|
|
||||||
$targetMetadata->associationMappings[$assoc->mappedBy]->mappedBy == null) {
|
|
||||||
$ce[] = "The field " . $class->name . "#" . $fieldName . " is on the inverse side of a ".
|
|
||||||
"bi-directional relationship, but the specified mappedBy association on the target-entity ".
|
"bi-directional relationship, but the specified mappedBy association on the target-entity ".
|
||||||
$assoc->targetEntityName . "#" . $assoc->mappedBy . " does not contain the required ".
|
$assoc->targetEntityName . "#" . $assoc->mappedBy . " does not contain the required ".
|
||||||
"'inversedBy' attribute.";
|
"'inversedBy' attribute.";
|
||||||
@ -130,45 +125,49 @@ class SchemaValidator
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($assoc instanceof ManyToManyMapping && $assoc->isOwningSide) {
|
if ($assoc->isOwningSide) {
|
||||||
foreach ($assoc->joinTable['joinColumns'] AS $joinColumn) {
|
if ($assoc instanceof ManyToManyMapping) {
|
||||||
if (!isset($class->fieldNames[$joinColumn['referencedColumnName']])) {
|
foreach ($assoc->joinTable['joinColumns'] AS $joinColumn) {
|
||||||
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' does not " .
|
if (!isset($class->fieldNames[$joinColumn['referencedColumnName']])) {
|
||||||
"have a corresponding field with this column name on the class '" . $class->name . "'.";
|
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' does not " .
|
||||||
break;
|
"have a corresponding field with this column name on the class '" . $class->name . "'.";
|
||||||
}
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$fieldName = $class->fieldNames[$joinColumn['referencedColumnName']];
|
$fieldName = $class->fieldNames[$joinColumn['referencedColumnName']];
|
||||||
if (!in_array($fieldName, $class->identifier)) {
|
if (!in_array($fieldName, $class->identifier)) {
|
||||||
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' " .
|
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' " .
|
||||||
"has to be a primary key column.";
|
"has to be a primary key column.";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
foreach ($assoc->joinTable['inverseJoinColumns'] AS $inverseJoinColumn) {
|
|
||||||
if (!isset($class->fieldNames[$inverseJoinColumn['referencedColumnName']])) {
|
|
||||||
$ce[] = "The referenced column name '" . $inverseJoinColumn['referencedColumnName'] . "' does not " .
|
|
||||||
"have a corresponding field with this column name on the class '" . $class->name . "'.";
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
foreach ($assoc->joinTable['inverseJoinColumns'] AS $inverseJoinColumn) {
|
||||||
|
$targetClass = $cmf->getMetadataFor($assoc->targetEntityName);
|
||||||
|
if (!isset($targetClass->fieldNames[$inverseJoinColumn['referencedColumnName']])) {
|
||||||
|
$ce[] = "The inverse referenced column name '" . $inverseJoinColumn['referencedColumnName'] . "' does not " .
|
||||||
|
"have a corresponding field with this column name on the class '" . $targetClass->name . "'.";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$fieldName = $class->fieldNames[$inverseJoinColumn['referencedColumnName']];
|
$fieldName = $targetClass->fieldNames[$inverseJoinColumn['referencedColumnName']];
|
||||||
if (!in_array($fieldName, $class->identifier)) {
|
if (!in_array($fieldName, $targetClass->identifier)) {
|
||||||
$ce[] = "The referenced column name '" . $inverseJoinColumn['referencedColumnName'] . "' " .
|
$ce[] = "The referenced column name '" . $inverseJoinColumn['referencedColumnName'] . "' " .
|
||||||
"has to be a primary key column.";
|
"has to be a primary key column.";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else if ($assoc instanceof OneToOneMapping) {
|
|
||||||
foreach ($assoc->joinColumns AS $joinColumn) {
|
|
||||||
if (!isset($class->fieldNames[$joinColumn['referencedColumnName']])) {
|
|
||||||
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' does not " .
|
|
||||||
"have a corresponding field with this column name on the class '" . $class->name . "'.";
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
} else if ($assoc instanceof OneToOneMapping) {
|
||||||
|
foreach ($assoc->joinColumns AS $joinColumn) {
|
||||||
|
$targetClass = $cmf->getMetadataFor($assoc->targetEntityName);
|
||||||
|
if (!isset($targetClass->fieldNames[$joinColumn['referencedColumnName']])) {
|
||||||
|
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' does not " .
|
||||||
|
"have a corresponding field with this column name on the class '" . $targetClass->name . "'.";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$fieldName = $class->fieldNames[$joinColumn['referencedColumnName']];
|
$fieldName = $targetClass->fieldNames[$joinColumn['referencedColumnName']];
|
||||||
if (!in_array($fieldName, $class->identifier)) {
|
if (!in_array($fieldName, $targetClass->identifier)) {
|
||||||
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' " .
|
$ce[] = "The referenced column name '" . $joinColumn['referencedColumnName'] . "' " .
|
||||||
"has to be a primary key column.";
|
"has to be a primary key column.";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
40
lib/Doctrine/ORM/TransactionRequiredException.php
Normal file
40
lib/Doctrine/ORM/TransactionRequiredException.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* This software consists of voluntary contributions made by many individuals
|
||||||
|
* and is licensed under the LGPL. For more information, see
|
||||||
|
* <http://www.doctrine-project.org>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Is thrown when a transaction is required for the current operation, but there is none open.
|
||||||
|
*
|
||||||
|
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
||||||
|
* @link www.doctrine-project.com
|
||||||
|
* @since 1.0
|
||||||
|
* @version $Revision$
|
||||||
|
* @author Benjamin Eberlei <kontakt@beberlei.de>
|
||||||
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
|
*/
|
||||||
|
class TransactionRequiredException extends ORMException
|
||||||
|
{
|
||||||
|
static public function transactionRequired()
|
||||||
|
{
|
||||||
|
return new self('An open transaction is required for this operation.');
|
||||||
|
}
|
||||||
|
}
|
@ -1290,6 +1290,8 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
* @return object The managed copy of the entity.
|
* @return object The managed copy of the entity.
|
||||||
* @throws OptimisticLockException If the entity uses optimistic locking through a version
|
* @throws OptimisticLockException If the entity uses optimistic locking through a version
|
||||||
* attribute and the version check against the managed copy fails.
|
* attribute and the version check against the managed copy fails.
|
||||||
|
*
|
||||||
|
* @todo Require active transaction!? OptimisticLockException may result in undefined state!?
|
||||||
*/
|
*/
|
||||||
public function merge($entity)
|
public function merge($entity)
|
||||||
{
|
{
|
||||||
@ -1344,7 +1346,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$entityVersion = $class->reflFields[$class->versionField]->getValue($entity);
|
$entityVersion = $class->reflFields[$class->versionField]->getValue($entity);
|
||||||
// Throw exception if versions dont match.
|
// Throw exception if versions dont match.
|
||||||
if ($managedCopyVersion != $entityVersion) {
|
if ($managedCopyVersion != $entityVersion) {
|
||||||
throw OptimisticLockException::lockFailed($entity);
|
throw OptimisticLockException::lockFailedVersionMissmatch($entityVersion, $managedCopyVersion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1478,7 +1480,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$class = $this->_em->getClassMetadata(get_class($entity));
|
$class = $this->_em->getClassMetadata(get_class($entity));
|
||||||
if ($this->getEntityState($entity) == self::STATE_MANAGED) {
|
if ($this->getEntityState($entity) == self::STATE_MANAGED) {
|
||||||
$this->getEntityPersister($class->name)->refresh(
|
$this->getEntityPersister($class->name)->refresh(
|
||||||
array_combine($class->getIdentifierColumnNames(), $this->_entityIdentifiers[$oid]),
|
array_combine($class->getIdentifierFieldNames(), $this->_entityIdentifiers[$oid]),
|
||||||
$entity
|
$entity
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -1628,6 +1630,48 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Acquire a lock on the given entity.
|
||||||
|
*
|
||||||
|
* @param object $entity
|
||||||
|
* @param int $lockMode
|
||||||
|
* @param int $lockVersion
|
||||||
|
*/
|
||||||
|
public function lock($entity, $lockMode, $lockVersion = null)
|
||||||
|
{
|
||||||
|
if ($this->getEntityState($entity) != self::STATE_MANAGED) {
|
||||||
|
throw new \InvalidArgumentException("Entity is not MANAGED.");
|
||||||
|
}
|
||||||
|
|
||||||
|
$entityName = get_class($entity);
|
||||||
|
$class = $this->_em->getClassMetadata($entityName);
|
||||||
|
|
||||||
|
if ($lockMode == \Doctrine\DBAL\LockMode::OPTIMISTIC) {
|
||||||
|
if (!$class->isVersioned) {
|
||||||
|
throw OptimisticLockException::notVersioned($entityName);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($lockVersion != null) {
|
||||||
|
$entityVersion = $class->reflFields[$class->versionField]->getValue($entity);
|
||||||
|
if ($entityVersion != $lockVersion) {
|
||||||
|
throw OptimisticLockException::lockFailedVersionMissmatch($entity, $lockVersion, $entityVersion);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (in_array($lockMode, array(\Doctrine\DBAL\LockMode::PESSIMISTIC_READ, \Doctrine\DBAL\LockMode::PESSIMISTIC_WRITE))) {
|
||||||
|
|
||||||
|
if (!$this->_em->getConnection()->isTransactionActive()) {
|
||||||
|
throw TransactionRequiredException::transactionRequired();
|
||||||
|
}
|
||||||
|
|
||||||
|
$oid = spl_object_hash($entity);
|
||||||
|
|
||||||
|
$this->getEntityPersister($class->name)->lock(
|
||||||
|
array_combine($class->getIdentifierColumnNames(), $this->_entityIdentifiers[$oid]),
|
||||||
|
$lockMode
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the CommitOrderCalculator used by the UnitOfWork to order commits.
|
* Gets the CommitOrderCalculator used by the UnitOfWork to order commits.
|
||||||
*
|
*
|
||||||
@ -1731,6 +1775,10 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
if ($entity instanceof Proxy && ! $entity->__isInitialized__) {
|
if ($entity instanceof Proxy && ! $entity->__isInitialized__) {
|
||||||
$entity->__isInitialized__ = true;
|
$entity->__isInitialized__ = true;
|
||||||
$overrideLocalValues = true;
|
$overrideLocalValues = true;
|
||||||
|
$this->_originalEntityData[$oid] = $data;
|
||||||
|
if ($entity instanceof NotifyPropertyChanged) {
|
||||||
|
$entity->addPropertyChangedListener($this);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$overrideLocalValues = isset($hints[Query::HINT_REFRESH]);
|
$overrideLocalValues = isset($hints[Query::HINT_REFRESH]);
|
||||||
}
|
}
|
||||||
@ -1800,6 +1848,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$this->_entityIdentifiers[$newValueOid] = $associatedId;
|
$this->_entityIdentifiers[$newValueOid] = $associatedId;
|
||||||
$this->_identityMap[$targetClass->rootEntityName][$relatedIdHash] = $newValue;
|
$this->_identityMap[$targetClass->rootEntityName][$relatedIdHash] = $newValue;
|
||||||
$this->_entityStates[$newValueOid] = self::STATE_MANAGED;
|
$this->_entityStates[$newValueOid] = self::STATE_MANAGED;
|
||||||
|
// make sure that when an proxy is then finally loaded, $this->_originalEntityData is set also!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->_originalEntityData[$oid][$field] = $newValue;
|
$this->_originalEntityData[$oid][$field] = $newValue;
|
||||||
|
@ -1,338 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css">
|
|
||||||
<link rel="start" href="overview-summary.html">
|
|
||||||
|
|
||||||
<title>All Items (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1>All Items</h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="doctrine/common/classloader.html" target="main">ClassLoader</a></li>
|
|
||||||
<li><a href="doctrine/common/commonexception.html" target="main">CommonException</a></li>
|
|
||||||
<li><a href="doctrine/common/eventargs.html" target="main">EventArgs</a></li>
|
|
||||||
<li><a href="doctrine/common/eventmanager.html" target="main">EventManager</a></li>
|
|
||||||
<li><em><a href="doctrine/common/eventsubscriber.html" target="main">EventSubscriber</a></em></li>
|
|
||||||
<li><a href="doctrine/common/lexer.html" target="main">Lexer</a></li>
|
|
||||||
<li><em><a href="doctrine/common/notifypropertychanged.html" target="main">NotifyPropertyChanged</a></em></li>
|
|
||||||
<li><em><a href="doctrine/common/propertychangedlistener.html" target="main">PropertyChangedListener</a></em></li>
|
|
||||||
<li><a href="doctrine/common/version.html" target="main">Version</a></li>
|
|
||||||
<li><a href="doctrine/common/annotations/annotation.html" target="main">Annotation</a></li>
|
|
||||||
<li><a href="doctrine/common/annotations/annotationexception.html" target="main">AnnotationException</a></li>
|
|
||||||
<li><a href="doctrine/common/annotations/annotationreader.html" target="main">AnnotationReader</a></li>
|
|
||||||
<li><a href="doctrine/common/annotations/lexer.html" target="main">Lexer</a></li>
|
|
||||||
<li><a href="doctrine/common/annotations/parser.html" target="main">Parser</a></li>
|
|
||||||
<li><a href="doctrine/common/cache/abstractcache.html" target="main">AbstractCache</a></li>
|
|
||||||
<li><a href="doctrine/common/cache/apccache.html" target="main">ApcCache</a></li>
|
|
||||||
<li><a href="doctrine/common/cache/arraycache.html" target="main">ArrayCache</a></li>
|
|
||||||
<li><em><a href="doctrine/common/cache/cache.html" target="main">Cache</a></em></li>
|
|
||||||
<li><a href="doctrine/common/cache/memcachecache.html" target="main">MemcacheCache</a></li>
|
|
||||||
<li><a href="doctrine/common/cache/xcachecache.html" target="main">XcacheCache</a></li>
|
|
||||||
<li><a href="doctrine/common/collections/arraycollection.html" target="main">ArrayCollection</a></li>
|
|
||||||
<li><em><a href="doctrine/common/collections/collection.html" target="main">Collection</a></em></li>
|
|
||||||
<li><a href="doctrine/common/util/debug.html" target="main">Debug</a></li>
|
|
||||||
<li><a href="doctrine/common/util/inflector.html" target="main">Inflector</a></li>
|
|
||||||
<li><a href="doctrine/dbal/configuration.html" target="main">Configuration</a></li>
|
|
||||||
<li><a href="doctrine/dbal/connection.html" target="main">Connection</a></li>
|
|
||||||
<li><a href="doctrine/dbal/connectionexception.html" target="main">ConnectionException</a></li>
|
|
||||||
<li><a href="doctrine/dbal/dbalexception.html" target="main">DBALException</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/driver.html" target="main">Driver</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/drivermanager.html" target="main">DriverManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/events.html" target="main">Events</a></li>
|
|
||||||
<li><a href="doctrine/dbal/statement.html" target="main">Statement</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/driver/connection.html" target="main">Connection</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdoconnection.html" target="main">PDOConnection</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdostatement.html" target="main">PDOStatement</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/driver/statement.html" target="main">Statement</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/oci8/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/oci8/oci8connection.html" target="main">OCI8Connection</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/oci8/oci8exception.html" target="main">OCI8Exception</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/oci8/oci8statement.html" target="main">OCI8Statement</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdomssql/connection.html" target="main">Connection</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdomssql/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdomysql/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdooracle/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdopgsql/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/driver/pdosqlite/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="doctrine/dbal/event/connectioneventargs.html" target="main">ConnectionEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/dbal/event/listeners/mysqlsessioninit.html" target="main">MysqlSessionInit</a></li>
|
|
||||||
<li><a href="doctrine/dbal/event/listeners/oraclesessioninit.html" target="main">OracleSessionInit</a></li>
|
|
||||||
<li><a href="doctrine/dbal/logging/debugstack.html" target="main">DebugStack</a></li>
|
|
||||||
<li><a href="doctrine/dbal/logging/echosqllogger.html" target="main">EchoSQLLogger</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/logging/sqllogger.html" target="main">SQLLogger</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/abstractplatform.html" target="main">AbstractPlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/mssqlplatform.html" target="main">MsSqlPlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/mysqlplatform.html" target="main">MySqlPlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/oracleplatform.html" target="main">OraclePlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/postgresqlplatform.html" target="main">PostgreSqlPlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/platforms/sqliteplatform.html" target="main">SqlitePlatform</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/abstractasset.html" target="main">AbstractAsset</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/abstractschemamanager.html" target="main">AbstractSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/column.html" target="main">Column</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/columndiff.html" target="main">ColumnDiff</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/comparator.html" target="main">Comparator</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/schema/constraint.html" target="main">Constraint</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/foreignkeyconstraint.html" target="main">ForeignKeyConstraint</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/index.html" target="main">Index</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/mssqlschemamanager.html" target="main">MsSqlSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/mysqlschemamanager.html" target="main">MySqlSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/oracleschemamanager.html" target="main">OracleSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/postgresqlschemamanager.html" target="main">PostgreSqlSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/schema.html" target="main">Schema</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/schemaconfig.html" target="main">SchemaConfig</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/schemadiff.html" target="main">SchemaDiff</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/schemaexception.html" target="main">SchemaException</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/sequence.html" target="main">Sequence</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/sqliteschemamanager.html" target="main">SqliteSchemaManager</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/table.html" target="main">Table</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/tablediff.html" target="main">TableDiff</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/view.html" target="main">View</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/visitor/createschemasqlcollector.html" target="main">CreateSchemaSqlCollector</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/visitor/dropschemasqlcollector.html" target="main">DropSchemaSqlCollector</a></li>
|
|
||||||
<li><a href="doctrine/dbal/schema/visitor/fixschema.html" target="main">FixSchema</a></li>
|
|
||||||
<li><em><a href="doctrine/dbal/schema/visitor/visitor.html" target="main">Visitor</a></em></li>
|
|
||||||
<li><a href="doctrine/dbal/tools/console/command/importcommand.html" target="main">ImportCommand</a></li>
|
|
||||||
<li><a href="doctrine/dbal/tools/console/command/runsqlcommand.html" target="main">RunSqlCommand</a></li>
|
|
||||||
<li><a href="doctrine/dbal/tools/console/helper/connectionhelper.html" target="main">ConnectionHelper</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/arraytype.html" target="main">ArrayType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/biginttype.html" target="main">BigIntType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/booleantype.html" target="main">BooleanType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/datetimetype.html" target="main">DateTimeType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/datetype.html" target="main">DateType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/decimaltype.html" target="main">DecimalType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/integertype.html" target="main">IntegerType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/objecttype.html" target="main">ObjectType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/smallinttype.html" target="main">SmallIntType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/stringtype.html" target="main">StringType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/texttype.html" target="main">TextType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/timetype.html" target="main">TimeType</a></li>
|
|
||||||
<li><a href="doctrine/dbal/types/type.html" target="main">Type</a></li>
|
|
||||||
<li><a href="doctrine/orm/abstractquery.html" target="main">AbstractQuery</a></li>
|
|
||||||
<li><a href="doctrine/orm/configuration.html" target="main">Configuration</a></li>
|
|
||||||
<li><a href="doctrine/orm/entitymanager.html" target="main">EntityManager</a></li>
|
|
||||||
<li><a href="doctrine/orm/entitynotfoundexception.html" target="main">EntityNotFoundException</a></li>
|
|
||||||
<li><a href="doctrine/orm/entityrepository.html" target="main">EntityRepository</a></li>
|
|
||||||
<li><a href="doctrine/orm/events.html" target="main">Events</a></li>
|
|
||||||
<li><a href="doctrine/orm/nativequery.html" target="main">NativeQuery</a></li>
|
|
||||||
<li><a href="doctrine/orm/noresultexception.html" target="main">NoResultException</a></li>
|
|
||||||
<li><a href="doctrine/orm/nonuniqueresultexception.html" target="main">NonUniqueResultException</a></li>
|
|
||||||
<li><a href="doctrine/orm/ormexception.html" target="main">ORMException</a></li>
|
|
||||||
<li><a href="doctrine/orm/optimisticlockexception.html" target="main">OptimisticLockException</a></li>
|
|
||||||
<li><a href="doctrine/orm/persistentcollection.html" target="main">PersistentCollection</a></li>
|
|
||||||
<li><a href="doctrine/orm/query.html" target="main">Query</a></li>
|
|
||||||
<li><a href="doctrine/orm/querybuilder.html" target="main">QueryBuilder</a></li>
|
|
||||||
<li><a href="doctrine/orm/unitofwork.html" target="main">UnitOfWork</a></li>
|
|
||||||
<li><a href="doctrine/orm/event/lifecycleeventargs.html" target="main">LifecycleEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/event/loadclassmetadataeventargs.html" target="main">LoadClassMetadataEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/event/onflusheventargs.html" target="main">OnFlushEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/event/preupdateeventargs.html" target="main">PreUpdateEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/abstractidgenerator.html" target="main">AbstractIdGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/assignedgenerator.html" target="main">AssignedGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/identitygenerator.html" target="main">IdentityGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/sequencegenerator.html" target="main">SequenceGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/sequenceidentitygenerator.html" target="main">SequenceIdentityGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/id/tablegenerator.html" target="main">TableGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/commitordercalculator.html" target="main">CommitOrderCalculator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/abstracthydrator.html" target="main">AbstractHydrator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/arrayhydrator.html" target="main">ArrayHydrator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/hydrationexception.html" target="main">HydrationException</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/iterableresult.html" target="main">IterableResult</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/objecthydrator.html" target="main">ObjectHydrator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/scalarhydrator.html" target="main">ScalarHydrator</a></li>
|
|
||||||
<li><a href="doctrine/orm/internal/hydration/singlescalarhydrator.html" target="main">SingleScalarHydrator</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/associationmapping.html" target="main">AssociationMapping</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/changetrackingpolicy.html" target="main">ChangeTrackingPolicy</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/classmetadata.html" target="main">ClassMetadata</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/classmetadatafactory.html" target="main">ClassMetadataFactory</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/classmetadatainfo.html" target="main">ClassMetadataInfo</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/column.html" target="main">Column</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/discriminatorcolumn.html" target="main">DiscriminatorColumn</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/discriminatormap.html" target="main">DiscriminatorMap</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/elementcollection.html" target="main">ElementCollection</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/entity.html" target="main">Entity</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/generatedvalue.html" target="main">GeneratedValue</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/haslifecyclecallbacks.html" target="main">HasLifecycleCallbacks</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/id.html" target="main">Id</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/index.html" target="main">Index</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/inheritancetype.html" target="main">InheritanceType</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/joincolumn.html" target="main">JoinColumn</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/joincolumns.html" target="main">JoinColumns</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/jointable.html" target="main">JoinTable</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/manytomany.html" target="main">ManyToMany</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/manytomanymapping.html" target="main">ManyToManyMapping</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/manytoone.html" target="main">ManyToOne</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/mappedsuperclass.html" target="main">MappedSuperclass</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/mappingexception.html" target="main">MappingException</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/onetomany.html" target="main">OneToMany</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/onetomanymapping.html" target="main">OneToManyMapping</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/onetoone.html" target="main">OneToOne</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/onetoonemapping.html" target="main">OneToOneMapping</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/orderby.html" target="main">OrderBy</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/postload.html" target="main">PostLoad</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/postpersist.html" target="main">PostPersist</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/postremove.html" target="main">PostRemove</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/postupdate.html" target="main">PostUpdate</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/prepersist.html" target="main">PrePersist</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/preremove.html" target="main">PreRemove</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/preupdate.html" target="main">PreUpdate</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/sequencegenerator.html" target="main">SequenceGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/table.html" target="main">Table</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/uniqueconstraint.html" target="main">UniqueConstraint</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/version.html" target="main">Version</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/abstractfiledriver.html" target="main">AbstractFileDriver</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/annotationdriver.html" target="main">AnnotationDriver</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/databasedriver.html" target="main">DatabaseDriver</a></li>
|
|
||||||
<li><em><a href="doctrine/orm/mapping/driver/driver.html" target="main">Driver</a></em></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/driverchain.html" target="main">DriverChain</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/phpdriver.html" target="main">PhpDriver</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/xmldriver.html" target="main">XmlDriver</a></li>
|
|
||||||
<li><a href="doctrine/orm/mapping/driver/yamldriver.html" target="main">YamlDriver</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/abstractcollectionpersister.html" target="main">AbstractCollectionPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/abstractentityinheritancepersister.html" target="main">AbstractEntityInheritancePersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/elementcollectionpersister.html" target="main">ElementCollectionPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/joinedsubclasspersister.html" target="main">JoinedSubclassPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/manytomanypersister.html" target="main">ManyToManyPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/onetomanypersister.html" target="main">OneToManyPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/singletablepersister.html" target="main">SingleTablePersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/standardentitypersister.html" target="main">StandardEntityPersister</a></li>
|
|
||||||
<li><a href="doctrine/orm/persisters/unionsubclasspersister.html" target="main">UnionSubclassPersister</a></li>
|
|
||||||
<li><em><a href="doctrine/orm/proxy/proxy.html" target="main">Proxy</a></em></li>
|
|
||||||
<li><a href="doctrine/orm/proxy/proxyexception.html" target="main">ProxyException</a></li>
|
|
||||||
<li><a href="doctrine/orm/proxy/proxyfactory.html" target="main">ProxyFactory</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr.html" target="main">Expr</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/lexer.html" target="main">Lexer</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/parser.html" target="main">Parser</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/parserresult.html" target="main">ParserResult</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/printer.html" target="main">Printer</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/queryexception.html" target="main">QueryException</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/resultsetmapping.html" target="main">ResultSetMapping</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/sqlwalker.html" target="main">SqlWalker</a></li>
|
|
||||||
<li><em><a href="doctrine/orm/query/treewalker.html" target="main">TreeWalker</a></em></li>
|
|
||||||
<li><a href="doctrine/orm/query/treewalkeradapter.html" target="main">TreeWalkerAdapter</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/treewalkerchain.html" target="main">TreeWalkerChain</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/astexception.html" target="main">ASTException</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/aggregateexpression.html" target="main">AggregateExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/arithmeticexpression.html" target="main">ArithmeticExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/arithmeticfactor.html" target="main">ArithmeticFactor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/arithmeticterm.html" target="main">ArithmeticTerm</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/betweenexpression.html" target="main">BetweenExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/collectionmemberexpression.html" target="main">CollectionMemberExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/comparisonexpression.html" target="main">ComparisonExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/conditionalexpression.html" target="main">ConditionalExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/conditionalfactor.html" target="main">ConditionalFactor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/conditionalprimary.html" target="main">ConditionalPrimary</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/conditionalterm.html" target="main">ConditionalTerm</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/deleteclause.html" target="main">DeleteClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/deletestatement.html" target="main">DeleteStatement</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/emptycollectioncomparisonexpression.html" target="main">EmptyCollectionComparisonExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/existsexpression.html" target="main">ExistsExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/fromclause.html" target="main">FromClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/groupbyclause.html" target="main">GroupByClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/havingclause.html" target="main">HavingClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/identificationvariabledeclaration.html" target="main">IdentificationVariableDeclaration</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/inexpression.html" target="main">InExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/indexby.html" target="main">IndexBy</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/inputparameter.html" target="main">InputParameter</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/join.html" target="main">Join</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/joinassociationpathexpression.html" target="main">JoinAssociationPathExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/joinvariabledeclaration.html" target="main">JoinVariableDeclaration</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/likeexpression.html" target="main">LikeExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/literal.html" target="main">Literal</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/node.html" target="main">Node</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/nullcomparisonexpression.html" target="main">NullComparisonExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/orderbyclause.html" target="main">OrderByClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/orderbyitem.html" target="main">OrderByItem</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/partialobjectexpression.html" target="main">PartialObjectExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/pathexpression.html" target="main">PathExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/quantifiedexpression.html" target="main">QuantifiedExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/rangevariabledeclaration.html" target="main">RangeVariableDeclaration</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/selectclause.html" target="main">SelectClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/selectexpression.html" target="main">SelectExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/selectstatement.html" target="main">SelectStatement</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/simplearithmeticexpression.html" target="main">SimpleArithmeticExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/simpleselectclause.html" target="main">SimpleSelectClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/simpleselectexpression.html" target="main">SimpleSelectExpression</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/subselect.html" target="main">Subselect</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/subselectfromclause.html" target="main">SubselectFromClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/updateclause.html" target="main">UpdateClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/updateitem.html" target="main">UpdateItem</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/updatestatement.html" target="main">UpdateStatement</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/whereclause.html" target="main">WhereClause</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/absfunction.html" target="main">AbsFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/concatfunction.html" target="main">ConcatFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/currentdatefunction.html" target="main">CurrentDateFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/currenttimefunction.html" target="main">CurrentTimeFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/currenttimestampfunction.html" target="main">CurrentTimestampFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/functionnode.html" target="main">FunctionNode</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/lengthfunction.html" target="main">LengthFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/locatefunction.html" target="main">LocateFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/lowerfunction.html" target="main">LowerFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/modfunction.html" target="main">ModFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/sizefunction.html" target="main">SizeFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/sqrtfunction.html" target="main">SqrtFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/substringfunction.html" target="main">SubstringFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/trimfunction.html" target="main">TrimFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/ast/functions/upperfunction.html" target="main">UpperFunction</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/exec/abstractsqlexecutor.html" target="main">AbstractSqlExecutor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/exec/multitabledeleteexecutor.html" target="main">MultiTableDeleteExecutor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/exec/multitableupdateexecutor.html" target="main">MultiTableUpdateExecutor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/exec/singleselectexecutor.html" target="main">SingleSelectExecutor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/exec/singletabledeleteupdateexecutor.html" target="main">SingleTableDeleteUpdateExecutor</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/andx.html" target="main">Andx</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/base.html" target="main">Base</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/comparison.html" target="main">Comparison</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/from.html" target="main">From</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/func.html" target="main">Func</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/groupby.html" target="main">GroupBy</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/join.html" target="main">Join</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/literal.html" target="main">Literal</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/math.html" target="main">Math</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/orderby.html" target="main">OrderBy</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/orx.html" target="main">Orx</a></li>
|
|
||||||
<li><a href="doctrine/orm/query/expr/select.html" target="main">Select</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/classmetadatareader.html" target="main">ClassMetadataReader</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/convertdoctrine1schema.html" target="main">ConvertDoctrine1Schema</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/entitygenerator.html" target="main">EntityGenerator</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/schematool.html" target="main">SchemaTool</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/toolevents.html" target="main">ToolEvents</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/toolsexception.html" target="main">ToolsException</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/metadatafilter.html" target="main">MetadataFilter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/convertdoctrine1schemacommand.html" target="main">ConvertDoctrine1SchemaCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/convertmappingcommand.html" target="main">ConvertMappingCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/ensureproductionsettingscommand.html" target="main">EnsureProductionSettingsCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/generateentitiescommand.html" target="main">GenerateEntitiesCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/generateproxiescommand.html" target="main">GenerateProxiesCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/generaterepositoriescommand.html" target="main">GenerateRepositoriesCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/rundqlcommand.html" target="main">RunDqlCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/clearcache/metadatacommand.html" target="main">MetadataCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/clearcache/querycommand.html" target="main">QueryCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/clearcache/resultcommand.html" target="main">ResultCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/schematool/abstractcommand.html" target="main">AbstractCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/schematool/createcommand.html" target="main">CreateCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/schematool/dropcommand.html" target="main">DropCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/command/schematool/updatecommand.html" target="main">UpdateCommand</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/console/helper/entitymanagerhelper.html" target="main">EntityManagerHelper</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/event/generateschemaeventargs.html" target="main">GenerateSchemaEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/event/generateschematableeventargs.html" target="main">GenerateSchemaTableEventArgs</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/classmetadataexporter.html" target="main">ClassMetadataExporter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/exportexception.html" target="main">ExportException</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/driver/abstractexporter.html" target="main">AbstractExporter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/driver/annotationexporter.html" target="main">AnnotationExporter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/driver/phpexporter.html" target="main">PhpExporter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/driver/xmlexporter.html" target="main">XmlExporter</a></li>
|
|
||||||
<li><a href="doctrine/orm/tools/export/driver/yamlexporter.html" target="main">YamlExporter</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,64 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css">
|
|
||||||
<link rel="start" href="overview-summary.html">
|
|
||||||
|
|
||||||
<title>Deprecated (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="overview" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="overview-summary.html">Overview</a></li>
|
|
||||||
<li>Namespace</li><li>Class</li><li><a href="overview-tree.html">Tree</a></li>
|
|
||||||
<li class="active">Deprecated</li>
|
|
||||||
<li><a href="index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="index.html" target="_top">Frames</a>
|
|
||||||
<a href="deprecated-list.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Deprecated API</h1><hr>
|
|
||||||
|
|
||||||
<h2>Contents</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="#deprecated_method">Deprecated Methods</a></li></ul>
|
|
||||||
<table id="deprecated_method" class="detail">
|
|
||||||
<tr><th colspan="2" class="title">Deprecated Methods</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="doctrine/orm/mapping/classmetadatainfo.html#setTableName()">Doctrine\ORM\Mapping\ClassMetadataInfo\setTableName</a></td>
|
|
||||||
<td class="description">Sets the name of the primary table the class is mapped to.</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="overview-summary.html">Overview</a></li>
|
|
||||||
<li>Namespace</li><li>Class</li><li><a href="overview-tree.html">Tree</a></li>
|
|
||||||
<li class="active">Deprecated</li>
|
|
||||||
<li><a href="index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="index.html" target="_top">Frames</a>
|
|
||||||
<a href="deprecated-list.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,131 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Annotation (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotation.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Annotations\Annotation</div>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Annotation.php at line 35</div>
|
|
||||||
|
|
||||||
<h1>Class Annotation</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Annotation</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Annotation</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Annotations class</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#value">$value</a></p><p class="description">Value property. </p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#Annotation()">Annotation</a>(array data)</p><p class="description">Constructor</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Annotation.php at line 42</div>
|
|
||||||
<h3 id="value">value</h3>
|
|
||||||
<code class="signature">public string <strong>$value</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Value property. Common among all derived classes.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Annotation.php at line 49</div>
|
|
||||||
<h3 id="Annotation()">Annotation</h3>
|
|
||||||
<code class="signature">public <strong>Annotation</strong>(array data)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constructor</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>data - Key-value for properties to be defined in this class</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotation.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,126 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>AnnotationException (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotationexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Annotations\AnnotationException</div>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationException.php at line 35</div>
|
|
||||||
|
|
||||||
<h1>Class AnnotationException</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:AnnotationException - Superclass: Doctrine
|
|
||||||
Doctrine<br>⌊ <strong>AnnotationException</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>AnnotationException</strong><br>extends Doctrine
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Description of AnnotationException</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#semanticalError()">semanticalError</a>(mixed message)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#syntaxError()">syntaxError</a>(mixed message)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationException.php at line 43</div>
|
|
||||||
<h3 id="semanticalError()">semanticalError</h3>
|
|
||||||
<code class="signature">public static void <strong>semanticalError</strong>(mixed message)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationException.php at line 37</div>
|
|
||||||
<h3 id="syntaxError()">syntaxError</h3>
|
|
||||||
<code class="signature">public static void <strong>syntaxError</strong>(mixed message)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotationexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,260 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>AnnotationReader (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotationreader.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Annotations\AnnotationReader</div>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 41</div>
|
|
||||||
|
|
||||||
<h1>Class AnnotationReader</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>AnnotationReader</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>AnnotationReader</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>A reader for docblock annotations.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#AnnotationReader()">AnnotationReader</a>(<a href="../../../doctrine/common/cache/cache.html">Cache</a> cache)</p><p class="description">Constructor. </p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> The</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getClassAnnotation()">getClassAnnotation</a>(mixed class, string annotation, $class )</p><p class="description">Gets a class annotation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getClassAnnotations()">getClassAnnotations</a>(string|ReflectionClass class)</p><p class="description">Gets the annotations applied to a class.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> The</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getMethodAnnotation()">getMethodAnnotation</a>(ReflectionMethod method, string annotation)</p><p class="description">Gets a method annotation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getMethodAnnotations()">getMethodAnnotations</a>(mixed method, string|ReflectionClass class, string|ReflectionMethod property)</p><p class="description">Gets the annotations applied to a method.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> The</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getPropertyAnnotation()">getPropertyAnnotation</a>(ReflectionProperty property, string annotation)</p><p class="description">Gets a property annotation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getPropertyAnnotations()">getPropertyAnnotations</a>(string|ReflectionProperty property, string|ReflectionClass class)</p><p class="description">Gets the annotations applied to a property.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setAnnotationNamespaceAlias()">setAnnotationNamespaceAlias</a>(mixed namespace, mixed alias, $alias )</p><p class="description">Sets an alias for an annotation namespace.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setDefaultAnnotationNamespace()">setDefaultAnnotationNamespace</a>(string defaultNamespace)</p><p class="description">Sets the default namespace that the AnnotationReader should assume for annotations
|
|
||||||
with not fully qualified names.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 71</div>
|
|
||||||
<h3 id="AnnotationReader()">AnnotationReader</h3>
|
|
||||||
<code class="signature">public <strong>AnnotationReader</strong>(<a href="../../../doctrine/common/cache/cache.html">Cache</a> cache)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constructor. Initializes a new AnnotationReader that uses the given
|
|
||||||
Cache provider.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>cache - The cache provider to use. If none is provided, ArrayCache is used.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 128</div>
|
|
||||||
<h3 id="getClassAnnotation()">getClassAnnotation</h3>
|
|
||||||
<code class="signature">public The <strong>getClassAnnotation</strong>(mixed class, string annotation, $class )</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets a class annotation.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd></dd>
|
|
||||||
<dd>annotation - The name of the annotation.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Annotation or NULL, if the requested annotation does not exist.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 106</div>
|
|
||||||
<h3 id="getClassAnnotations()">getClassAnnotations</h3>
|
|
||||||
<code class="signature">public array <strong>getClassAnnotations</strong>(string|ReflectionClass class)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the annotations applied to a class.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>class - The name or ReflectionClass of the class from which the class annotations should be read.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>An array of Annotations.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 202</div>
|
|
||||||
<h3 id="getMethodAnnotation()">getMethodAnnotation</h3>
|
|
||||||
<code class="signature">public The <strong>getMethodAnnotation</strong>(ReflectionMethod method, string annotation)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets a method annotation.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd></dd>
|
|
||||||
<dd>annotation - The name of the annotation.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Annotation or NULL, if the requested annotation does not exist.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 179</div>
|
|
||||||
<h3 id="getMethodAnnotations()">getMethodAnnotations</h3>
|
|
||||||
<code class="signature">public array <strong>getMethodAnnotations</strong>(mixed method, string|ReflectionClass class, string|ReflectionMethod property)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the annotations applied to a method.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>class - The name or ReflectionClass of the class that owns the method.</dd>
|
|
||||||
<dd>property - The name or ReflectionMethod of the method from which the annotations should be read.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>An array of Annotations.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 165</div>
|
|
||||||
<h3 id="getPropertyAnnotation()">getPropertyAnnotation</h3>
|
|
||||||
<code class="signature">public The <strong>getPropertyAnnotation</strong>(ReflectionProperty property, string annotation)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets a property annotation.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd></dd>
|
|
||||||
<dd>annotation - The name of the annotation.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Annotation or NULL, if the requested annotation does not exist.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 142</div>
|
|
||||||
<h3 id="getPropertyAnnotations()">getPropertyAnnotations</h3>
|
|
||||||
<code class="signature">public array <strong>getPropertyAnnotations</strong>(string|ReflectionProperty property, string|ReflectionClass class)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the annotations applied to a property.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>class - The name or ReflectionClass of the class that owns the property.</dd>
|
|
||||||
<dd>property - The name or ReflectionProperty of the property from which the annotations should be read.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>An array of Annotations.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 94</div>
|
|
||||||
<h3 id="setAnnotationNamespaceAlias()">setAnnotationNamespaceAlias</h3>
|
|
||||||
<code class="signature">public void <strong>setAnnotationNamespaceAlias</strong>(mixed namespace, mixed alias, $alias )</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets an alias for an annotation namespace.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/AnnotationReader.php at line 83</div>
|
|
||||||
<h3 id="setDefaultAnnotationNamespace()">setDefaultAnnotationNamespace</h3>
|
|
||||||
<code class="signature">public void <strong>setDefaultAnnotationNamespace</strong>(string defaultNamespace)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the default namespace that the AnnotationReader should assume for annotations
|
|
||||||
with not fully qualified names.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/annotationreader.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,317 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Lexer (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/lexer.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Annotations\Lexer</div>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 35</div>
|
|
||||||
|
|
||||||
<h1>Class Lexer</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:Lexer - Superclass: Doctrine
|
|
||||||
Doctrine<br>⌊ <strong>Lexer</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Lexer</strong><br>extends Doctrine
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Simple lexer for docblock annotations.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_AT">T_AT</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_CLOSE_CURLY_BRACES">T_CLOSE_CURLY_BRACES</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_CLOSE_PARENTHESIS">T_CLOSE_PARENTHESIS</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_COMMA">T_COMMA</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_EQUALS">T_EQUALS</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_FALSE">T_FALSE</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_FLOAT">T_FLOAT</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_IDENTIFIER">T_IDENTIFIER</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_INTEGER">T_INTEGER</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_NAMESPACE_SEPARATOR">T_NAMESPACE_SEPARATOR</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_NONE">T_NONE</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_OPEN_CURLY_BRACES">T_OPEN_CURLY_BRACES</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_OPEN_PARENTHESIS">T_OPEN_PARENTHESIS</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_STRING">T_STRING</a></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#T_TRUE">T_TRUE</a></p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getCatchablePatterns()">getCatchablePatterns</a>()</p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getNonCatchablePatterns()">getNonCatchablePatterns</a>()</p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 43</div>
|
|
||||||
<h3 id="T_AT">T_AT</h3>
|
|
||||||
<code class="signature">public final int <strong>T_AT</strong> = 101</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 44</div>
|
|
||||||
<h3 id="T_CLOSE_CURLY_BRACES">T_CLOSE_CURLY_BRACES</h3>
|
|
||||||
<code class="signature">public final int <strong>T_CLOSE_CURLY_BRACES</strong> = 102</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 45</div>
|
|
||||||
<h3 id="T_CLOSE_PARENTHESIS">T_CLOSE_PARENTHESIS</h3>
|
|
||||||
<code class="signature">public final int <strong>T_CLOSE_PARENTHESIS</strong> = 103</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 46</div>
|
|
||||||
<h3 id="T_COMMA">T_COMMA</h3>
|
|
||||||
<code class="signature">public final int <strong>T_COMMA</strong> = 104</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 47</div>
|
|
||||||
<h3 id="T_EQUALS">T_EQUALS</h3>
|
|
||||||
<code class="signature">public final int <strong>T_EQUALS</strong> = 105</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 48</div>
|
|
||||||
<h3 id="T_FALSE">T_FALSE</h3>
|
|
||||||
<code class="signature">public final int <strong>T_FALSE</strong> = 106</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 41</div>
|
|
||||||
<h3 id="T_FLOAT">T_FLOAT</h3>
|
|
||||||
<code class="signature">public final int <strong>T_FLOAT</strong> = 5</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 38</div>
|
|
||||||
<h3 id="T_IDENTIFIER">T_IDENTIFIER</h3>
|
|
||||||
<code class="signature">public final int <strong>T_IDENTIFIER</strong> = 2</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 39</div>
|
|
||||||
<h3 id="T_INTEGER">T_INTEGER</h3>
|
|
||||||
<code class="signature">public final int <strong>T_INTEGER</strong> = 3</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 49</div>
|
|
||||||
<h3 id="T_NAMESPACE_SEPARATOR">T_NAMESPACE_SEPARATOR</h3>
|
|
||||||
<code class="signature">public final int <strong>T_NAMESPACE_SEPARATOR</strong> = 107</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 37</div>
|
|
||||||
<h3 id="T_NONE">T_NONE</h3>
|
|
||||||
<code class="signature">public final int <strong>T_NONE</strong> = 1</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 50</div>
|
|
||||||
<h3 id="T_OPEN_CURLY_BRACES">T_OPEN_CURLY_BRACES</h3>
|
|
||||||
<code class="signature">public final int <strong>T_OPEN_CURLY_BRACES</strong> = 108</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 51</div>
|
|
||||||
<h3 id="T_OPEN_PARENTHESIS">T_OPEN_PARENTHESIS</h3>
|
|
||||||
<code class="signature">public final int <strong>T_OPEN_PARENTHESIS</strong> = 109</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 40</div>
|
|
||||||
<h3 id="T_STRING">T_STRING</h3>
|
|
||||||
<code class="signature">public final int <strong>T_STRING</strong> = 4</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 52</div>
|
|
||||||
<h3 id="T_TRUE">T_TRUE</h3>
|
|
||||||
<code class="signature">public final int <strong>T_TRUE</strong> = 110</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 57</div>
|
|
||||||
<h3 id="getCatchablePatterns()">getCatchablePatterns</h3>
|
|
||||||
<code class="signature">protected void <strong>getCatchablePatterns</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Inheritdoc.</dt>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Lexer.php at line 69</div>
|
|
||||||
<h3 id="getNonCatchablePatterns()">getNonCatchablePatterns</h3>
|
|
||||||
<code class="signature">protected void <strong>getNonCatchablePatterns</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Inheritdoc.</dt>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/lexer.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,30 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Annotations (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\Common\Annotations</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/annotation.html" target="main">Annotation</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/annotationexception.html" target="main">AnnotationException</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/annotationreader.html" target="main">AnnotationReader</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/lexer.html" target="main">Lexer</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/parser.html" target="main">Parser</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,68 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Annotations (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\Common\Annotations</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/annotations/annotation.html">Annotation</a></td><td class="description">Annotations class</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/annotations/annotationexception.html">AnnotationException</a></td><td class="description">Description of AnnotationException</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/annotations/annotationreader.html">AnnotationReader</a></td><td class="description">A reader for docblock annotations.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/annotations/lexer.html">Lexer</a></td><td class="description">Simple lexer for docblock annotations.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/annotations/parser.html">Parser</a></td><td class="description">A simple parser for docblock annotations.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,58 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Annotations (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\Common\Annotations</h1><ul>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/annotation.html">Doctrine\Common\Annotations\Annotation</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/annotationreader.html">Doctrine\Common\Annotations\AnnotationReader</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/parser.html">Doctrine\Common\Annotations\Parser</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,296 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Parser (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/parser.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Annotations\Parser</div>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Class Parser</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Parser</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Parser</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>A simple parser for docblock annotations.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#Parser()">Parser</a>()</p><p class="description">Constructs a new AnnotationParser.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#Annotation()">Annotation</a>()</p><p class="description">Annotation ::= "@" AnnotationName ["(" [Values] ")"]
|
|
||||||
AnnotationName ::= QualifiedName | SimpleName | AliasedName
|
|
||||||
QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName
|
|
||||||
AliasedName ::= Alias ":" SimpleName
|
|
||||||
NameSpacePart ::= identifier
|
|
||||||
SimpleName ::= identifier
|
|
||||||
Alias ::= identifier</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#Annotations()">Annotations</a>()</p><p class="description">Annotations ::= Annotation {[ "*" ]* [Annotation]}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#ArrayEntry()">ArrayEntry</a>()</p><p class="description">ArrayEntry ::= Value | KeyValuePair
|
|
||||||
KeyValuePair ::= Key "=" PlainValue
|
|
||||||
Key ::= string | integer</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#Arrayx()">Arrayx</a>()</p><p class="description">Array ::= "{" ArrayEntry {"," ArrayEntry}* "}"</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#FieldAssignment()">FieldAssignment</a>()</p><p class="description">FieldAssignment ::= FieldName "=" PlainValue
|
|
||||||
FieldName ::= identifier</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#PlainValue()">PlainValue</a>()</p><p class="description">PlainValue ::= integer | string | float | boolean | Array | Annotation</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#Value()">Value</a>()</p><p class="description">Value ::= PlainValue | FieldAssignment</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#Values()">Values</a>()</p><p class="description">Values ::= Array | Value {"," Value}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> bool</td>
|
|
||||||
<td class="description"><p class="name"><a href="#match()">match</a>(int|string token)</p><p class="description">Attempts to match the given token with the current lookahead token.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#parse()">parse</a>(string docBlockString, string context)</p><p class="description">Parses the given docblock string for annotations.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setAnnotationNamespaceAlias()">setAnnotationNamespaceAlias</a>(mixed namespace, mixed alias, $alias )</p><p class="description">Sets an alias for an annotation namespace.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setDefaultAnnotationNamespace()">setDefaultAnnotationNamespace</a>(mixed defaultNamespace, $defaultNamespace )</p><p class="description">Sets the default namespace that is assumed for an annotation that does not
|
|
||||||
define a namespace prefix.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 85</div>
|
|
||||||
<h3 id="Parser()">Parser</h3>
|
|
||||||
<code class="signature">public <strong>Parser</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constructs a new AnnotationParser.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 224</div>
|
|
||||||
<h3 id="Annotation()">Annotation</h3>
|
|
||||||
<code class="signature">public mixed <strong>Annotation</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Annotation ::= "@" AnnotationName ["(" [Values] ")"]
|
|
||||||
AnnotationName ::= QualifiedName | SimpleName | AliasedName
|
|
||||||
QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName
|
|
||||||
AliasedName ::= Alias ":" SimpleName
|
|
||||||
NameSpacePart ::= identifier
|
|
||||||
SimpleName ::= identifier
|
|
||||||
Alias ::= identifier</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>False if it is not a valid Annotation; instance of Annotation subclass otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 189</div>
|
|
||||||
<h3 id="Annotations()">Annotations</h3>
|
|
||||||
<code class="signature">public array <strong>Annotations</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Annotations ::= Annotation {[ "*" ]* [Annotation]}</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 431</div>
|
|
||||||
<h3 id="ArrayEntry()">ArrayEntry</h3>
|
|
||||||
<code class="signature">public array <strong>ArrayEntry</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>ArrayEntry ::= Value | KeyValuePair
|
|
||||||
KeyValuePair ::= Key "=" PlainValue
|
|
||||||
Key ::= string | integer</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 398</div>
|
|
||||||
<h3 id="Arrayx()">Arrayx</h3>
|
|
||||||
<code class="signature">public array <strong>Arrayx</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Array ::= "{" ArrayEntry {"," ArrayEntry}* "}"</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 384</div>
|
|
||||||
<h3 id="FieldAssignment()">FieldAssignment</h3>
|
|
||||||
<code class="signature">public array <strong>FieldAssignment</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>FieldAssignment ::= FieldName "=" PlainValue
|
|
||||||
FieldName ::= identifier</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 342</div>
|
|
||||||
<h3 id="PlainValue()">PlainValue</h3>
|
|
||||||
<code class="signature">public mixed <strong>PlainValue</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>PlainValue ::= integer | string | float | boolean | Array | Annotation</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 326</div>
|
|
||||||
<h3 id="Value()">Value</h3>
|
|
||||||
<code class="signature">public mixed <strong>Value</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Value ::= PlainValue | FieldAssignment</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 284</div>
|
|
||||||
<h3 id="Values()">Values</h3>
|
|
||||||
<code class="signature">public array <strong>Values</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Values ::= Array | Value {"," Value}</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 147</div>
|
|
||||||
<h3 id="match()">match</h3>
|
|
||||||
<code class="signature">public bool <strong>match</strong>(int|string token)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Attempts to match the given token with the current lookahead token.
|
|
||||||
If they match, updates the lookahead token; otherwise raises a syntax error.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>token - type or value</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>True if tokens match; false otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 119</div>
|
|
||||||
<h3 id="parse()">parse</h3>
|
|
||||||
<code class="signature">public array <strong>parse</strong>(string docBlockString, string context)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Parses the given docblock string for annotations.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Array of Annotations. If no annotations are found, an empty array is returned.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 107</div>
|
|
||||||
<h3 id="setAnnotationNamespaceAlias()">setAnnotationNamespaceAlias</h3>
|
|
||||||
<code class="signature">public void <strong>setAnnotationNamespaceAlias</strong>(mixed namespace, mixed alias, $alias )</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets an alias for an annotation namespace.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Annotations/Parser.php at line 96</div>
|
|
||||||
<h3 id="setDefaultAnnotationNamespace()">setDefaultAnnotationNamespace</h3>
|
|
||||||
<code class="signature">public void <strong>setDefaultAnnotationNamespace</strong>(mixed defaultNamespace, $defaultNamespace )</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the default namespace that is assumed for an annotation that does not
|
|
||||||
define a namespace prefix.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/annotations/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/annotations/parser.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
239
lib/api/doctrine/common/cache/abstractcache.html
vendored
239
lib/api/doctrine/common/cache/abstractcache.html
vendored
@ -1,239 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>AbstractCache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\AbstractCache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 35</div>
|
|
||||||
|
|
||||||
<h1>Class AbstractCache</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>AbstractCache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public abstract class <strong>AbstractCache</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Base class for cache driver implementations.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#contains()">contains</a>(mixed id)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#delete()">delete</a>(mixed id)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#deleteAll()">deleteAll</a>()</p><p class="description">Delete all cache entries.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#deleteByPrefix()">deleteByPrefix</a>(string prefix)</p><p class="description">Delete cache entries where the id has the passed prefix</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#deleteByRegex()">deleteByRegex</a>(string regex)</p><p class="description">Delete cache entries where the id matches a PHP regular expressions</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#deleteBySuffix()">deleteBySuffix</a>(string suffix)</p><p class="description">Delete cache entries where the id has the passed suffix</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetch()">fetch</a>(mixed id)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">abstract array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIds()">getIds</a>()</p><p class="description">Get an array of all the cache ids stored</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#save()">save</a>(mixed id, mixed data, mixed lifeTime)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setNamespace()">setNamespace</a>(string namespace)</p><p class="description">Set the namespace to prefix all cache ids with.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 65</div>
|
|
||||||
<h3 id="contains()">contains</h3>
|
|
||||||
<code class="signature">public void <strong>contains</strong>(mixed id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 82</div>
|
|
||||||
<h3 id="delete()">delete</h3>
|
|
||||||
<code class="signature">public void <strong>delete</strong>(mixed id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 98</div>
|
|
||||||
<h3 id="deleteAll()">deleteAll</h3>
|
|
||||||
<code class="signature">public array <strong>deleteAll</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Delete all cache entries.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$deleted Array of the deleted cache ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 132</div>
|
|
||||||
<h3 id="deleteByPrefix()">deleteByPrefix</h3>
|
|
||||||
<code class="signature">public array <strong>deleteByPrefix</strong>(string prefix)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Delete cache entries where the id has the passed prefix</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$deleted Array of the deleted cache ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 113</div>
|
|
||||||
<h3 id="deleteByRegex()">deleteByRegex</h3>
|
|
||||||
<code class="signature">public array <strong>deleteByRegex</strong>(string regex)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Delete cache entries where the id matches a PHP regular expressions</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$deleted Array of the deleted cache ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 151</div>
|
|
||||||
<h3 id="deleteBySuffix()">deleteBySuffix</h3>
|
|
||||||
<code class="signature">public array <strong>deleteBySuffix</strong>(string suffix)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Delete cache entries where the id has the passed suffix</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$deleted Array of the deleted cache ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 57</div>
|
|
||||||
<h3 id="fetch()">fetch</h3>
|
|
||||||
<code class="signature">public void <strong>fetch</strong>(mixed id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 218</div>
|
|
||||||
<h3 id="getIds()">getIds</h3>
|
|
||||||
<code class="signature">public abstract array <strong>getIds</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Get an array of all the cache ids stored</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 73</div>
|
|
||||||
<h3 id="save()">save</h3>
|
|
||||||
<code class="signature">public void <strong>save</strong>(mixed id, mixed data, mixed lifeTime)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/AbstractCache.php at line 49</div>
|
|
||||||
<h3 id="setNamespace()">setNamespace</h3>
|
|
||||||
<code class="signature">public void <strong>setNamespace</strong>(string namespace)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Set the namespace to prefix all cache ids with.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
126
lib/api/doctrine/common/cache/apccache.html
vendored
126
lib/api/doctrine/common/cache/apccache.html
vendored
@ -1,126 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>ApcCache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/apccache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\ApcCache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/ApcCache.php at line 38</div>
|
|
||||||
|
|
||||||
<h1>Class ApcCache</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:ApcCache - Superclass: AbstractCache
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a><br> ⌊ <strong>ApcCache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>ApcCache</strong><br>extends <a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>APC cache driver.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision$</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>David Abdemoulaie <dave@hobodave.com></dd>
|
|
||||||
<dt>Todo:</dt>
|
|
||||||
<dd>Rename: APCCache</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIds()">getIds</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="inherit">
|
|
||||||
<tr><th colspan="2">Methods inherited from Doctrine\Common\Cache\AbstractCache</th></tr>
|
|
||||||
<tr><td><a href="../../../doctrine/common/cache/abstractcache.html#contains()">contains</a>, <a href="../../../doctrine/common/cache/abstractcache.html#delete()">delete</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteAll()">deleteAll</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByPrefix()">deleteByPrefix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByRegex()">deleteByRegex</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteBySuffix()">deleteBySuffix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#fetch()">fetch</a>, <a href="../../../doctrine/common/cache/abstractcache.html#getIds()">getIds</a>, <a href="../../../doctrine/common/cache/abstractcache.html#save()">save</a>, <a href="../../../doctrine/common/cache/abstractcache.html#setNamespace()">setNamespace</a></td></tr></table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/ApcCache.php at line 43</div>
|
|
||||||
<h3 id="getIds()">getIds</h3>
|
|
||||||
<code class="signature">public array <strong>getIds</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/apccache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
124
lib/api/doctrine/common/cache/arraycache.html
vendored
124
lib/api/doctrine/common/cache/arraycache.html
vendored
@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>ArrayCache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/arraycache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\ArrayCache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/ArrayCache.php at line 37</div>
|
|
||||||
|
|
||||||
<h1>Class ArrayCache</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:ArrayCache - Superclass: AbstractCache
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a><br> ⌊ <strong>ArrayCache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>ArrayCache</strong><br>extends <a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Array cache driver.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>David Abdemoulaie <dave@hobodave.com></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIds()">getIds</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="inherit">
|
|
||||||
<tr><th colspan="2">Methods inherited from Doctrine\Common\Cache\AbstractCache</th></tr>
|
|
||||||
<tr><td><a href="../../../doctrine/common/cache/abstractcache.html#contains()">contains</a>, <a href="../../../doctrine/common/cache/abstractcache.html#delete()">delete</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteAll()">deleteAll</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByPrefix()">deleteByPrefix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByRegex()">deleteByRegex</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteBySuffix()">deleteBySuffix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#fetch()">fetch</a>, <a href="../../../doctrine/common/cache/abstractcache.html#getIds()">getIds</a>, <a href="../../../doctrine/common/cache/abstractcache.html#save()">save</a>, <a href="../../../doctrine/common/cache/abstractcache.html#setNamespace()">setNamespace</a></td></tr></table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/ArrayCache.php at line 47</div>
|
|
||||||
<h3 id="getIds()">getIds</h3>
|
|
||||||
<code class="signature">public array <strong>getIds</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/arraycache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
174
lib/api/doctrine/common/cache/cache.html
vendored
174
lib/api/doctrine/common/cache/cache.html
vendored
@ -1,174 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Cache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/cache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\Cache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/Cache.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Interface Cache</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Cache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>Cache</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Interface for cache drivers.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#contains()">contains</a>(string id)</p><p class="description">Test if an entry exists in the cache.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#delete()">delete</a>(string id)</p><p class="description">Deletes a cache entry.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetch()">fetch</a>(string id)</p><p class="description">Fetches an entry from the cache.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#save()">save</a>(string id, string data, int lifeTime)</p><p class="description">Puts data into the cache.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/Cache.php at line 52</div>
|
|
||||||
<h3 id="contains()">contains</h3>
|
|
||||||
<code class="signature">public boolean <strong>contains</strong>(string id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Test if an entry exists in the cache.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>id - cache id The cache id of the entry to check for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if a cache entry exists for the given cache id, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/Cache.php at line 70</div>
|
|
||||||
<h3 id="delete()">delete</h3>
|
|
||||||
<code class="signature">public boolean <strong>delete</strong>(string id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Deletes a cache entry.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>id - cache id</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the cache entry was successfully deleted, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/Cache.php at line 44</div>
|
|
||||||
<h3 id="fetch()">fetch</h3>
|
|
||||||
<code class="signature">public string <strong>fetch</strong>(string id)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Fetches an entry from the cache.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>id - cache id The id of the cache entry to fetch.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The cached data or FALSE, if no cache entry exists for the given id.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/Cache.php at line 62</div>
|
|
||||||
<h3 id="save()">save</h3>
|
|
||||||
<code class="signature">public boolean <strong>save</strong>(string id, string data, int lifeTime)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Puts data into the cache.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>id - The cache id.</dd>
|
|
||||||
<dd>data - The cache entry/data.</dd>
|
|
||||||
<dd>lifeTime - The lifetime. If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime).</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the entry was successfully stored in the cache, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/cache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
148
lib/api/doctrine/common/cache/memcachecache.html
vendored
148
lib/api/doctrine/common/cache/memcachecache.html
vendored
@ -1,148 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>MemcacheCache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/memcachecache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\MemcacheCache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/MemcacheCache.php at line 39</div>
|
|
||||||
|
|
||||||
<h1>Class MemcacheCache</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:MemcacheCache - Superclass: AbstractCache
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a><br> ⌊ <strong>MemcacheCache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>MemcacheCache</strong><br>extends <a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Memcache cache driver.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>David Abdemoulaie <dave@hobodave.com></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIds()">getIds</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Memcache</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getMemcache()">getMemcache</a>()</p><p class="description">Gets the memcache instance used by the cache.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setMemcache()">setMemcache</a>(Memcache memcache)</p><p class="description">Sets the memcache instance to use.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="inherit">
|
|
||||||
<tr><th colspan="2">Methods inherited from Doctrine\Common\Cache\AbstractCache</th></tr>
|
|
||||||
<tr><td><a href="../../../doctrine/common/cache/abstractcache.html#contains()">contains</a>, <a href="../../../doctrine/common/cache/abstractcache.html#delete()">delete</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteAll()">deleteAll</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByPrefix()">deleteByPrefix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByRegex()">deleteByRegex</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteBySuffix()">deleteBySuffix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#fetch()">fetch</a>, <a href="../../../doctrine/common/cache/abstractcache.html#getIds()">getIds</a>, <a href="../../../doctrine/common/cache/abstractcache.html#save()">save</a>, <a href="../../../doctrine/common/cache/abstractcache.html#setNamespace()">setNamespace</a></td></tr></table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/MemcacheCache.php at line 69</div>
|
|
||||||
<h3 id="getIds()">getIds</h3>
|
|
||||||
<code class="signature">public array <strong>getIds</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/MemcacheCache.php at line 61</div>
|
|
||||||
<h3 id="getMemcache()">getMemcache</h3>
|
|
||||||
<code class="signature">public Memcache <strong>getMemcache</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the memcache instance used by the cache.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Cache/MemcacheCache.php at line 51</div>
|
|
||||||
<h3 id="setMemcache()">setMemcache</h3>
|
|
||||||
<code class="signature">public void <strong>setMemcache</strong>(Memcache memcache)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the memcache instance to use.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/memcachecache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
35
lib/api/doctrine/common/cache/package-frame.html
vendored
35
lib/api/doctrine/common/cache/package-frame.html
vendored
@ -1,35 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Cache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\Common\Cache</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/cache/abstractcache.html" target="main">AbstractCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/apccache.html" target="main">ApcCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/arraycache.html" target="main">ArrayCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/memcachecache.html" target="main">MemcacheCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/xcachecache.html" target="main">XcacheCache</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Interfaces</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/cache/cache.html" target="main">Cache</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,73 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Cache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\Common\Cache</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a></td><td class="description">Base class for cache driver implementations.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/apccache.html">ApcCache</a></td><td class="description">APC cache driver.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/arraycache.html">ArrayCache</a></td><td class="description">Array cache driver.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/memcachecache.html">MemcacheCache</a></td><td class="description">Memcache cache driver.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/xcachecache.html">XcacheCache</a></td><td class="description">Xcache cache driver.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Interface Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/cache/cache.html">Cache</a></td><td class="description">Interface for cache drivers.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
62
lib/api/doctrine/common/cache/package-tree.html
vendored
62
lib/api/doctrine/common/cache/package-tree.html
vendored
@ -1,62 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Cache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\Common\Cache</h1><ul>
|
|
||||||
<li><a href="../../../doctrine/common/cache/abstractcache.html">Doctrine\Common\Cache\AbstractCache</a><ul>
|
|
||||||
<li><a href="../../../doctrine/common/cache/apccache.html">Doctrine\Common\Cache\ApcCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/arraycache.html">Doctrine\Common\Cache\ArrayCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/memcachecache.html">Doctrine\Common\Cache\MemcacheCache</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/xcachecache.html">Doctrine\Common\Cache\XcacheCache</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
124
lib/api/doctrine/common/cache/xcachecache.html
vendored
124
lib/api/doctrine/common/cache/xcachecache.html
vendored
@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>XcacheCache (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/xcachecache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Cache\XcacheCache</div>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/XcacheCache.php at line 37</div>
|
|
||||||
|
|
||||||
<h1>Class XcacheCache</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:XcacheCache - Superclass: AbstractCache
|
|
||||||
<a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a><br> ⌊ <strong>XcacheCache</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>XcacheCache</strong><br>extends <a href="../../../doctrine/common/cache/abstractcache.html">AbstractCache</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Xcache cache driver.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>David Abdemoulaie <dave@hobodave.com></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIds()">getIds</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="inherit">
|
|
||||||
<tr><th colspan="2">Methods inherited from Doctrine\Common\Cache\AbstractCache</th></tr>
|
|
||||||
<tr><td><a href="../../../doctrine/common/cache/abstractcache.html#contains()">contains</a>, <a href="../../../doctrine/common/cache/abstractcache.html#delete()">delete</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteAll()">deleteAll</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByPrefix()">deleteByPrefix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteByRegex()">deleteByRegex</a>, <a href="../../../doctrine/common/cache/abstractcache.html#deleteBySuffix()">deleteBySuffix</a>, <a href="../../../doctrine/common/cache/abstractcache.html#fetch()">fetch</a>, <a href="../../../doctrine/common/cache/abstractcache.html#getIds()">getIds</a>, <a href="../../../doctrine/common/cache/abstractcache.html#save()">save</a>, <a href="../../../doctrine/common/cache/abstractcache.html#setNamespace()">setNamespace</a></td></tr></table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Cache/XcacheCache.php at line 42</div>
|
|
||||||
<h3 id="getIds()">getIds</h3>
|
|
||||||
<code class="signature">public array <strong>getIds</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$ids</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/cache/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/cache/xcachecache.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,235 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>ClassLoader (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/classloader.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\ClassLoader</div>
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Class ClassLoader</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>ClassLoader</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>ClassLoader</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>A <tt>ClassLoader</tt> is an autoloader for class files that can be
|
|
||||||
installed on the SPL autoload stack. It is a class loader that loads only classes
|
|
||||||
of a specific namespace or all namespaces and is suitable for working together
|
|
||||||
with other autoloaders in the SPL autoload stack.</p><p>If no include path is configured through <code><a href="../../doctrine/common/classloader.html#setIncludePath()">setIncludePath</a></code>, a ClassLoader
|
|
||||||
relies on the PHP include_path.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#ClassLoader()">ClassLoader</a>(string ns, mixed includePath)</p><p class="description">Creates a new ClassLoader that loads classes of the
|
|
||||||
specified namespace.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getFileExtension()">getFileExtension</a>()</p><p class="description">Gets the file extension of class files in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIncludePath()">getIncludePath</a>()</p><p class="description">Gets the base include path for all class files in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getNamespaceSeparator()">getNamespaceSeparator</a>()</p><p class="description">Gets the namespace separator used by classes in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#loadClass()">loadClass</a>(mixed className, string classname)</p><p class="description">Loads the given class or interface.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#register()">register</a>()</p><p class="description">Installs this class loader on the SPL autoload stack.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setFileExtension()">setFileExtension</a>(string fileExtension)</p><p class="description">Sets the file extension of class files in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setIncludePath()">setIncludePath</a>(string includePath)</p><p class="description">Sets the base include path for all class files in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setNamespaceSeparator()">setNamespaceSeparator</a>(string sep)</p><p class="description">Sets the namespace separator used by classes in the namespace of this class loader.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#unregister()">unregister</a>()</p><p class="description">Uninstalls this class loader on the SPL autoload stack.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 49</div>
|
|
||||||
<h3 id="ClassLoader()">ClassLoader</h3>
|
|
||||||
<code class="signature">public <strong>ClassLoader</strong>(string ns, mixed includePath)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Creates a new <tt>ClassLoader</tt> that loads classes of the
|
|
||||||
specified namespace.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>ns - The namespace to use.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 110</div>
|
|
||||||
<h3 id="getFileExtension()">getFileExtension</h3>
|
|
||||||
<code class="signature">public string <strong>getFileExtension</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the file extension of class files in the namespace of this class loader.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 90</div>
|
|
||||||
<h3 id="getIncludePath()">getIncludePath</h3>
|
|
||||||
<code class="signature">public string <strong>getIncludePath</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the base include path for all class files in the namespace of this class loader.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 70</div>
|
|
||||||
<h3 id="getNamespaceSeparator()">getNamespaceSeparator</h3>
|
|
||||||
<code class="signature">public string <strong>getNamespaceSeparator</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the namespace separator used by classes in the namespace of this class loader.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 137</div>
|
|
||||||
<h3 id="loadClass()">loadClass</h3>
|
|
||||||
<code class="signature">public boolean <strong>loadClass</strong>(mixed className, string classname)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Loads the given class or interface.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>classname - The name of the class to load.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the class has been successfully loaded, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 118</div>
|
|
||||||
<h3 id="register()">register</h3>
|
|
||||||
<code class="signature">public void <strong>register</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Installs this class loader on the SPL autoload stack.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 100</div>
|
|
||||||
<h3 id="setFileExtension()">setFileExtension</h3>
|
|
||||||
<code class="signature">public void <strong>setFileExtension</strong>(string fileExtension)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the file extension of class files in the namespace of this class loader.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 80</div>
|
|
||||||
<h3 id="setIncludePath()">setIncludePath</h3>
|
|
||||||
<code class="signature">public void <strong>setIncludePath</strong>(string includePath)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the base include path for all class files in the namespace of this class loader.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 60</div>
|
|
||||||
<h3 id="setNamespaceSeparator()">setNamespaceSeparator</h3>
|
|
||||||
<code class="signature">public void <strong>setNamespaceSeparator</strong>(string sep)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the namespace separator used by classes in the namespace of this class loader.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>sep - The separator to use.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/ClassLoader.php at line 126</div>
|
|
||||||
<h3 id="unregister()">unregister</h3>
|
|
||||||
<code class="signature">public void <strong>unregister</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Uninstalls this class loader on the SPL autoload stack.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/classloader.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,567 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>ArrayCollection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/arraycollection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Collections\ArrayCollection</div>
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 38</div>
|
|
||||||
|
|
||||||
<h1>Class ArrayCollection</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>ArrayCollection</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>ArrayCollection</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>An ArrayCollection is a Collection implementation that uses a regular PHP array
|
|
||||||
internally.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#ArrayCollection()">ArrayCollection</a>(array elements)</p><p class="description">Initializes a new ArrayCollection.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#add()">add</a>(mixed value)</p><p class="description">Adds an element to the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#clear()">clear</a>()</p><p class="description">Clears the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#contains()">contains</a>(mixed element)</p><p class="description">Checks whether the given element is contained in the collection.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#containsKey()">containsKey</a>(mixed key)</p><p class="description">Checks whether the collection contains a specific key/index.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#count()">count</a>()</p><p class="description">Returns the number of elements in the collection.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#current()">current</a>()</p><p class="description">Gets the element of the collection at the current internal iterator position.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#exists()">exists</a>(Closure p)</p><p class="description">Tests for the existance of an element that satisfies the given predicate.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> <a href="../../../doctrine/common/collections/collection.html">Collection</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#filter()">filter</a>(Closure p)</p><p class="description">Returns all the elements of this collection that satisfy the predicate p.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#first()">first</a>()</p><p class="description">Sets the internal iterator to the first element in the collection and
|
|
||||||
returns this element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#forAll()">forAll</a>(Closure p)</p><p class="description">Applies the given predicate p to all elements of this collection,
|
|
||||||
returning true, if the predicate yields true for all elements.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#get()">get</a>(mixed key)</p><p class="description">Gets the element with the given key/index.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> ArrayIterator</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getIterator()">getIterator</a>()</p><p class="description">Gets an iterator for iterating over the elements in the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getKeys()">getKeys</a>()</p><p class="description">Gets all keys/indexes of the collection elements.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getValues()">getValues</a>()</p><p class="description">Gets all elements.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#indexOf()">indexOf</a>(mixed element)</p><p class="description">Searches for a given element and, if found, returns the corresponding key/index
|
|
||||||
of that element. </p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isEmpty()">isEmpty</a>()</p><p class="description">Checks whether the collection is empty.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#key()">key</a>()</p><p class="description">Gets the current key/index at the current internal iterator position.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#last()">last</a>()</p><p class="description">Sets the internal iterator to the last element in the collection and
|
|
||||||
returns this element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> <a href="../../../doctrine/common/collections/collection.html">Collection</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#map()">map</a>(Closure func)</p><p class="description">Applies the given function to each element in the collection and returns
|
|
||||||
a new collection with the elements returned by the function.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#next()">next</a>()</p><p class="description">Moves the internal iterator position to the next element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#offsetExists()">offsetExists</a>(mixed offset)</p><p class="description">ArrayAccess implementation of offsetExists()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#offsetGet()">offsetGet</a>(mixed offset)</p><p class="description">ArrayAccess implementation of offsetGet()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#offsetSet()">offsetSet</a>(mixed offset, mixed value)</p><p class="description">ArrayAccess implementation of offsetGet()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#offsetUnset()">offsetUnset</a>(mixed offset)</p><p class="description">ArrayAccess implementation of offsetUnset()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#partition()">partition</a>(Closure p)</p><p class="description">Partitions this collection in two collections according to a predicate.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#remove()">remove</a>(mixed key)</p><p class="description">Removes an element with a specific key/index from the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#removeElement()">removeElement</a>(mixed element)</p><p class="description">Removes the specified element from the collection, if it is found.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#set()">set</a>(mixed key, mixed value)</p><p class="description">Adds/sets an element in the collection at the index / with the specified key.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#toArray()">toArray</a>()</p><p class="description">Gets the PHP array representation of this collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 53</div>
|
|
||||||
<h3 id="ArrayCollection()">ArrayCollection</h3>
|
|
||||||
<code class="signature">public <strong>ArrayCollection</strong>(array elements)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Initializes a new ArrayCollection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 321</div>
|
|
||||||
<h3 id="add()">add</h3>
|
|
||||||
<code class="signature">public boolean <strong>add</strong>(mixed value)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds an element to the collection.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Always TRUE.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 426</div>
|
|
||||||
<h3 id="clear()">clear</h3>
|
|
||||||
<code class="signature">public void <strong>clear</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Clears the collection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 223</div>
|
|
||||||
<h3 id="contains()">contains</h3>
|
|
||||||
<code class="signature">public boolean <strong>contains</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether the given element is contained in the collection.
|
|
||||||
Only element values are compared, not keys. The comparison of two elements
|
|
||||||
is strict, that means not only the value but also the type must match.
|
|
||||||
For objects this means reference equality.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the given element is contained in the collection, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 208</div>
|
|
||||||
<h3 id="containsKey()">containsKey</h3>
|
|
||||||
<code class="signature">public boolean <strong>containsKey</strong>(mixed key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether the collection contains a specific key/index.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The key to check for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the given key/index exists, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 296</div>
|
|
||||||
<h3 id="count()">count</h3>
|
|
||||||
<code class="signature">public integer <strong>count</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns the number of elements in the collection.</p><p>Implementation of the Countable interface.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of elements in the collection.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 115</div>
|
|
||||||
<h3 id="current()">current</h3>
|
|
||||||
<code class="signature">public mixed <strong>current</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the element of the collection at the current internal iterator position.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 234</div>
|
|
||||||
<h3 id="exists()">exists</h3>
|
|
||||||
<code class="signature">public boolean <strong>exists</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Tests for the existance of an element that satisfies the given predicate.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the predicate is TRUE for at least one element, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 368</div>
|
|
||||||
<h3 id="filter()">filter</h3>
|
|
||||||
<code class="signature">public <a href="../../../doctrine/common/collections/collection.html">Collection</a> <strong>filter</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns all the elements of this collection that satisfy the predicate p.
|
|
||||||
The order of the elements is preserved.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate used for filtering.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>A collection with the results of the filter operation.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 74</div>
|
|
||||||
<h3 id="first()">first</h3>
|
|
||||||
<code class="signature">public mixed <strong>first</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the internal iterator to the first element in the collection and
|
|
||||||
returns this element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 380</div>
|
|
||||||
<h3 id="forAll()">forAll</h3>
|
|
||||||
<code class="signature">public boolean <strong>forAll</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Applies the given predicate p to all elements of this collection,
|
|
||||||
returning true, if the predicate yields true for all elements.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE, if the predicate yields TRUE for all elements, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 261</div>
|
|
||||||
<h3 id="get()">get</h3>
|
|
||||||
<code class="signature">public mixed <strong>get</strong>(mixed key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the element with the given key/index.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The key.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The element or NULL, if no element exists for the given key.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 344</div>
|
|
||||||
<h3 id="getIterator()">getIterator</h3>
|
|
||||||
<code class="signature">public ArrayIterator <strong>getIterator</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets an iterator for iterating over the elements in the collection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 274</div>
|
|
||||||
<h3 id="getKeys()">getKeys</h3>
|
|
||||||
<code class="signature">public array <strong>getKeys</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets all keys/indexes of the collection elements.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 284</div>
|
|
||||||
<h3 id="getValues()">getValues</h3>
|
|
||||||
<code class="signature">public array <strong>getValues</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets all elements.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 250</div>
|
|
||||||
<h3 id="indexOf()">indexOf</h3>
|
|
||||||
<code class="signature">public mixed <strong>indexOf</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Searches for a given element and, if found, returns the corresponding key/index
|
|
||||||
of that element. The comparison of two elements is strict, that means not
|
|
||||||
only the value but also the type must match.
|
|
||||||
For objects this means reference equality.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>element - The element to search for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The key/index of the element or FALSE if the element was not found.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 334</div>
|
|
||||||
<h3 id="isEmpty()">isEmpty</h3>
|
|
||||||
<code class="signature">public boolean <strong>isEmpty</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether the collection is empty.</p><p>Note: This is preferrable over count() == 0.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the collection is empty, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 95</div>
|
|
||||||
<h3 id="key()">key</h3>
|
|
||||||
<code class="signature">public mixed <strong>key</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the current key/index at the current internal iterator position.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 85</div>
|
|
||||||
<h3 id="last()">last</h3>
|
|
||||||
<code class="signature">public mixed <strong>last</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the internal iterator to the last element in the collection and
|
|
||||||
returns this element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 356</div>
|
|
||||||
<h3 id="map()">map</h3>
|
|
||||||
<code class="signature">public <a href="../../../doctrine/common/collections/collection.html">Collection</a> <strong>map</strong>(Closure func)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Applies the given function to each element in the collection and returns
|
|
||||||
a new collection with the elements returned by the function.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 105</div>
|
|
||||||
<h3 id="next()">next</h3>
|
|
||||||
<code class="signature">public mixed <strong>next</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Moves the internal iterator position to the next element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 163</div>
|
|
||||||
<h3 id="offsetExists()">offsetExists</h3>
|
|
||||||
<code class="signature">public void <strong>offsetExists</strong>(mixed offset)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>ArrayAccess implementation of offsetExists()</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd>containsKey()</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 173</div>
|
|
||||||
<h3 id="offsetGet()">offsetGet</h3>
|
|
||||||
<code class="signature">public void <strong>offsetGet</strong>(mixed offset)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>ArrayAccess implementation of offsetGet()</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd>get()</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 184</div>
|
|
||||||
<h3 id="offsetSet()">offsetSet</h3>
|
|
||||||
<code class="signature">public void <strong>offsetSet</strong>(mixed offset, mixed value)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>ArrayAccess implementation of offsetGet()</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd>add()</dd>
|
|
||||||
<dd>set()</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 197</div>
|
|
||||||
<h3 id="offsetUnset()">offsetUnset</h3>
|
|
||||||
<code class="signature">public void <strong>offsetUnset</strong>(mixed offset)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>ArrayAccess implementation of offsetUnset()</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd>remove()</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 400</div>
|
|
||||||
<h3 id="partition()">partition</h3>
|
|
||||||
<code class="signature">public array <strong>partition</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Partitions this collection in two collections according to a predicate.
|
|
||||||
Keys are preserved in the resulting collections.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate on which to partition.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>An array with two elements. The first element contains the collection of elements where the predicate returned TRUE, the second element contains the collection of elements where the predicate returned FALSE.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 126</div>
|
|
||||||
<h3 id="remove()">remove</h3>
|
|
||||||
<code class="signature">public mixed <strong>remove</strong>(mixed key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Removes an element with a specific key/index from the collection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 144</div>
|
|
||||||
<h3 id="removeElement()">removeElement</h3>
|
|
||||||
<code class="signature">public boolean <strong>removeElement</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Removes the specified element from the collection, if it is found.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 310</div>
|
|
||||||
<h3 id="set()">set</h3>
|
|
||||||
<code class="signature">public void <strong>set</strong>(mixed key, mixed value)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds/sets an element in the collection at the index / with the specified key.</p><p>When the collection is a Map this is like put(key,value)/add(key,value).
|
|
||||||
When the collection is a List this is like add(position,value).</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/ArrayCollection.php at line 63</div>
|
|
||||||
<h3 id="toArray()">toArray</h3>
|
|
||||||
<code class="signature">public array <strong>toArray</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the PHP array representation of this collection.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The PHP array representation of this collection.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/arraycollection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,485 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Collection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/collection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Collections\Collection</div>
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 51</div>
|
|
||||||
|
|
||||||
<h1>Interface Collection</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:Collection - Superclass: Countable
|
|
||||||
Countable<br>⌊ <strong>Collection</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>Collection</strong><br>extends Countable
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>The missing (SPL) Collection/Array/OrderedMap interface.</p><p>A Collection resembles the nature of a regular PHP array. That is,
|
|
||||||
it is essentially an <b>ordered map</b> that can also be used
|
|
||||||
like a list.</p><p>A Collection has an internal iterator just like a PHP array. In addition,
|
|
||||||
a Collection can be iterated with external iterators, which is preferrable.
|
|
||||||
To use an external iterator simply use the foreach language construct to
|
|
||||||
iterate over the collection (which calls <code>getIterator()</code> internally) or
|
|
||||||
explicitly retrieve an iterator though <code>getIterator()</code> which can then be
|
|
||||||
used to iterate over the collection.
|
|
||||||
You can not rely on the internal iterator of the collection being at a certain
|
|
||||||
position unless you explicitly positioned it before. Prefer iteration with
|
|
||||||
external iterators.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#add()">add</a>(mixed element)</p><p class="description">Adds an element at the end of the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#clear()">clear</a>()</p><p class="description">Clears the collection, removing all elements.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#contains()">contains</a>(mixed element)</p><p class="description">Checks whether an element is contained in the collection.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#containsKey()">containsKey</a>(string|integer key)</p><p class="description">Checks whether the collection contains an element with the specified key/index.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#current()">current</a>()</p><p class="description">Gets the element of the collection at the current iterator position.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#exists()">exists</a>(Closure p)</p><p class="description">Tests for the existence of an element that satisfies the given predicate.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> <a href="../../../doctrine/common/collections/collection.html">Collection</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#filter()">filter</a>(Closure p)</p><p class="description">Returns all the elements of this collection that satisfy the predicate p.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#first()">first</a>()</p><p class="description">Sets the internal iterator to the first element in the collection and
|
|
||||||
returns this element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#forAll()">forAll</a>(Closure p)</p><p class="description">Applies the given predicate p to all elements of this collection,
|
|
||||||
returning true, if the predicate yields true for all elements.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#get()">get</a>(string|integer key)</p><p class="description">Gets the element at the specified key/index.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getKeys()">getKeys</a>()</p><p class="description">Gets all keys/indices of the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getValues()">getValues</a>()</p><p class="description">Gets all values of the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#indexOf()">indexOf</a>(mixed element)</p><p class="description">Gets the index/key of a given element. </p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isEmpty()">isEmpty</a>()</p><p class="description">Checks whether the collection is empty (contains no elements).</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#key()">key</a>()</p><p class="description">Gets the key/index of the element at the current iterator position.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#last()">last</a>()</p><p class="description">Sets the internal iterator to the last element in the collection and
|
|
||||||
returns this element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> <a href="../../../doctrine/common/collections/collection.html">Collection</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#map()">map</a>(Closure func)</p><p class="description">Applies the given function to each element in the collection and returns
|
|
||||||
a new collection with the elements returned by the function.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#next()">next</a>()</p><p class="description">Moves the internal iterator position to the next element.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#partition()">partition</a>(Closure p)</p><p class="description">Partitions this collection in two collections according to a predicate.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#remove()">remove</a>(string|integer key)</p><p class="description">Removes the element at the specified index from the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#removeElement()">removeElement</a>(mixed element)</p><p class="description">Removes an element from the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#set()">set</a>(string|integer key, mixed value)</p><p class="description">Sets an element in the collection at the specified key/index.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#toArray()">toArray</a>()</p><p class="description">Gets a native PHP array representation of the collection.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 59</div>
|
|
||||||
<h3 id="add()">add</h3>
|
|
||||||
<code class="signature">public boolean <strong>add</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds an element at the end of the collection.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>element - The element to add.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Always TRUE.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 64</div>
|
|
||||||
<h3 id="clear()">clear</h3>
|
|
||||||
<code class="signature">public void <strong>clear</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Clears the collection, removing all elements.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 73</div>
|
|
||||||
<h3 id="contains()">contains</h3>
|
|
||||||
<code class="signature">public boolean <strong>contains</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether an element is contained in the collection.
|
|
||||||
This is an O(n) operation, where n is the size of the collection.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>element - The element to search for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the collection contains the element, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 105</div>
|
|
||||||
<h3 id="containsKey()">containsKey</h3>
|
|
||||||
<code class="signature">public boolean <strong>containsKey</strong>(string|integer key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether the collection contains an element with the specified key/index.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The key/index to check for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the collection contains an element with the specified key/index, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 172</div>
|
|
||||||
<h3 id="current()">current</h3>
|
|
||||||
<code class="signature">public void <strong>current</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the element of the collection at the current iterator position.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 186</div>
|
|
||||||
<h3 id="exists()">exists</h3>
|
|
||||||
<code class="signature">public boolean <strong>exists</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Tests for the existence of an element that satisfies the given predicate.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the predicate is TRUE for at least one element, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 195</div>
|
|
||||||
<h3 id="filter()">filter</h3>
|
|
||||||
<code class="signature">public <a href="../../../doctrine/common/collections/collection.html">Collection</a> <strong>filter</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns all the elements of this collection that satisfy the predicate p.
|
|
||||||
The order of the elements is preserved.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate used for filtering.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>A collection with the results of the filter operation.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 152</div>
|
|
||||||
<h3 id="first()">first</h3>
|
|
||||||
<code class="signature">public mixed <strong>first</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the internal iterator to the first element in the collection and
|
|
||||||
returns this element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 204</div>
|
|
||||||
<h3 id="forAll()">forAll</h3>
|
|
||||||
<code class="signature">public boolean <strong>forAll</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Applies the given predicate p to all elements of this collection,
|
|
||||||
returning true, if the predicate yields true for all elements.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE, if the predicate yields TRUE for all elements, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 113</div>
|
|
||||||
<h3 id="get()">get</h3>
|
|
||||||
<code class="signature">public mixed <strong>get</strong>(string|integer key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the element at the specified key/index.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The key/index of the element to retrieve.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 121</div>
|
|
||||||
<h3 id="getKeys()">getKeys</h3>
|
|
||||||
<code class="signature">public array <strong>getKeys</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets all keys/indices of the collection.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The keys/indices of the collection, in the order of the corresponding elements in the collection.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 129</div>
|
|
||||||
<h3 id="getValues()">getValues</h3>
|
|
||||||
<code class="signature">public array <strong>getValues</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets all values of the collection.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The values of all elements in the collection, in the order they appear in the collection.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 234</div>
|
|
||||||
<h3 id="indexOf()">indexOf</h3>
|
|
||||||
<code class="signature">public mixed <strong>indexOf</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the index/key of a given element. The comparison of two elements is strict,
|
|
||||||
that means not only the value but also the type must match.
|
|
||||||
For objects this means reference equality.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>element - The element to search for.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The key/index of the element or FALSE if the element was not found.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 80</div>
|
|
||||||
<h3 id="isEmpty()">isEmpty</h3>
|
|
||||||
<code class="signature">public boolean <strong>isEmpty</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether the collection is empty (contains no elements).</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the collection is empty, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 166</div>
|
|
||||||
<h3 id="key()">key</h3>
|
|
||||||
<code class="signature">public void <strong>key</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the key/index of the element at the current iterator position.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 160</div>
|
|
||||||
<h3 id="last()">last</h3>
|
|
||||||
<code class="signature">public mixed <strong>last</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the internal iterator to the last element in the collection and
|
|
||||||
returns this element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 213</div>
|
|
||||||
<h3 id="map()">map</h3>
|
|
||||||
<code class="signature">public <a href="../../../doctrine/common/collections/collection.html">Collection</a> <strong>map</strong>(Closure func)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Applies the given function to each element in the collection and returns
|
|
||||||
a new collection with the elements returned by the function.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 178</div>
|
|
||||||
<h3 id="next()">next</h3>
|
|
||||||
<code class="signature">public void <strong>next</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Moves the internal iterator position to the next element.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 224</div>
|
|
||||||
<h3 id="partition()">partition</h3>
|
|
||||||
<code class="signature">public array <strong>partition</strong>(Closure p)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Partitions this collection in two collections according to a predicate.
|
|
||||||
Keys are preserved in the resulting collections.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>p - The predicate on which to partition.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>An array with two elements. The first element contains the collection of elements where the predicate returned TRUE, the second element contains the collection of elements where the predicate returned FALSE.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 88</div>
|
|
||||||
<h3 id="remove()">remove</h3>
|
|
||||||
<code class="signature">public mixed <strong>remove</strong>(string|integer key)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Removes the element at the specified index from the collection.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The kex/index of the element to remove.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The removed element or NULL, if the collection did not contain the element.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 96</div>
|
|
||||||
<h3 id="removeElement()">removeElement</h3>
|
|
||||||
<code class="signature">public mixed <strong>removeElement</strong>(mixed element)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Removes an element from the collection.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>element - The element to remove.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The removed element or NULL, if the collection did not contain the element.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 137</div>
|
|
||||||
<h3 id="set()">set</h3>
|
|
||||||
<code class="signature">public void <strong>set</strong>(string|integer key, mixed value)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets an element in the collection at the specified key/index.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>key - The key/index of the element to set.</dd>
|
|
||||||
<dd>value - The element to set.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Collections/Collection.php at line 144</div>
|
|
||||||
<h3 id="toArray()">toArray</h3>
|
|
||||||
<code class="signature">public array <strong>toArray</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets a native PHP array representation of the collection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/collection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,31 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Collections (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\Common\Collections</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/collections/arraycollection.html" target="main">ArrayCollection</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Interfaces</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/collections/collection.html" target="main">Collection</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,71 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Collections (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\Common\Collections</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/collections/arraycollection.html">ArrayCollection</a></td><td class="description">An ArrayCollection is a Collection implementation that uses a regular PHP array
|
|
||||||
internally.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Interface Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/collections/collection.html">Collection</a></td><td class="description">The missing (SPL) Collection/Array/OrderedMap interface.
|
|
||||||
</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/collections/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,56 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Collections (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\Common\Collections</h1><ul>
|
|
||||||
<li><a href="../../../doctrine/common/collections/arraycollection.html">Doctrine\Common\Collections\ArrayCollection</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/collections/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/collections/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,87 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>CommonException (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/commonexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\CommonException</div>
|
|
||||||
<div class="location">/Doctrine/Common/CommonException.php at line 10</div>
|
|
||||||
|
|
||||||
<h1>Class CommonException</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:CommonException - Superclass: Exception
|
|
||||||
Exception<br>⌊ <strong>CommonException</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>CommonException</strong><br>extends Exception
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Base exception class for package Doctrine\Common</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>heinrich /</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/commonexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,122 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>EventArgs (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventargs.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\EventArgs</div>
|
|
||||||
<div class="location">/Doctrine/Common/EventArgs.php at line 39</div>
|
|
||||||
|
|
||||||
<h1>Class EventArgs</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>EventArgs</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>EventArgs</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>EventArgs is the base class for classes containing event data.</p><p>This class contains no event data. It is used by events that do not pass state
|
|
||||||
information to an event handler when an event is raised. The single empty EventArgs
|
|
||||||
instance can be obtained through <code><a href="../../doctrine/common/eventargs.html#getEmptyInstance()">getEmptyInstance</a></code>.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static <a href="../../doctrine/common/eventargs.html">EventArgs</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#getEmptyInstance()">getEmptyInstance</a>()</p><p class="description">Gets the single, empty and immutable EventArgs instance.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/EventArgs.php at line 61</div>
|
|
||||||
<h3 id="getEmptyInstance()">getEmptyInstance</h3>
|
|
||||||
<code class="signature">public static <a href="../../doctrine/common/eventargs.html">EventArgs</a> <strong>getEmptyInstance</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the single, empty and immutable EventArgs instance.</p><p>This instance will be used when events are dispatched without any parameter,
|
|
||||||
like this: EventManager::dispatchEvent('eventname');</p><p>The benefit from this is that only one empty instance is instantiated and shared
|
|
||||||
(otherwise there would be instances for every dispatched in the abovementioned form)</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd>EventManager::dispatchEvent</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code><a href="http://msdn.microsoft.com/en-us/library/system.eventargs.aspx">http://msdn.microsoft.com/en-us/library/system.eventargs.aspx</a></code></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventargs.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,198 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>EventManager (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventmanager.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\EventManager</div>
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 39</div>
|
|
||||||
|
|
||||||
<h1>Class EventManager</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>EventManager</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>EventManager</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>The EventManager is the central point of Doctrine's event listener system.
|
|
||||||
Listeners are registered on the manager and events are dispatched through the
|
|
||||||
manager.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#addEventListener()">addEventListener</a>(string|array events, object listener)</p><p class="description">Adds an event listener that listens on the specified events.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#addEventSubscriber()">addEventSubscriber</a>(Doctrine\Common\EventSubscriber subscriber)</p><p class="description">Adds an EventSubscriber. </p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#dispatchEvent()">dispatchEvent</a>(string eventName, <a href="../../doctrine/common/eventargs.html">EventArgs</a> eventArgs)</p><p class="description">Dispatches an event to all registered listeners.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getListeners()">getListeners</a>(string event)</p><p class="description">Gets the listeners of a specific event or all listeners.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#hasListeners()">hasListeners</a>(string event)</p><p class="description">Checks whether an event has any registered listeners.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#removeEventListener()">removeEventListener</a>(string|array events, object listener)</p><p class="description">Removes an event listener from the specified events.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 97</div>
|
|
||||||
<h3 id="addEventListener()">addEventListener</h3>
|
|
||||||
<code class="signature">public void <strong>addEventListener</strong>(string|array events, object listener)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds an event listener that listens on the specified events.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>events - The event(s) to listen on.</dd>
|
|
||||||
<dd>listener - The listener object.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 134</div>
|
|
||||||
<h3 id="addEventSubscriber()">addEventSubscriber</h3>
|
|
||||||
<code class="signature">public void <strong>addEventSubscriber</strong>(Doctrine\Common\EventSubscriber subscriber)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds an EventSubscriber. The subscriber is asked for all the events he is
|
|
||||||
interested in and added as a listener for these events.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>subscriber - The subscriber.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 58</div>
|
|
||||||
<h3 id="dispatchEvent()">dispatchEvent</h3>
|
|
||||||
<code class="signature">public boolean <strong>dispatchEvent</strong>(string eventName, <a href="../../doctrine/common/eventargs.html">EventArgs</a> eventArgs)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Dispatches an event to all registered listeners.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>eventName - The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners.</dd>
|
|
||||||
<dd>eventArgs - The event arguments to pass to the event handlers/listeners. If not supplied, the single empty EventArgs instance is used.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 75</div>
|
|
||||||
<h3 id="getListeners()">getListeners</h3>
|
|
||||||
<code class="signature">public array <strong>getListeners</strong>(string event)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the listeners of a specific event or all listeners.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>event - The name of the event.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The event listeners for the specified event, or all event listeners.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 86</div>
|
|
||||||
<h3 id="hasListeners()">hasListeners</h3>
|
|
||||||
<code class="signature">public boolean <strong>hasListeners</strong>(string event)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether an event has any registered listeners.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the specified event has any listeners, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/EventManager.php at line 115</div>
|
|
||||||
<h3 id="removeEventListener()">removeEventListener</h3>
|
|
||||||
<code class="signature">public void <strong>removeEventListener</strong>(string|array events, object listener)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Removes an event listener from the specified events.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventmanager.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,112 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>EventSubscriber (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventsubscriber.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\EventSubscriber</div>
|
|
||||||
<div class="location">/Doctrine/Common/EventSubscriber.php at line 37</div>
|
|
||||||
|
|
||||||
<h1>Interface EventSubscriber</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>EventSubscriber</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>EventSubscriber</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>An EventSubscriber knows himself what events he is interested in.
|
|
||||||
If an EventSubscriber is added to an EventManager, the manager invokes
|
|
||||||
<code><a href="../../doctrine/common/eventsubscriber.html#getSubscribedEvents()">getSubscribedEvents</a></code> and registers the subscriber as a listener for all
|
|
||||||
returned events.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getSubscribedEvents()">getSubscribedEvents</a>()</p><p class="description">Returns an array of events this subscriber wants to listen to.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/EventSubscriber.php at line 44</div>
|
|
||||||
<h3 id="getSubscribedEvents()">getSubscribedEvents</h3>
|
|
||||||
<code class="signature">public array <strong>getSubscribedEvents</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns an array of events this subscriber wants to listen to.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/eventsubscriber.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,313 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Lexer (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/lexer.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Lexer</div>
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 35</div>
|
|
||||||
|
|
||||||
<h1>Class Lexer</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Lexer</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public abstract class <strong>Lexer</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Simple generic lexical scanner.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array The next token in the query string.</td>
|
|
||||||
<td class="description"><p class="name"><a href="#lookahead">$lookahead</a></p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array The last matched/seen token.</td>
|
|
||||||
<td class="description"><p class="name"><a href="#token">$token</a></p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected abstract array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getCatchablePatterns()">getCatchablePatterns</a>()</p><p class="description">Lexical catchable patterns</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getLiteral()">getLiteral</a>(integer token)</p><p class="description">Gets the literal for a given token.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected abstract array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getNonCatchablePatterns()">getNonCatchablePatterns</a>()</p><p class="description">Lexical non-catchable patterns</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array|null</td>
|
|
||||||
<td class="description"><p class="name"><a href="#glimpse()">glimpse</a>()</p><p class="description">Peeks at the next token, returns it and immediately resets the peek.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isA()">isA</a>(mixed value, integer token)</p><p class="description">Checks if given value is identical to the given token</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isNextToken()">isNextToken</a>(integer|string token)</p><p class="description">Checks whether a given token matches the current lookahead.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array|null</td>
|
|
||||||
<td class="description"><p class="name"><a href="#moveNext()">moveNext</a>()</p><p class="description">Moves to the next token in the input string.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#peek()">peek</a>()</p><p class="description">Moves the lookahead token forward.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#reset()">reset</a>()</p><p class="description">Resets the scanner</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#resetPeek()">resetPeek</a>()</p><p class="description">Resets the peek pointer to 0</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#resetPosition()">resetPosition</a>(integer position)</p><p class="description">Resets the lexer position on the input to the given position</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setInput()">setInput</a>(string input)</p><p class="description">Inputs data to be tokenized</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#skipUntil()">skipUntil</a>(mixed type, $type The)</p><p class="description">Tells the lexer to skip input tokens until it sees a token with the given value.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 55</div>
|
|
||||||
<h3 id="lookahead">lookahead</h3>
|
|
||||||
<code class="signature">public array The next token in the query string. <strong>$lookahead</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 60</div>
|
|
||||||
<h3 id="token">token</h3>
|
|
||||||
<code class="signature">public array The last matched/seen token. <strong>$token</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 242</div>
|
|
||||||
<h3 id="getCatchablePatterns()">getCatchablePatterns</h3>
|
|
||||||
<code class="signature">protected abstract array <strong>getCatchablePatterns</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Lexical catchable patterns</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 222</div>
|
|
||||||
<h3 id="getLiteral()">getLiteral</h3>
|
|
||||||
<code class="signature">public string <strong>getLiteral</strong>(integer token)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the literal for a given token.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 249</div>
|
|
||||||
<h3 id="getNonCatchablePatterns()">getNonCatchablePatterns</h3>
|
|
||||||
<code class="signature">protected abstract array <strong>getNonCatchablePatterns</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Lexical non-catchable patterns</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 180</div>
|
|
||||||
<h3 id="glimpse()">glimpse</h3>
|
|
||||||
<code class="signature">public array|null <strong>glimpse</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Peeks at the next token, returns it and immediately resets the peek.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The next token or NULL if there are no more tokens ahead.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 156</div>
|
|
||||||
<h3 id="isA()">isA</h3>
|
|
||||||
<code class="signature">public boolean <strong>isA</strong>(mixed value, integer token)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks if given value is identical to the given token</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 111</div>
|
|
||||||
<h3 id="isNextToken()">isNextToken</h3>
|
|
||||||
<code class="signature">public boolean <strong>isNextToken</strong>(integer|string token)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether a given token matches the current lookahead.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 127</div>
|
|
||||||
<h3 id="moveNext()">moveNext</h3>
|
|
||||||
<code class="signature">public array|null <strong>moveNext</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Moves to the next token in the input string.</p><p>A token is an associative array containing three items:
|
|
||||||
- 'value' : the string value of the token in the input string
|
|
||||||
- 'type' : the type of the token (identifier, numeric, string, input
|
|
||||||
parameter, none)
|
|
||||||
- 'position' : the position of the token in the input string</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>the next token; null if there is no more tokens left</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 166</div>
|
|
||||||
<h3 id="peek()">peek</h3>
|
|
||||||
<code class="signature">public array <strong>peek</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Moves the lookahead token forward.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>| null The next token or NULL if there are no more tokens ahead.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 78</div>
|
|
||||||
<h3 id="reset()">reset</h3>
|
|
||||||
<code class="signature">public void <strong>reset</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Resets the scanner</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 90</div>
|
|
||||||
<h3 id="resetPeek()">resetPeek</h3>
|
|
||||||
<code class="signature">public void <strong>resetPeek</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Resets the peek pointer to 0</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 100</div>
|
|
||||||
<h3 id="resetPosition()">resetPosition</h3>
|
|
||||||
<code class="signature">public void <strong>resetPosition</strong>(integer position)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Resets the lexer position on the input to the given position</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>position - Position to place the lexical scanner</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 67</div>
|
|
||||||
<h3 id="setInput()">setInput</h3>
|
|
||||||
<code class="signature">public void <strong>setInput</strong>(string input)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Inputs data to be tokenized</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>input - input to be tokenized</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Lexer.php at line 142</div>
|
|
||||||
<h3 id="skipUntil()">skipUntil</h3>
|
|
||||||
<code class="signature">public void <strong>skipUntil</strong>(mixed type, $type The)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Tells the lexer to skip input tokens until it sees a token with the given value.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>The - token type to skip until.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/lexer.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,112 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>NotifyPropertyChanged (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/notifypropertychanged.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\NotifyPropertyChanged</div>
|
|
||||||
<div class="location">/Doctrine/Common/NotifyPropertyChanged.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Interface NotifyPropertyChanged</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>NotifyPropertyChanged</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>NotifyPropertyChanged</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Contract for classes that provide the service of notifying listeners of
|
|
||||||
changes to their properties.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#addPropertyChangedListener()">addPropertyChangedListener</a>(<a href="../../doctrine/common/propertychangedlistener.html">PropertyChangedListener</a> listener)</p><p class="description">Adds a listener that wants to be notified about property changes.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/NotifyPropertyChanged.php at line 43</div>
|
|
||||||
<h3 id="addPropertyChangedListener()">addPropertyChangedListener</h3>
|
|
||||||
<code class="signature">public void <strong>addPropertyChangedListener</strong>(<a href="../../doctrine/common/propertychangedlistener.html">PropertyChangedListener</a> listener)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Adds a listener that wants to be notified about property changes.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/notifypropertychanged.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,42 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\Common</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../doctrine/common/classloader.html" target="main">ClassLoader</a></li>
|
|
||||||
<li><a href="../../doctrine/common/eventargs.html" target="main">EventArgs</a></li>
|
|
||||||
<li><a href="../../doctrine/common/eventmanager.html" target="main">EventManager</a></li>
|
|
||||||
<li><a href="../../doctrine/common/lexer.html" target="main">Lexer</a></li>
|
|
||||||
<li><a href="../../doctrine/common/version.html" target="main">Version</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Interfaces</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../doctrine/common/eventsubscriber.html" target="main">EventSubscriber</a></li>
|
|
||||||
<li><a href="../../doctrine/common/notifypropertychanged.html" target="main">NotifyPropertyChanged</a></li>
|
|
||||||
<li><a href="../../doctrine/common/propertychangedlistener.html" target="main">PropertyChangedListener</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Exceptions</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../doctrine/common/commonexception.html" target="main">CommonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,86 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="package" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\Common</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/classloader.html">ClassLoader</a></td><td class="description">A ClassLoader is an autoloader for class files that can be
|
|
||||||
installed on the SPL autoload stack. </td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/eventargs.html">EventArgs</a></td><td class="description">EventArgs is the base class for classes containing event data.
|
|
||||||
</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/eventmanager.html">EventManager</a></td><td class="description">The EventManager is the central point of Doctrine's event listener system.
|
|
||||||
</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/lexer.html">Lexer</a></td><td class="description">Simple generic lexical scanner.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/version.html">Version</a></td><td class="description">Class to store and retrieve the version of Doctrine</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Interface Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/eventsubscriber.html">EventSubscriber</a></td><td class="description">An EventSubscriber knows himself what events he is interested in.
|
|
||||||
</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/notifypropertychanged.html">NotifyPropertyChanged</a></td><td class="description">Contract for classes that provide the service of notifying listeners of
|
|
||||||
changes to their properties.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/propertychangedlistener.html">PropertyChangedListener</a></td><td class="description">Contract for classes that are potential listeners of a NotifyPropertyChanged
|
|
||||||
implementor.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Exception Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../doctrine/common/commonexception.html">CommonException</a></td><td class="description">Base exception class for package Doctrine\Common</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,60 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\Common</h1><ul>
|
|
||||||
<li><a href="../../doctrine/common/classloader.html">Doctrine\Common\ClassLoader</a></li>
|
|
||||||
<li><a href="../../doctrine/common/eventargs.html">Doctrine\Common\EventArgs</a></li>
|
|
||||||
<li><a href="../../doctrine/common/eventmanager.html">Doctrine\Common\EventManager</a></li>
|
|
||||||
<li><a href="../../doctrine/common/lexer.html">Doctrine\Common\Lexer</a></li>
|
|
||||||
<li><a href="../../doctrine/common/version.html">Doctrine\Common\Version</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,119 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>PropertyChangedListener (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/propertychangedlistener.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\PropertyChangedListener</div>
|
|
||||||
<div class="location">/Doctrine/Common/PropertyChangedListener.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Interface PropertyChangedListener</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>PropertyChangedListener</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>PropertyChangedListener</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Contract for classes that are potential listeners of a <tt>NotifyPropertyChanged</tt>
|
|
||||||
implementor.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#propertyChanged()">propertyChanged</a>(object sender, string propertyName, mixed oldValue, mixed newValue)</p><p class="description">Notifies the listener of a property change.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/PropertyChangedListener.php at line 46</div>
|
|
||||||
<h3 id="propertyChanged()">propertyChanged</h3>
|
|
||||||
<code class="signature">public void <strong>propertyChanged</strong>(object sender, string propertyName, mixed oldValue, mixed newValue)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Notifies the listener of a property change.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>sender - The object on which the property changed.</dd>
|
|
||||||
<dd>propertyName - The name of the property that changed.</dd>
|
|
||||||
<dd>oldValue - The old value of the property that changed.</dd>
|
|
||||||
<dd>newValue - The new value of the property that changed.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/propertychangedlistener.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,147 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Debug (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/debug.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Util\Debug</div>
|
|
||||||
<div class="location">/Doctrine/Common/Util/Debug.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Class Debug</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Debug</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public final class <strong>Debug</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Static class containing most used debug methods.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>Giorgio Sironi <piccoloprincipeazzurro@gmail.com></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#Debug()">Debug</a>()</p><p class="description">Private constructor (prevents from instantiation)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#dump()">dump</a>(mixed var, integer maxDepth)</p><p class="description">Prints a dump of the public, protected and private properties of $var.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#export()">export</a>(mixed var, mixed maxDepth)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Util/Debug.php at line 42</div>
|
|
||||||
<h3 id="Debug()">Debug</h3>
|
|
||||||
<code class="signature">public <strong>Debug</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Private constructor (prevents from instantiation)</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Util/Debug.php at line 52</div>
|
|
||||||
<h3 id="dump()">dump</h3>
|
|
||||||
<code class="signature">public static void <strong>dump</strong>(mixed var, integer maxDepth)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prints a dump of the public, protected and private properties of $var.</p><dl>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code><a href="http://xdebug.org/">http://xdebug.org/</a></code></dd>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd></dd>
|
|
||||||
<dd>maxDepth - Maximum nesting level for object properties</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Util/Debug.php at line 72</div>
|
|
||||||
<h3 id="export()">export</h3>
|
|
||||||
<code class="signature">public static void <strong>export</strong>(mixed var, mixed maxDepth)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/debug.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,152 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Inflector (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/inflector.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Util\Inflector</div>
|
|
||||||
<div class="location">/Doctrine/Common/Util/Inflector.php at line 38</div>
|
|
||||||
|
|
||||||
<h1>Class Inflector</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Inflector</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Inflector</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Doctrine inflector has static methods for inflecting text</p><p>The methods in these classes are from several different sources collected
|
|
||||||
across several different php projects and several different authors. The
|
|
||||||
original author names and emails are not known</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>1.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3189 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Konsta Vesterinen <kvesteri@cc.hut.fi></dd>
|
|
||||||
<dd>Jonathan H. Wage <jonwage@gmail.com></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#camelize()">camelize</a>(string word)</p><p class="description">Camelize a word. </p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#classify()">classify</a>(string word)</p><p class="description">Convert a word in to the format for a Doctrine class name. </p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#tableize()">tableize</a>(string word)</p><p class="description">Convert word in to the format for a Doctrine table name. </p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Util/Inflector.php at line 68</div>
|
|
||||||
<h3 id="camelize()">camelize</h3>
|
|
||||||
<code class="signature">public static string <strong>camelize</strong>(string word)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Camelize a word. This uses the classify() method and turns the first character to lowercase</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$word</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Util/Inflector.php at line 57</div>
|
|
||||||
<h3 id="classify()">classify</h3>
|
|
||||||
<code class="signature">public static string <strong>classify</strong>(string word)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Convert a word in to the format for a Doctrine class name. Converts 'table_name' to 'TableName'</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>word - Word to classify</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$word Classified word</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/Common/Util/Inflector.php at line 46</div>
|
|
||||||
<h3 id="tableize()">tableize</h3>
|
|
||||||
<code class="signature">public static string <strong>tableize</strong>(string word)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Convert word in to the format for a Doctrine table name. Converts 'ModelName' to 'model_name'</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>word - Word to tableize</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$word Tableized word</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/inflector.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,27 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Util (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\Common\Util</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/common/util/debug.html" target="main">Debug</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/inflector.html" target="main">Inflector</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,66 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Util (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\Common\Util</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/util/debug.html">Debug</a></td><td class="description">Static class containing most used debug methods.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/common/util/inflector.html">Inflector</a></td><td class="description">Doctrine inflector has static methods for inflecting textThe methods in these classes are from several different sources collected
|
|
||||||
across several different php projects and several different authors. </td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/common/util/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,57 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\Common\Util (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\Common\Util</h1><ul>
|
|
||||||
<li><a href="../../../doctrine/common/util/debug.html">Doctrine\Common\Util\Debug</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/inflector.html">Doctrine\Common\Util\Inflector</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/common/util/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/common/util/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,135 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Version (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/version.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\Common\Version</div>
|
|
||||||
<div class="location">/Doctrine/Common/Version.php at line 36</div>
|
|
||||||
|
|
||||||
<h1>Class Version</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Version</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Version</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Class to store and retrieve the version of Doctrine</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision$</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final str</td>
|
|
||||||
<td class="description"><p class="name"><a href="#VERSION">VERSION</a></p><p class="description">Current Doctrine Version</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#compare()">compare</a>(string version)</p><p class="description">Compares a Doctrine version with the current one.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Version.php at line 41</div>
|
|
||||||
<h3 id="VERSION">VERSION</h3>
|
|
||||||
<code class="signature">public final str <strong>VERSION</strong> = '2.0-DEV'</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Current Doctrine Version</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/Common/Version.php at line 50</div>
|
|
||||||
<h3 id="compare()">compare</h3>
|
|
||||||
<code class="signature">public static int <strong>compare</strong>(string version)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Compares a Doctrine version with the current one.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>version - Doctrine version to compare.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Returns -1 if older, 0 if it is the same, 1 if version passed as argument is newer.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/common/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/common/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/common/version.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,160 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Configuration (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/configuration.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Configuration</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Configuration.php at line 39</div>
|
|
||||||
|
|
||||||
<h1>Class Configuration</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Configuration</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Configuration</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Configuration container for the Doctrine DBAL.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dt>Internal:</dt>
|
|
||||||
<dd>When adding a new configuration option just write a getter/setter pair and add the option to the _attributes array with a proper default value.</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_attributes">$_attributes</a></p><p class="description">The attributes that are contained in the configuration.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#Configuration()">Configuration</a>()</p><p class="description">Creates a new DBAL configuration instance.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> <a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#getSQLLogger()">getSQLLogger</a>()</p><p class="description">Gets the SQL logger that is used.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setSQLLogger()">setSQLLogger</a>(<a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> logger)</p><p class="description">Sets the SQL logger to use. </p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Configuration.php at line 47</div>
|
|
||||||
<h3 id="_attributes">_attributes</h3>
|
|
||||||
<code class="signature">protected array <strong>$_attributes</strong> = array()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>The attributes that are contained in the configuration.
|
|
||||||
Values are default values.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Configuration.php at line 52</div>
|
|
||||||
<h3 id="Configuration()">Configuration</h3>
|
|
||||||
<code class="signature">public <strong>Configuration</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Creates a new DBAL configuration instance.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Configuration.php at line 74</div>
|
|
||||||
<h3 id="getSQLLogger()">getSQLLogger</h3>
|
|
||||||
<code class="signature">public <a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> <strong>getSQLLogger</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the SQL logger that is used.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Configuration.php at line 64</div>
|
|
||||||
<h3 id="setSQLLogger()">setSQLLogger</h3>
|
|
||||||
<code class="signature">public void <strong>setSQLLogger</strong>(<a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> logger)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/configuration.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,996 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Connection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Connection</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 45</div>
|
|
||||||
|
|
||||||
<h1>Class Connection</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Connection</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Connection</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>A wrapper around a Doctrine\DBAL\Driver\Connection that adds features like
|
|
||||||
events, transaction isolation levels, configuration, emulated transaction nesting,
|
|
||||||
lazy connecting and more.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 3938 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
|
|
||||||
<dd>Jonathan Wage <jonwage@gmail.com></dd>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dd>Konsta Vesterinen <kvesteri@cc.hut.fi></dd>
|
|
||||||
<dd>Lukas Smith <smith@pooteeweet.org> (MDB2 library)</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_field">
|
|
||||||
<tr><th colspan="2">Field Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#TRANSACTION_READ_COMMITTED">TRANSACTION_READ_COMMITTED</a></p><p class="description">Constant for transaction isolation level READ COMMITTED.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#TRANSACTION_READ_UNCOMMITTED">TRANSACTION_READ_UNCOMMITTED</a></p><p class="description">Constant for transaction isolation level READ UNCOMMITTED.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#TRANSACTION_REPEATABLE_READ">TRANSACTION_REPEATABLE_READ</a></p><p class="description">Constant for transaction isolation level REPEATABLE READ.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">final int</td>
|
|
||||||
<td class="description"><p class="name"><a href="#TRANSACTION_SERIALIZABLE">TRANSACTION_SERIALIZABLE</a></p><p class="description">Constant for transaction isolation level SERIALIZABLE.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\DBAL\Configuration</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_config">$_config</a></p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\DBAL\Driver\Connection</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_conn">$_conn</a></p><p class="description">The wrapped driver connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\DBAL\Driver</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_driver">$_driver</a></p><p class="description">The used DBAL driver.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\Common\EventManager</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_eventManager">$_eventManager</a></p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\DBAL\Platforms\AbstractPlatform</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_platform">$_platform</a></p><p class="description">The DatabasePlatform object that provides information about the
|
|
||||||
database platform used by the connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">protected Doctrine\DBAL\Schema\SchemaManager</td>
|
|
||||||
<td class="description"><p class="name"><a href="#_schemaManager">$_schemaManager</a></p><p class="description">The schema manager.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#Connection()">Connection</a>(array params, <a href="../../doctrine/dbal/driver.html">Driver</a> driver, <a href="../../doctrine/dbal/configuration.html">Configuration</a> config, <a href="../../doctrine/common/eventmanager.html">EventManager</a> eventManager)</p><p class="description">Initializes a new instance of the Connection class.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#beginTransaction()">beginTransaction</a>()</p><p class="description">Starts a transaction by suspending auto-commit mode.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#close()">close</a>()</p><p class="description">Closes the connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#commit()">commit</a>()</p><p class="description">Commits the current transaction.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#connect()">connect</a>()</p><p class="description">Establishes the connection with the database.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#convertToDatabaseValue()">convertToDatabaseValue</a>(mixed value, string type)</p><p class="description">Converts a given value to its database representation according to the conversion
|
|
||||||
rules of a specific DBAL mapping type.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#convertToPHPValue()">convertToPHPValue</a>(mixed value, string type)</p><p class="description">Converts a given value to its PHP representation according to the conversion
|
|
||||||
rules of a specific DBAL mapping type.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#delete()">delete</a>(mixed tableName, array identifier, string table)</p><p class="description">Executes an SQL DELETE statement on a table.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorCode()">errorCode</a>()</p><p class="description">Fetch the SQLSTATE associated with the last database operation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorInfo()">errorInfo</a>()</p><p class="description">Fetch extended error information associated with the last database operation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#exec()">exec</a>(string statement)</p><p class="description">Execute an SQL statement and return the number of affected rows.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver\Statement</td>
|
|
||||||
<td class="description"><p class="name"><a href="#executeQuery()">executeQuery</a>(string query, array params)</p><p class="description">Executes an, optionally parameterized, SQL query.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#executeUpdate()">executeUpdate</a>(string query, array params, array types)</p><p class="description">Executes an SQL INSERT/UPDATE/DELETE query with the given parameters
|
|
||||||
and returns the number of affected rows.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchAll()">fetchAll</a>(string sql, array params)</p><p class="description">Prepares and executes an SQL query and returns the result as an associative array.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchArray()">fetchArray</a>(string statement, array params)</p><p class="description">Prepares and executes an SQL query and returns the first row of the result
|
|
||||||
as a numerically indexed array.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchColumn()">fetchColumn</a>(string statement, array params, int colnum)</p><p class="description">Prepares and executes an SQL query and returns the value of a single column
|
|
||||||
of the first row of the result.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchRow()">fetchRow</a>(string statement, array params)</p><p class="description">Prepares and executes an SQL query and returns the first row of the result
|
|
||||||
as an associative array.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Configuration</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getConfiguration()">getConfiguration</a>()</p><p class="description">Gets the Configuration used by the Connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabase()">getDatabase</a>()</p><p class="description">Gets the name of the database this Connection is connected to.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Platforms\AbstractPlatform</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabasePlatform()">getDatabasePlatform</a>()</p><p class="description">Gets the DatabasePlatform for the connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDriver()">getDriver</a>()</p><p class="description">Gets the DBAL driver instance.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\Common\EventManager</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getEventManager()">getEventManager</a>()</p><p class="description">Gets the EventManager used by the Connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getHost()">getHost</a>()</p><p class="description">Gets the hostname of the currently connected database.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> array</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getParams()">getParams</a>()</p><p class="description">Gets the parameters used during instantiation.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getPassword()">getPassword</a>()</p><p class="description">Gets the password used by this connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getPort()">getPort</a>()</p><p class="description">Gets the port of the currently connected database.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getRollbackOnly()">getRollbackOnly</a>()</p><p class="description">Check whether the current transaction is marked for rollback only.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Schema\SchemaManager</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getSchemaManager()">getSchemaManager</a>()</p><p class="description">Gets the SchemaManager that can be used to inspect or change the
|
|
||||||
database schema through the connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getTransactionIsolation()">getTransactionIsolation</a>()</p><p class="description">Gets the currently active transaction isolation level.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getTransactionNestingLevel()">getTransactionNestingLevel</a>()</p><p class="description">Returns the current transaction nesting level.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getUsername()">getUsername</a>()</p><p class="description">Gets the username used by this connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver\Connection</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getWrappedConnection()">getWrappedConnection</a>()</p><p class="description">Gets the wrapped driver connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#insert()">insert</a>(mixed tableName, array data, string table)</p><p class="description">Inserts a table row with specified data.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isConnected()">isConnected</a>()</p><p class="description">Whether an actual connection to the database is established.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#isTransactionActive()">isTransactionActive</a>()</p><p class="description">Checks whether a transaction is currently active.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#lastInsertId()">lastInsertId</a>(string seqName)</p><p class="description">Returns the ID of the last inserted row, or the last value from a sequence object,
|
|
||||||
depending on the underlying driver.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver\Statement</td>
|
|
||||||
<td class="description"><p class="name"><a href="#prepare()">prepare</a>(string statement)</p><p class="description">Prepares an SQL statement.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> mixed</td>
|
|
||||||
<td class="description"><p class="name"><a href="#project()">project</a>(string query, array params, mixed function, Closure mapper)</p><p class="description">Executes an, optionally parameterized, SQL query and returns the result,
|
|
||||||
applying a given projection/transformation function on each row of the result.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver\Statement</td>
|
|
||||||
<td class="description"><p class="name"><a href="#query()">query</a>(string statement, integer fetchType)</p><p class="description">Executes an SQL statement, returning a result set as a Statement object.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#quote()">quote</a>(mixed input, string type)</p><p class="description">Quotes a given input parameter.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#quoteIdentifier()">quoteIdentifier</a>(string str)</p><p class="description">Quote a string so it can be safely used as a table or column name, even if
|
|
||||||
it is a reserved name.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#rollback()">rollback</a>()</p><p class="description">Cancel any database changes done during the current transaction.
|
|
||||||
</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setCharset()">setCharset</a>(string charset)</p><p class="description">Sets the given charset on the current connection.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setRollbackOnly()">setRollbackOnly</a>()</p><p class="description">Marks the current transaction so that the only possible
|
|
||||||
outcome for the transaction to be rolled back.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#setTransactionIsolation()">setTransactionIsolation</a>(integer level)</p><p class="description">Sets the transaction isolation level.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> integer</td>
|
|
||||||
<td class="description"><p class="name"><a href="#update()">update</a>(mixed tableName, mixed data, array identifier, string table)</p><p class="description">Executes an SQL UPDATE statement on a table.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_field">Field Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 55</div>
|
|
||||||
<h3 id="TRANSACTION_READ_COMMITTED">TRANSACTION_READ_COMMITTED</h3>
|
|
||||||
<code class="signature">public final int <strong>TRANSACTION_READ_COMMITTED</strong> = 2</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constant for transaction isolation level READ COMMITTED.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 50</div>
|
|
||||||
<h3 id="TRANSACTION_READ_UNCOMMITTED">TRANSACTION_READ_UNCOMMITTED</h3>
|
|
||||||
<code class="signature">public final int <strong>TRANSACTION_READ_UNCOMMITTED</strong> = 1</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constant for transaction isolation level READ UNCOMMITTED.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 60</div>
|
|
||||||
<h3 id="TRANSACTION_REPEATABLE_READ">TRANSACTION_REPEATABLE_READ</h3>
|
|
||||||
<code class="signature">public final int <strong>TRANSACTION_REPEATABLE_READ</strong> = 3</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constant for transaction isolation level REPEATABLE READ.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 65</div>
|
|
||||||
<h3 id="TRANSACTION_SERIALIZABLE">TRANSACTION_SERIALIZABLE</h3>
|
|
||||||
<code class="signature">public final int <strong>TRANSACTION_SERIALIZABLE</strong> = 4</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Constant for transaction isolation level SERIALIZABLE.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 77</div>
|
|
||||||
<h3 id="_config">_config</h3>
|
|
||||||
<code class="signature">protected Doctrine\DBAL\Configuration <strong>$_config</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 72</div>
|
|
||||||
<h3 id="_conn">_conn</h3>
|
|
||||||
<code class="signature">protected Doctrine\DBAL\Driver\Connection <strong>$_conn</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p>The wrapped driver connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 132</div>
|
|
||||||
<h3 id="_driver">_driver</h3>
|
|
||||||
<code class="signature">protected Doctrine\DBAL\Driver <strong>$_driver</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p>The used DBAL driver.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 82</div>
|
|
||||||
<h3 id="_eventManager">_eventManager</h3>
|
|
||||||
<code class="signature">protected Doctrine\Common\EventManager <strong>$_eventManager</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 118</div>
|
|
||||||
<h3 id="_platform">_platform</h3>
|
|
||||||
<code class="signature">protected Doctrine\DBAL\Platforms\AbstractPlatform <strong>$_platform</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p>The DatabasePlatform object that provides information about the
|
|
||||||
database platform used by the connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 125</div>
|
|
||||||
<h3 id="_schemaManager">_schemaManager</h3>
|
|
||||||
<code class="signature">protected Doctrine\DBAL\Schema\SchemaManager <strong>$_schemaManager</strong></code>
|
|
||||||
<div class="details">
|
|
||||||
<p>The schema manager.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 149</div>
|
|
||||||
<h3 id="Connection()">Connection</h3>
|
|
||||||
<code class="signature">public <strong>Connection</strong>(array params, <a href="../../doctrine/dbal/driver.html">Driver</a> driver, <a href="../../doctrine/dbal/configuration.html">Configuration</a> config, <a href="../../doctrine/common/eventmanager.html">EventManager</a> eventManager)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Initializes a new instance of the Connection class.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>params - The connection parameters.</dd>
|
|
||||||
<dd></dd>
|
|
||||||
<dd></dd>
|
|
||||||
<dd></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 716</div>
|
|
||||||
<h3 id="beginTransaction()">beginTransaction</h3>
|
|
||||||
<code class="signature">public void <strong>beginTransaction</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Starts a transaction by suspending auto-commit mode.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 396</div>
|
|
||||||
<h3 id="close()">close</h3>
|
|
||||||
<code class="signature">public void <strong>close</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Closes the connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 734</div>
|
|
||||||
<h3 id="commit()">commit</h3>
|
|
||||||
<code class="signature">public void <strong>commit</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Commits the current transaction.</p><dl>
|
|
||||||
<dt>Throws:</dt>
|
|
||||||
<dd><a href="../../doctrine/dbal/connectionexception.html">If the commit failed due to no active transaction or because the transaction was marked for rollback only.</a></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 287</div>
|
|
||||||
<h3 id="connect()">connect</h3>
|
|
||||||
<code class="signature">public boolean <strong>connect</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Establishes the connection with the database.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if the connection was successfully established, FALSE if the connection is already open.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 841</div>
|
|
||||||
<h3 id="convertToDatabaseValue()">convertToDatabaseValue</h3>
|
|
||||||
<code class="signature">public mixed <strong>convertToDatabaseValue</strong>(mixed value, string type)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Converts a given value to its database representation according to the conversion
|
|
||||||
rules of a specific DBAL mapping type.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>value - The value to convert.</dd>
|
|
||||||
<dd>type - The name of the DBAL mapping type.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The converted value.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 854</div>
|
|
||||||
<h3 id="convertToPHPValue()">convertToPHPValue</h3>
|
|
||||||
<code class="signature">public mixed <strong>convertToPHPValue</strong>(mixed value, string type)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Converts a given value to its PHP representation according to the conversion
|
|
||||||
rules of a specific DBAL mapping type.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>value - The value to convert.</dd>
|
|
||||||
<dd>type - The name of the DBAL mapping type.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The converted type.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 376</div>
|
|
||||||
<h3 id="delete()">delete</h3>
|
|
||||||
<code class="signature">public integer <strong>delete</strong>(mixed tableName, array identifier, string table)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an SQL DELETE statement on a table.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>table - The name of the table on which to delete.</dd>
|
|
||||||
<dd>identifier - The deletion criteria. An associateve array containing column-value pairs.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of affected rows.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 677</div>
|
|
||||||
<h3 id="errorCode()">errorCode</h3>
|
|
||||||
<code class="signature">public integer <strong>errorCode</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Fetch the SQLSTATE associated with the last database operation.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The last error code.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 688</div>
|
|
||||||
<h3 id="errorInfo()">errorInfo</h3>
|
|
||||||
<code class="signature">public array <strong>errorInfo</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Fetch extended error information associated with the last database operation.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The last error information.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 656</div>
|
|
||||||
<h3 id="exec()">exec</h3>
|
|
||||||
<code class="signature">public integer <strong>exec</strong>(string statement)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Execute an SQL statement and return the number of affected rows.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of affected rows.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 554</div>
|
|
||||||
<h3 id="executeQuery()">executeQuery</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver\Statement <strong>executeQuery</strong>(string query, array params)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an, optionally parameterized, SQL query.</p><p>If the query is parameterized, a prepared statement is used.
|
|
||||||
If an SQLLogger is configured, the execution is logged.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>query - The SQL query to execute.</dd>
|
|
||||||
<dd>params - The parameters to bind to the query, if any.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The executed statement.</dd>
|
|
||||||
<dt>Internal:</dt>
|
|
||||||
<dd>PERF: Directly prepares a driver statement, not a wrapper.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 626</div>
|
|
||||||
<h3 id="executeUpdate()">executeUpdate</h3>
|
|
||||||
<code class="signature">public integer <strong>executeUpdate</strong>(string query, array params, array types)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an SQL INSERT/UPDATE/DELETE query with the given parameters
|
|
||||||
and returns the number of affected rows.</p><p>This method supports PDO binding types as well as DBAL mapping types.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>query - The SQL query.</dd>
|
|
||||||
<dd>params - The query parameters.</dd>
|
|
||||||
<dd>types - The parameter types.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of affected rows.</dd>
|
|
||||||
<dt>Internal:</dt>
|
|
||||||
<dd>PERF: Directly prepares a driver statement, not a wrapper.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 525</div>
|
|
||||||
<h3 id="fetchAll()">fetchAll</h3>
|
|
||||||
<code class="signature">public array <strong>fetchAll</strong>(string sql, array params)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prepares and executes an SQL query and returns the result as an associative array.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>sql - The SQL query.</dd>
|
|
||||||
<dd>params - The query parameters.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 330</div>
|
|
||||||
<h3 id="fetchArray()">fetchArray</h3>
|
|
||||||
<code class="signature">public array <strong>fetchArray</strong>(string statement, array params)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prepares and executes an SQL query and returns the first row of the result
|
|
||||||
as a numerically indexed array.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>statement - sql query to be executed</dd>
|
|
||||||
<dd>params - prepared statement params</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 344</div>
|
|
||||||
<h3 id="fetchColumn()">fetchColumn</h3>
|
|
||||||
<code class="signature">public mixed <strong>fetchColumn</strong>(string statement, array params, int colnum)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prepares and executes an SQL query and returns the value of a single column
|
|
||||||
of the first row of the result.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>statement - sql query to be executed</dd>
|
|
||||||
<dd>params - prepared statement params</dd>
|
|
||||||
<dd>colnum - 0-indexed column number to retrieve</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 317</div>
|
|
||||||
<h3 id="fetchRow()">fetchRow</h3>
|
|
||||||
<code class="signature">public array <strong>fetchRow</strong>(string statement, array params)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prepares and executes an SQL query and returns the first row of the result
|
|
||||||
as an associative array.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>statement - The SQL query.</dd>
|
|
||||||
<dd>params - The query parameters.</dd>
|
|
||||||
<dt>Todo:</dt>
|
|
||||||
<dd>Rename: fetchAssoc</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 256</div>
|
|
||||||
<h3 id="getConfiguration()">getConfiguration</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Configuration <strong>getConfiguration</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the Configuration used by the Connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 196</div>
|
|
||||||
<h3 id="getDatabase()">getDatabase</h3>
|
|
||||||
<code class="signature">public string <strong>getDatabase</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the name of the database this Connection is connected to.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$database</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 276</div>
|
|
||||||
<h3 id="getDatabasePlatform()">getDatabasePlatform</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Platforms\AbstractPlatform <strong>getDatabasePlatform</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the DatabasePlatform for the connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 246</div>
|
|
||||||
<h3 id="getDriver()">getDriver</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver <strong>getDriver</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the DBAL driver instance.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 266</div>
|
|
||||||
<h3 id="getEventManager()">getEventManager</h3>
|
|
||||||
<code class="signature">public Doctrine\Common\EventManager <strong>getEventManager</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the EventManager used by the Connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 206</div>
|
|
||||||
<h3 id="getHost()">getHost</h3>
|
|
||||||
<code class="signature">public string <strong>getHost</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the hostname of the currently connected database.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 186</div>
|
|
||||||
<h3 id="getParams()">getParams</h3>
|
|
||||||
<code class="signature">public array <strong>getParams</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the parameters used during instantiation.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$params</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 236</div>
|
|
||||||
<h3 id="getPassword()">getPassword</h3>
|
|
||||||
<code class="signature">public string <strong>getPassword</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the password used by this connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 216</div>
|
|
||||||
<h3 id="getPort()">getPort</h3>
|
|
||||||
<code class="signature">public mixed <strong>getPort</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the port of the currently connected database.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 825</div>
|
|
||||||
<h3 id="getRollbackOnly()">getRollbackOnly</h3>
|
|
||||||
<code class="signature">public boolean <strong>getRollbackOnly</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Check whether the current transaction is marked for rollback only.</p><dl>
|
|
||||||
<dt>Throws:</dt>
|
|
||||||
<dd><a href="../../doctrine/dbal/connectionexception.html">If no transaction is active.</a></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 796</div>
|
|
||||||
<h3 id="getSchemaManager()">getSchemaManager</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Schema\SchemaManager <strong>getSchemaManager</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the SchemaManager that can be used to inspect or change the
|
|
||||||
database schema through the connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 420</div>
|
|
||||||
<h3 id="getTransactionIsolation()">getTransactionIsolation</h3>
|
|
||||||
<code class="signature">public integer <strong>getTransactionIsolation</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the currently active transaction isolation level.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The current transaction isolation level.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 667</div>
|
|
||||||
<h3 id="getTransactionNestingLevel()">getTransactionNestingLevel</h3>
|
|
||||||
<code class="signature">public integer <strong>getTransactionNestingLevel</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns the current transaction nesting level.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The nesting level. A value of 0 means there's no active transaction.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 226</div>
|
|
||||||
<h3 id="getUsername()">getUsername</h3>
|
|
||||||
<code class="signature">public string <strong>getUsername</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the username used by this connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 783</div>
|
|
||||||
<h3 id="getWrappedConnection()">getWrappedConnection</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver\Connection <strong>getWrappedConnection</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the wrapped driver connection.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 456</div>
|
|
||||||
<h3 id="insert()">insert</h3>
|
|
||||||
<code class="signature">public integer <strong>insert</strong>(mixed tableName, array data, string table)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Inserts a table row with specified data.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>table - The name of the table to insert data into.</dd>
|
|
||||||
<dd>data - An associative array containing column-value pairs.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of affected rows.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 354</div>
|
|
||||||
<h3 id="isConnected()">isConnected</h3>
|
|
||||||
<code class="signature">public boolean <strong>isConnected</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Whether an actual connection to the database is established.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 364</div>
|
|
||||||
<h3 id="isTransactionActive()">isTransactionActive</h3>
|
|
||||||
<code class="signature">public boolean <strong>isTransactionActive</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Checks whether a transaction is currently active.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>TRUE if a transaction is currently active, FALSE otherwise.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 705</div>
|
|
||||||
<h3 id="lastInsertId()">lastInsertId</h3>
|
|
||||||
<code class="signature">public string <strong>lastInsertId</strong>(string seqName)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Returns the ID of the last inserted row, or the last value from a sequence object,
|
|
||||||
depending on the underlying driver.</p><p>Note: This method may not return a meaningful or consistent result across different drivers,
|
|
||||||
because the underlying database may not even support the notion of AUTO_INCREMENT/IDENTITY
|
|
||||||
columns or sequences.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>seqName - Name of the sequence object from which the ID should be returned.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>A string representation of the last inserted ID.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 536</div>
|
|
||||||
<h3 id="prepare()">prepare</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver\Statement <strong>prepare</strong>(string statement)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Prepares an SQL statement.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>statement - The SQL statement to prepare.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The prepared statement.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 588</div>
|
|
||||||
<h3 id="project()">project</h3>
|
|
||||||
<code class="signature">public mixed <strong>project</strong>(string query, array params, mixed function, Closure mapper)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an, optionally parameterized, SQL query and returns the result,
|
|
||||||
applying a given projection/transformation function on each row of the result.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>query - The SQL query to execute.</dd>
|
|
||||||
<dd>params - The parameters, if any.</dd>
|
|
||||||
<dd>mapper - The transformation function that is applied on each row. The function receives a single paramater, an array, that represents a row of the result set.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The projected result of the query.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 609</div>
|
|
||||||
<h3 id="query()">query</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver\Statement <strong>query</strong>(string statement, integer fetchType)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an SQL statement, returning a result set as a Statement object.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 511</div>
|
|
||||||
<h3 id="quote()">quote</h3>
|
|
||||||
<code class="signature">public string <strong>quote</strong>(mixed input, string type)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Quotes a given input parameter.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>input - Parameter to be quoted.</dd>
|
|
||||||
<dd>type - Type of the parameter.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The quoted parameter.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 499</div>
|
|
||||||
<h3 id="quoteIdentifier()">quoteIdentifier</h3>
|
|
||||||
<code class="signature">public string <strong>quoteIdentifier</strong>(string str)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Quote a string so it can be safely used as a table or column name, even if
|
|
||||||
it is a reserved name.</p><p>Delimiting style depends on the underlying database platform that is being used.</p><p>NOTE: Just because you CAN use quoted identifiers does not mean
|
|
||||||
you SHOULD use them. In general, they end up causing way more
|
|
||||||
problems than they solve.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>str - The name to be quoted.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The quoted name.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 760</div>
|
|
||||||
<h3 id="rollback()">rollback</h3>
|
|
||||||
<code class="signature">public void <strong>rollback</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Cancel any database changes done during the current transaction.</p><p>this method can be listened with onPreTransactionRollback and onTransactionRollback
|
|
||||||
eventlistener methods</p><dl>
|
|
||||||
<dt>Throws:</dt>
|
|
||||||
<dd><a href="../../doctrine/dbal/connectionexception.html">If the rollback operation failed.</a></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 481</div>
|
|
||||||
<h3 id="setCharset()">setCharset</h3>
|
|
||||||
<code class="signature">public void <strong>setCharset</strong>(string charset)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the given charset on the current connection.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>charset - The charset to set.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 811</div>
|
|
||||||
<h3 id="setRollbackOnly()">setRollbackOnly</h3>
|
|
||||||
<code class="signature">public void <strong>setRollbackOnly</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Marks the current transaction so that the only possible
|
|
||||||
outcome for the transaction to be rolled back.</p><dl>
|
|
||||||
<dt>Throws:</dt>
|
|
||||||
<dd><a href="../../doctrine/dbal/connectionexception.html">If no transaction is active.</a></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 408</div>
|
|
||||||
<h3 id="setTransactionIsolation()">setTransactionIsolation</h3>
|
|
||||||
<code class="signature">public void <strong>setTransactionIsolation</strong>(integer level)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Sets the transaction isolation level.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>level - The level to set.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Connection.php at line 432</div>
|
|
||||||
<h3 id="update()">update</h3>
|
|
||||||
<code class="signature">public integer <strong>update</strong>(mixed tableName, mixed data, array identifier, string table)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Executes an SQL UPDATE statement on a table.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>table - The name of the table to update.</dd>
|
|
||||||
<dd>identifier - The update criteria. An associative array containing column-value pairs.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The number of affected rows.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,129 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>ConnectionException (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/connectionexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\ConnectionException</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/ConnectionException.php at line 33</div>
|
|
||||||
|
|
||||||
<h1>Class ConnectionException</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:ConnectionException - Superclass: DBALException
|
|
||||||
Class:DBALException - Superclass: Exception
|
|
||||||
Exception<br>⌊ <a href="../../doctrine/dbal/dbalexception.html">DBALException</a><br> ⌊ <strong>ConnectionException</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>ConnectionException</strong><br>extends <a href="../../doctrine/dbal/dbalexception.html">DBALException</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Doctrine\DBAL\ConnectionException</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>License:</dt>
|
|
||||||
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
|
||||||
<dt>See Also:</dt>
|
|
||||||
<dd><code>www.doctrine-project.org</code></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Version:</dt>
|
|
||||||
<dd>$Revision: 4628 $</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Jonathan H. Wage <jonwage@gmail.com</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#commitFailedRollbackOnly()">commitFailedRollbackOnly</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#noActiveTransaction()">noActiveTransaction</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="inherit">
|
|
||||||
<tr><th colspan="2">Methods inherited from Doctrine\DBAL\DBALException</th></tr>
|
|
||||||
<tr><td><a href="../../doctrine/dbal/dbalexception.html#driverRequired()">driverRequired</a>, <a href="../../doctrine/dbal/dbalexception.html#invalidDriverClass()">invalidDriverClass</a>, <a href="../../doctrine/dbal/dbalexception.html#invalidPdoInstance()">invalidPdoInstance</a>, <a href="../../doctrine/dbal/dbalexception.html#invalidPlatformSpecified()">invalidPlatformSpecified</a>, <a href="../../doctrine/dbal/dbalexception.html#invalidTableName()">invalidTableName</a>, <a href="../../doctrine/dbal/dbalexception.html#invalidWrapperClass()">invalidWrapperClass</a>, <a href="../../doctrine/dbal/dbalexception.html#limitOffsetInvalid()">limitOffsetInvalid</a>, <a href="../../doctrine/dbal/dbalexception.html#noColumnsSpecifiedForTable()">noColumnsSpecifiedForTable</a>, <a href="../../doctrine/dbal/dbalexception.html#notSupported()">notSupported</a>, <a href="../../doctrine/dbal/dbalexception.html#typeExists()">typeExists</a>, <a href="../../doctrine/dbal/dbalexception.html#typeNotFound()">typeNotFound</a>, <a href="../../doctrine/dbal/dbalexception.html#unknownColumnType()">unknownColumnType</a>, <a href="../../doctrine/dbal/dbalexception.html#unknownDriver()">unknownDriver</a></td></tr></table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/ConnectionException.php at line 35</div>
|
|
||||||
<h3 id="commitFailedRollbackOnly()">commitFailedRollbackOnly</h3>
|
|
||||||
<code class="signature">public static void <strong>commitFailedRollbackOnly</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/ConnectionException.php at line 40</div>
|
|
||||||
<h3 id="noActiveTransaction()">noActiveTransaction</h3>
|
|
||||||
<code class="signature">public static void <strong>noActiveTransaction</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/connectionexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,242 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>DBALException (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/dbalexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\DBALException</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 5</div>
|
|
||||||
|
|
||||||
<h1>Class DBALException</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:DBALException - Superclass: Exception
|
|
||||||
Exception<br>⌊ <strong>DBALException</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>DBALException</strong><br>extends Exception
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#driverRequired()">driverRequired</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#invalidDriverClass()">invalidDriverClass</a>(mixed driverClass)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#invalidPdoInstance()">invalidPdoInstance</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#invalidPlatformSpecified()">invalidPlatformSpecified</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static <a href="../../doctrine/dbal/dbalexception.html">DBALException</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#invalidTableName()">invalidTableName</a>(string tableName)</p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#invalidWrapperClass()">invalidWrapperClass</a>(mixed wrapperClass)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#limitOffsetInvalid()">limitOffsetInvalid</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static <a href="../../doctrine/dbal/dbalexception.html">DBALException</a></td>
|
|
||||||
<td class="description"><p class="name"><a href="#noColumnsSpecifiedForTable()">noColumnsSpecifiedForTable</a>(string tableName)</p><p class="description"></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#notSupported()">notSupported</a>(mixed method)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#typeExists()">typeExists</a>(mixed name)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#typeNotFound()">typeNotFound</a>(mixed name)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#unknownColumnType()">unknownColumnType</a>(mixed name)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#unknownDriver()">unknownDriver</a>(mixed unknownDriverName, mixed knownDrivers)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 27</div>
|
|
||||||
<h3 id="driverRequired()">driverRequired</h3>
|
|
||||||
<code class="signature">public static void <strong>driverRequired</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 45</div>
|
|
||||||
<h3 id="invalidDriverClass()">invalidDriverClass</h3>
|
|
||||||
<code class="signature">public static void <strong>invalidDriverClass</strong>(mixed driverClass)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 19</div>
|
|
||||||
<h3 id="invalidPdoInstance()">invalidPdoInstance</h3>
|
|
||||||
<code class="signature">public static void <strong>invalidPdoInstance</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 12</div>
|
|
||||||
<h3 id="invalidPlatformSpecified()">invalidPlatformSpecified</h3>
|
|
||||||
<code class="signature">public static void <strong>invalidPlatformSpecified</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 55</div>
|
|
||||||
<h3 id="invalidTableName()">invalidTableName</h3>
|
|
||||||
<code class="signature">public static <a href="../../doctrine/dbal/dbalexception.html">DBALException</a> <strong>invalidTableName</strong>(string tableName)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 39</div>
|
|
||||||
<h3 id="invalidWrapperClass()">invalidWrapperClass</h3>
|
|
||||||
<code class="signature">public static void <strong>invalidWrapperClass</strong>(mixed wrapperClass)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 69</div>
|
|
||||||
<h3 id="limitOffsetInvalid()">limitOffsetInvalid</h3>
|
|
||||||
<code class="signature">public static void <strong>limitOffsetInvalid</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 64</div>
|
|
||||||
<h3 id="noColumnsSpecifiedForTable()">noColumnsSpecifiedForTable</h3>
|
|
||||||
<code class="signature">public static <a href="../../doctrine/dbal/dbalexception.html">DBALException</a> <strong>noColumnsSpecifiedForTable</strong>(string tableName)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 7</div>
|
|
||||||
<h3 id="notSupported()">notSupported</h3>
|
|
||||||
<code class="signature">public static void <strong>notSupported</strong>(mixed method)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 74</div>
|
|
||||||
<h3 id="typeExists()">typeExists</h3>
|
|
||||||
<code class="signature">public static void <strong>typeExists</strong>(mixed name)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 84</div>
|
|
||||||
<h3 id="typeNotFound()">typeNotFound</h3>
|
|
||||||
<code class="signature">public static void <strong>typeNotFound</strong>(mixed name)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 79</div>
|
|
||||||
<h3 id="unknownColumnType()">unknownColumnType</h3>
|
|
||||||
<code class="signature">public static void <strong>unknownColumnType</strong>(mixed name)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/DBALException.php at line 33</div>
|
|
||||||
<h3 id="unknownDriver()">unknownDriver</h3>
|
|
||||||
<code class="signature">public static void <strong>unknownDriver</strong>(mixed unknownDriverName, mixed knownDrivers)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/dbalexception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,175 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Driver (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/driver.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 11</div>
|
|
||||||
|
|
||||||
<h1>Interface Driver</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Driver</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>Driver</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Driver interface.
|
|
||||||
Interface that all DBAL drivers must implement.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Driver\Connection</td>
|
|
||||||
<td class="description"><p class="name"><a href="#connect()">connect</a>(array params, string username, string password, array driverOptions)</p><p class="description">Attempts to create a connection with the database.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabase()">getDatabase</a>(Doctrine\DBAL\Connection conn)</p><p class="description">Get the name of the database connected to for this driver.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\Platforms\AbstractPlatform</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabasePlatform()">getDatabasePlatform</a>()</p><p class="description">Gets the DatabasePlatform instance that provides all the metadata about
|
|
||||||
the platform this driver connects to.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> string</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getName()">getName</a>()</p><p class="description">Gets the name of the driver.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> Doctrine\DBAL\SchemaManager</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getSchemaManager()">getSchemaManager</a>(Doctrine\DBAL\Connection conn)</p><p class="description">Gets the SchemaManager that can be used to inspect and change the underlying
|
|
||||||
database schema of the platform this driver connects to.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 22</div>
|
|
||||||
<h3 id="connect()">connect</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Driver\Connection <strong>connect</strong>(array params, string username, string password, array driverOptions)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Attempts to create a connection with the database.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>params - All connection parameters passed by the user.</dd>
|
|
||||||
<dd>username - The username to use when connecting.</dd>
|
|
||||||
<dd>password - The password to use when connecting.</dd>
|
|
||||||
<dd>driverOptions - The driver options to use when connecting.</dd>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The database connection.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 54</div>
|
|
||||||
<h3 id="getDatabase()">getDatabase</h3>
|
|
||||||
<code class="signature">public string <strong>getDatabase</strong>(Doctrine\DBAL\Connection conn)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Get the name of the database connected to for this driver.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>$database</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 30</div>
|
|
||||||
<h3 id="getDatabasePlatform()">getDatabasePlatform</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\Platforms\AbstractPlatform <strong>getDatabasePlatform</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the DatabasePlatform instance that provides all the metadata about
|
|
||||||
the platform this driver connects to.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The database platform.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 46</div>
|
|
||||||
<h3 id="getName()">getName</h3>
|
|
||||||
<code class="signature">public string <strong>getName</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the name of the driver.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>The name of the driver.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver.php at line 39</div>
|
|
||||||
<h3 id="getSchemaManager()">getSchemaManager</h3>
|
|
||||||
<code class="signature">public Doctrine\DBAL\SchemaManager <strong>getSchemaManager</strong>(Doctrine\DBAL\Connection conn)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Gets the SchemaManager that can be used to inspect and change the underlying
|
|
||||||
database schema of the platform this driver connects to.</p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../doctrine/dbal/driver.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,210 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Connection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\Connection</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 32</div>
|
|
||||||
|
|
||||||
<h1>Interface Connection</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Connection</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public interface <strong>Connection</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>Connection interface.
|
|
||||||
Driver connections must implement this interface.</p><p>This resembles (a subset of) the PDO interface.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#beginTransaction()">beginTransaction</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#commit()">commit</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorCode()">errorCode</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorInfo()">errorInfo</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#exec()">exec</a>(mixed statement)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#lastInsertId()">lastInsertId</a>(mixed name)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#prepare()">prepare</a>(mixed prepareString)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#query()">query</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#quote()">quote</a>(mixed input, mixed type)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#rollBack()">rollBack</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 39</div>
|
|
||||||
<h3 id="beginTransaction()">beginTransaction</h3>
|
|
||||||
<code class="signature">public void <strong>beginTransaction</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 40</div>
|
|
||||||
<h3 id="commit()">commit</h3>
|
|
||||||
<code class="signature">public void <strong>commit</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 42</div>
|
|
||||||
<h3 id="errorCode()">errorCode</h3>
|
|
||||||
<code class="signature">public void <strong>errorCode</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 43</div>
|
|
||||||
<h3 id="errorInfo()">errorInfo</h3>
|
|
||||||
<code class="signature">public void <strong>errorInfo</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 37</div>
|
|
||||||
<h3 id="exec()">exec</h3>
|
|
||||||
<code class="signature">public void <strong>exec</strong>(mixed statement)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 38</div>
|
|
||||||
<h3 id="lastInsertId()">lastInsertId</h3>
|
|
||||||
<code class="signature">public void <strong>lastInsertId</strong>(mixed name)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 34</div>
|
|
||||||
<h3 id="prepare()">prepare</h3>
|
|
||||||
<code class="signature">public void <strong>prepare</strong>(mixed prepareString)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 35</div>
|
|
||||||
<h3 id="query()">query</h3>
|
|
||||||
<code class="signature">public void <strong>query</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 36</div>
|
|
||||||
<h3 id="quote()">quote</h3>
|
|
||||||
<code class="signature">public void <strong>quote</strong>(mixed input, mixed type)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/Connection.php at line 41</div>
|
|
||||||
<h3 id="rollBack()">rollBack</h3>
|
|
||||||
<code class="signature">public void <strong>rollBack</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,156 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Driver (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/driver.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\OCI8\Driver</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 32</div>
|
|
||||||
|
|
||||||
<h1>Class Driver</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>Driver</strong><br /></pre>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>All Implemented Interfaces:</dt>
|
|
||||||
<dd>Driver </dt>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Driver</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>A Doctrine DBAL driver for the Oracle OCI8 PHP extensions.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#connect()">connect</a>(mixed params, mixed username, mixed password, mixed driverOptions)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabase()">getDatabase</a>(mixed conn)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getDatabasePlatform()">getDatabasePlatform</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getName()">getName</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#getSchemaManager()">getSchemaManager</a>(mixed conn)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 34</div>
|
|
||||||
<h3 id="connect()">connect</h3>
|
|
||||||
<code class="signature">public void <strong>connect</strong>(mixed params, mixed username, mixed password, mixed driverOptions)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 88</div>
|
|
||||||
<h3 id="getDatabase()">getDatabase</h3>
|
|
||||||
<code class="signature">public void <strong>getDatabase</strong>(mixed conn)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 73</div>
|
|
||||||
<h3 id="getDatabasePlatform()">getDatabasePlatform</h3>
|
|
||||||
<code class="signature">public void <strong>getDatabasePlatform</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 83</div>
|
|
||||||
<h3 id="getName()">getName</h3>
|
|
||||||
<code class="signature">public void <strong>getName</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/Driver.php at line 78</div>
|
|
||||||
<h3 id="getSchemaManager()">getSchemaManager</h3>
|
|
||||||
<code class="signature">public void <strong>getSchemaManager</strong>(mixed conn)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/driver.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,230 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>OCI8Connection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\OCI8\OCI8Connection</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 29</div>
|
|
||||||
|
|
||||||
<h1>Class OCI8Connection</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>OCI8Connection</strong><br /></pre>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>All Implemented Interfaces:</dt>
|
|
||||||
<dd>Driver Connection </dt>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>OCI8Connection</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>OCI8 implementation of the Connection interface.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#OCI8Connection()">OCI8Connection</a>(mixed username, mixed password, mixed db)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#beginTransaction()">beginTransaction</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#commit()">commit</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorCode()">errorCode</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorInfo()">errorInfo</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#exec()">exec</a>(mixed statement)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#lastInsertId()">lastInsertId</a>(mixed name)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#prepare()">prepare</a>(mixed prepareString)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#query()">query</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#quote()">quote</a>(mixed input, mixed type)</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#rollBack()">rollBack</a>()</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 33</div>
|
|
||||||
<h3 id="OCI8Connection()">OCI8Connection</h3>
|
|
||||||
<code class="signature">public <strong>OCI8Connection</strong>(mixed username, mixed password, mixed db)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 73</div>
|
|
||||||
<h3 id="beginTransaction()">beginTransaction</h3>
|
|
||||||
<code class="signature">public void <strong>beginTransaction</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 78</div>
|
|
||||||
<h3 id="commit()">commit</h3>
|
|
||||||
<code class="signature">public void <strong>commit</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 94</div>
|
|
||||||
<h3 id="errorCode()">errorCode</h3>
|
|
||||||
<code class="signature">public void <strong>errorCode</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 103</div>
|
|
||||||
<h3 id="errorInfo()">errorInfo</h3>
|
|
||||||
<code class="signature">public void <strong>errorInfo</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 61</div>
|
|
||||||
<h3 id="exec()">exec</h3>
|
|
||||||
<code class="signature">public void <strong>exec</strong>(mixed statement)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 68</div>
|
|
||||||
<h3 id="lastInsertId()">lastInsertId</h3>
|
|
||||||
<code class="signature">public void <strong>lastInsertId</strong>(mixed name)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 41</div>
|
|
||||||
<h3 id="prepare()">prepare</h3>
|
|
||||||
<code class="signature">public void <strong>prepare</strong>(mixed prepareString)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 46</div>
|
|
||||||
<h3 id="query()">query</h3>
|
|
||||||
<code class="signature">public void <strong>query</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 56</div>
|
|
||||||
<h3 id="quote()">quote</h3>
|
|
||||||
<code class="signature">public void <strong>quote</strong>(mixed input, mixed type)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php at line 86</div>
|
|
||||||
<h3 id="rollBack()">rollBack</h3>
|
|
||||||
<code class="signature">public void <strong>rollBack</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,98 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>OCI8Exception (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8exception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\OCI8\OCI8Exception</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Exception.php at line 24</div>
|
|
||||||
|
|
||||||
<h1>Class OCI8Exception</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:OCI8Exception - Superclass: Exception
|
|
||||||
Exception<br>⌊ <strong>OCI8Exception</strong><br /></pre>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>OCI8Exception</strong><br>extends Exception
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type">static void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fromErrorInfo()">fromErrorInfo</a>(mixed error)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Exception.php at line 26</div>
|
|
||||||
<h3 id="fromErrorInfo()">fromErrorInfo</h3>
|
|
||||||
<code class="signature">public static void <strong>fromErrorInfo</strong>(mixed error)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8exception.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,253 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>OCI8Statement (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8statement.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\OCI8\OCI8Statement</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 32</div>
|
|
||||||
|
|
||||||
<h1>Class OCI8Statement</h1>
|
|
||||||
|
|
||||||
<pre class="tree"><strong>OCI8Statement</strong><br /></pre>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>All Implemented Interfaces:</dt>
|
|
||||||
<dd>Driver Statement </dt>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>OCI8Statement</strong></p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>The OCI8 implementation of the Statement interface.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
<dt>Author:</dt>
|
|
||||||
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#OCI8Statement()">OCI8Statement</a>(resource dbh, string statement)</p><p class="description">Creates a new OCI8Statement that uses the given connection handle and SQL statement.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#bindParam()">bindParam</a>(mixed column, mixed variable, mixed type)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#bindValue()">bindValue</a>(mixed param, mixed value, mixed type)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> boolean</td>
|
|
||||||
<td class="description"><p class="name"><a href="#closeCursor()">closeCursor</a>()</p><p class="description">Closes the cursor, enabling the statement to be executed again.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#columnCount()">columnCount</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorCode()">errorCode</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#errorInfo()">errorInfo</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#execute()">execute</a>(mixed params)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetch()">fetch</a>(mixed fetchStyle)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchAll()">fetchAll</a>(mixed fetchStyle)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#fetchColumn()">fetchColumn</a>(mixed columnIndex)</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#rowCount()">rowCount</a>()</p><p class="description">{@inheritdoc}</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 51</div>
|
|
||||||
<h3 id="OCI8Statement()">OCI8Statement</h3>
|
|
||||||
<code class="signature">public <strong>OCI8Statement</strong>(resource dbh, string statement)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Creates a new OCI8Statement that uses the given connection handle and SQL statement.</p><dl>
|
|
||||||
<dt>Parameters:</dt>
|
|
||||||
<dd>dbh - The connection handle.</dd>
|
|
||||||
<dd>statement - The SQL statement.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 87</div>
|
|
||||||
<h3 id="bindParam()">bindParam</h3>
|
|
||||||
<code class="signature">public void <strong>bindParam</strong>(mixed column, mixed variable, mixed type)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 79</div>
|
|
||||||
<h3 id="bindValue()">bindValue</h3>
|
|
||||||
<code class="signature">public void <strong>bindValue</strong>(mixed param, mixed value, mixed type)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 99</div>
|
|
||||||
<h3 id="closeCursor()">closeCursor</h3>
|
|
||||||
<code class="signature">public boolean <strong>closeCursor</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Closes the cursor, enabling the statement to be executed again.</p><dl>
|
|
||||||
<dt>Returns:</dt>
|
|
||||||
<dd>Returns TRUE on success or FALSE on failure.</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 107</div>
|
|
||||||
<h3 id="columnCount()">columnCount</h3>
|
|
||||||
<code class="signature">public void <strong>columnCount</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 115</div>
|
|
||||||
<h3 id="errorCode()">errorCode</h3>
|
|
||||||
<code class="signature">public void <strong>errorCode</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 127</div>
|
|
||||||
<h3 id="errorInfo()">errorInfo</h3>
|
|
||||||
<code class="signature">public void <strong>errorInfo</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 135</div>
|
|
||||||
<h3 id="execute()">execute</h3>
|
|
||||||
<code class="signature">public void <strong>execute</strong>(mixed params)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 158</div>
|
|
||||||
<h3 id="fetch()">fetch</h3>
|
|
||||||
<code class="signature">public void <strong>fetch</strong>(mixed fetchStyle)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 170</div>
|
|
||||||
<h3 id="fetchAll()">fetchAll</h3>
|
|
||||||
<code class="signature">public void <strong>fetchAll</strong>(mixed fetchStyle)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 185</div>
|
|
||||||
<h3 id="fetchColumn()">fetchColumn</h3>
|
|
||||||
<code class="signature">public void <strong>fetchColumn</strong>(mixed columnIndex)</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php at line 194</div>
|
|
||||||
<h3 id="rowCount()">rowCount</h3>
|
|
||||||
<code class="signature">public void <strong>rowCount</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p></p></div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/oci8statement.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver\OCI8 (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\DBAL\Driver\OCI8</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/driver.html" target="main">Driver</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/oci8connection.html" target="main">OCI8Connection</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/oci8statement.html" target="main">OCI8Statement</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Exceptions</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/oci8exception.html" target="main">OCI8Exception</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,71 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver\OCI8 (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\DBAL\Driver\OCI8</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../../doctrine/dbal/driver/oci8/driver.html">Driver</a></td><td class="description">A Doctrine DBAL driver for the Oracle OCI8 PHP extensions.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../../doctrine/dbal/driver/oci8/oci8connection.html">OCI8Connection</a></td><td class="description">OCI8 implementation of the Connection interface.</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../../doctrine/dbal/driver/oci8/oci8statement.html">OCI8Statement</a></td><td class="description">The OCI8 implementation of the Statement interface.</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Exception Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../../doctrine/dbal/driver/oci8/oci8exception.html">OCI8Exception</a></td><td class="description"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../../doctrine/dbal/driver/oci8/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,58 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver\OCI8 (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\DBAL\Driver\OCI8</h1><ul>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/driver.html">Doctrine\DBAL\Driver\OCI8\Driver</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/oci8connection.html">Doctrine\DBAL\Driver\OCI8\OCI8Connection</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/oci8statement.html">Doctrine\DBAL\Driver\OCI8\OCI8Statement</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/oci8/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/oci8/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="frame">
|
|
||||||
|
|
||||||
<h1><a href="package-summary.html" target="main">Doctrine\DBAL\Driver</a></h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/pdoconnection.html" target="main">PDOConnection</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/pdostatement.html" target="main">PDOStatement</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Interfaces</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/connection.html" target="main">Connection</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/statement.html" target="main">Statement</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Functions (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Functions</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Function</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-functions.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_function">Function</a>
|
|
||||||
Detail: <a href="#detail_function">Function</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Globals (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Globals</h1>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Package</a></li>
|
|
||||||
<li class="active">Global</li>
|
|
||||||
<li><a href="../../../overview-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-globals.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_global">Global</a>
|
|
||||||
Detail: <a href="#detail_global">Global</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,75 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h1>Namespace Doctrine\DBAL\Driver</h1>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/dbal/driver/pdoconnection.html">PDOConnection</a></td><td class="description">PDO implementation of the Connection interface.
|
|
||||||
</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/dbal/driver/pdostatement.html">PDOStatement</a></td><td class="description">The PDO implementation of the Statement interface.
|
|
||||||
</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="title">
|
|
||||||
<tr><th colspan="2" class="title">Interface Summary</th></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/dbal/driver/connection.html">Connection</a></td><td class="description">Connection interface.
|
|
||||||
</td></tr>
|
|
||||||
<tr><td class="name"><a href="../../../doctrine/dbal/driver/statement.html">Statement</a></td><td class="description">Statement interface.
|
|
||||||
</td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li class="active">Namespace</li>
|
|
||||||
<li>Class</li><li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-summary.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,56 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Doctrine\DBAL\Driver (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="tree" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<h1>Class Hierarchy for Package Doctrine\DBAL\Driver</h1><ul>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/pdostatement.html">Doctrine\DBAL\Driver\PDOStatement</a></li>
|
|
||||||
</ul>
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li>Class</li><li class="active">Tree</li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/package-tree.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,109 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>PDOConnection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/pdoconnection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\PDOConnection</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOConnection.php at line 32</div>
|
|
||||||
|
|
||||||
<h1>Class PDOConnection</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:PDOConnection - Superclass: PDO
|
|
||||||
PDO<br>⌊ <strong>PDOConnection</strong><br /></pre>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>All Implemented Interfaces:</dt>
|
|
||||||
<dd>Connection </dt>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>PDOConnection</strong><br>extends PDO
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>PDO implementation of the Connection interface.
|
|
||||||
Used by all PDO-based drivers.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_constr">
|
|
||||||
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="description"><p class="name"><a href="#PDOConnection()">PDOConnection</a>(mixed dsn, mixed user, mixed password, mixed options)</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_constr">Constructor Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOConnection.php at line 34</div>
|
|
||||||
<h3 id="PDOConnection()">PDOConnection</h3>
|
|
||||||
<code class="signature">public <strong>PDOConnection</strong>(mixed dsn, mixed user, mixed password, mixed options)</code>
|
|
||||||
<div class="details">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../doctrine/dbal/driver/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../doctrine/dbal/driver/pdoconnection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,142 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
||||||
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
|
|
||||||
<link rel="start" href="../../../../overview-summary.html">
|
|
||||||
|
|
||||||
<title>Connection (Doctrine)</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body id="definition" onload="parent.document.title=document.title;">
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/pdomssql/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/pdomssql/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/pdomssql/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="qualifiedName">Doctrine\DBAL\Driver\PDOMsSql\Connection</div>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOMsSql/Connection.php at line 29</div>
|
|
||||||
|
|
||||||
<h1>Class Connection</h1>
|
|
||||||
|
|
||||||
<pre class="tree">Class:Connection - Superclass: PDO
|
|
||||||
PDO<br>⌊ <strong>Connection</strong><br /></pre>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>All Implemented Interfaces:</dt>
|
|
||||||
<dd>Driver Connection </dt>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p class="signature">public class <strong>Connection</strong><br>extends PDO
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="comment" id="overview_description"><p>MsSql Connection implementation.</p></div>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Since:</dt>
|
|
||||||
<dd>2.0</dd>
|
|
||||||
</dl>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="summary_method">
|
|
||||||
<tr><th colspan="2">Method Summary</th></tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#beginTransaction()">beginTransaction</a>()</p><p class="description">Begins a database transaction.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#commit()">commit</a>()</p><p class="description">Performs the commit.</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="type"> void</td>
|
|
||||||
<td class="description"><p class="name"><a href="#rollback()">rollback</a>()</p><p class="description">Performs the rollback.</p></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2 id="detail_method">Method Detail</h2>
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOMsSql/Connection.php at line 56</div>
|
|
||||||
<h3 id="beginTransaction()">beginTransaction</h3>
|
|
||||||
<code class="signature">public void <strong>beginTransaction</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Begins a database transaction.</p><dl>
|
|
||||||
<dt>Override.</dt>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOMsSql/Connection.php at line 46</div>
|
|
||||||
<h3 id="commit()">commit</h3>
|
|
||||||
<code class="signature">public void <strong>commit</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Performs the commit.</p><dl>
|
|
||||||
<dt>Override.</dt>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="location">/Doctrine/DBAL/Driver/PDOMsSql/Connection.php at line 36</div>
|
|
||||||
<h3 id="rollback()">rollback</h3>
|
|
||||||
<code class="signature">public void <strong>rollback</strong>()</code>
|
|
||||||
<div class="details">
|
|
||||||
<p>Performs the rollback.</p><dl>
|
|
||||||
<dt>Override.</dt>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>Doctrine</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/pdomssql/package-summary.html">Namespace</a></li>
|
|
||||||
<li class="active">Class</li>
|
|
||||||
<li><a href="../../../../doctrine/dbal/driver/pdomssql/package-tree.html">Tree</a></li>
|
|
||||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
||||||
<li><a href="../../../../index-all.html">Index</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small_links">
|
|
||||||
<a href="../../../../index.html" target="_top">Frames</a>
|
|
||||||
<a href="../../../../doctrine/dbal/driver/pdomssql/connection.html" target="_top">No frames</a>
|
|
||||||
</div>
|
|
||||||
<div class="small_links">
|
|
||||||
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user