Commit 27b369a5 authored by Jonathan.Wage's avatar Jonathan.Wage

Mass search and replace for coding standards changes, doc block formatting, and code spacing.

parent 4ce2a369
......@@ -66,18 +66,22 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
const ERR_MANAGER_PARSE = -33;
const ERR_LOADMODULE = -34;
const ERR_INSUFFICIENT_DATA = -35;
/**
* @var array $instances all the instances of this class
*/
protected static $instances = array();
/**
* @var array $isConnected whether or not a connection has been established
*/
protected $isConnected = false;
/**
* @var PDO $dbh the database handler
*/
protected $dbh;
/**
* @var array $options
*/
......@@ -85,11 +89,13 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
'username' => null,
'password' => null,
);
/**
* @var Doctrine_Db_EventListener_Interface|Doctrine_Overloadable $listener
* listener for listening events
*/
protected $listener;
/**
* @var integer $querySequence
*/
......@@ -125,12 +131,14 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public function nextQuerySequence() {
return ++$this->querySequence;
}
/**
* getQuerySequence
*/
public function getQuerySequence() {
return $this->querySequence;
}
/**
* getDBH
*/
......@@ -143,6 +151,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $this->options[$name];
}
/**
* addListener
*
......@@ -157,6 +166,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $this;
}
/**
* getListener
*
......@@ -165,6 +175,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public function getListener() {
return $this->listener;
}
/**
* setListener
*
......@@ -209,6 +220,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public static function getConnection($dsn = null, $username = null, $password = null) {
return new self($dsn, $username, $password);
}
/**
* driverName
* converts a driver name like (oracle) to appropriate PDO
......@@ -223,6 +235,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $name;
}
/**
* parseDSN
*
......@@ -301,6 +314,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public function errorCode() {
return $this->dbh->errorCode();
}
/**
* errorInfo
* Fetch extended error information associated with the last operation on the database handle
......@@ -310,6 +324,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public function errorInfo() {
return $this->dbh->errorInfo();
}
/**
* prepare
*
......@@ -330,6 +345,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $stmt;
}
/**
* query
*
......@@ -355,6 +371,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $stmt;
}
/**
* quote
* quotes a string for use in a query
......@@ -367,6 +384,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $this->dbh->quote($input);
}
/**
* exec
* executes an SQL statement and returns the number of affected rows
......@@ -389,6 +407,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $rows;
}
/**
* fetchAll
*
......@@ -418,6 +437,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
public function fetchBoth($statement, array $params = array()) {
return $this->query($statement, $params)->fetchAll(PDO::FETCH_BOTH);
}
/**
* lastInsertId
*
......@@ -428,6 +448,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $this->dbh->lastInsertId();
}
/**
* begins a transaction
*
......@@ -444,6 +465,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $return;
}
/**
* commits a transaction
*
......@@ -460,6 +482,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $return;
}
/**
* rollBack
*
......@@ -476,6 +499,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
$this->listener->onRollback($event);
}
/**
* getAttribute
* retrieves a database connection attribute
......@@ -488,12 +512,14 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
return $this->dbh->getAttribute($attribute);
}
/**
* returns an array of available PDO drivers
*/
public static function getAvailableDrivers() {
return PDO::getAvailableDrivers();
}
/**
* setAttribute
* sets an attribute
......@@ -507,6 +533,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
$this->dbh->setAttribute($attribute, $value);
}
/**
* getIterator
*
......@@ -516,6 +543,7 @@ class Doctrine_Db2 implements Countable, IteratorAggregate, Doctrine_Adapter_Int
if($this->listener instanceof Doctrine_Db_Profiler)
return $this->listener;
}
/**
* count
* returns the number of executed queries
......
......@@ -9,7 +9,7 @@ function __autoload($classname) {
if (class_exists($classname)) {
return false;
}
if (! $path) {
if ( ! $path) {
$path = dirname(__FILE__);
}
$classpath = str_replace('Doctrine_', '',$classname);
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node
*
......@@ -75,7 +76,7 @@ class Doctrine_Node implements IteratorAggregate
{
$class = 'Doctrine_Node_' . $implName;
if (!class_exists($class)) {
if ( ! class_exists($class)) {
throw new Doctrine_Node_Exception("The class $class must exist and extend Doctrine_Node");
}
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_AdjacencyList
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_AdjacencyList_LevelOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_AdjacencyList_PostOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_AdjacencyList_PreOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_Exception
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_Interface
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_MaterializedPath
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_MaterializedPath_LevelOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_MaterializedPath_PostOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_MaterializedPath_PreOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_NestedSet
*
......@@ -461,7 +462,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
return true;
}
/**
* Accomplishes moving of nodes between different trees.
* Used by the move* methods if the root value of the two nodes are different.
......@@ -548,7 +549,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
throw $e;
}
}
/**
* moves node as prev sibling of dest record
*
......@@ -616,7 +617,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
$this->updateNode($dest->getNode()->getRightValue(), $this->record['level'] - $oldLevel);
}
}
/**
* Makes this node a root node. Only used in multiple-root trees.
*
......@@ -899,7 +900,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
$resultRight = $qRight->execute();
}
/**
* gets record's left value
*
......@@ -947,7 +948,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
*/
public function getLevel()
{
if (!isset($this->level)) {
if ( ! isset($this->level)) {
$componentName = $this->record->getTable()->getComponentName();
$q = $this->_tree->getBaseQuery();
$q = $q->where('base.lft < ? AND base.rgt > ?', array($this->getLeftValue(), $this->getRightValue()));
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_NestedSet_LevelOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_NestedSet_PostOrderIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Node_NestedSet_PreOrderIterator
*
......@@ -35,26 +36,32 @@ class Doctrine_Node_NestedSet_PreOrderIterator implements Iterator
* @var Doctrine_Collection $collection
*/
protected $collection;
/**
* @var array $keys
*/
protected $keys;
/**
* @var mixed $key
*/
protected $key;
/**
* @var integer $index
*/
protected $index;
/**
* @var integer $index
*/
protected $prevIndex;
/**
* @var integer $index
*/
protected $traverseLevel;
/**
* @var integer $count
*/
......@@ -155,7 +162,7 @@ class Doctrine_Node_NestedSet_PreOrderIterator implements Iterator
private function updateLevel()
{
if (!(isset($this->options['include_record']) && $this->options['include_record'] && $this->index == 0)) {
if ( ! (isset($this->options['include_record']) && $this->options['include_record'] && $this->index == 0)) {
$left = $this->collection->get($this->key)->getNode()->getLeftValue();
$this->level += $this->prevLeft - $left + 2;
$this->prevLeft = $left;
......
......@@ -169,6 +169,7 @@ class Doctrine_Query_Where extends Doctrine_Query_Condition
}
return $where;
}
/**
* parses an EXISTS expression
*
......@@ -189,6 +190,7 @@ class Doctrine_Query_Where extends Doctrine_Query_Condition
return $operator . ' ('.$this->query->createSubquery()->parseQuery($sub, false)->getQuery() . ')';
}
/**
* getOperator
*
......@@ -210,6 +212,7 @@ class Doctrine_Query_Where extends Doctrine_Query_Condition
}
return $operator;
}
/**
* __toString
* return string representation of this object
......
This diff is collapsed.
......@@ -83,7 +83,7 @@ class Doctrine_Tree
public static function factory(Doctrine_Table $table, $implName, $options = array())
{
$class = 'Doctrine_Tree_' . $implName;
if (!class_exists($class)) {
if ( ! class_exists($class)) {
throw new Doctrine_Exception('The chosen class must extend Doctrine_Tree');
}
return new $class($table, $options);
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Tree_AdjacencyList
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Tree_Exception
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Tree_Interface
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Tree_MaterializedPath
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Tree_NestedSet
*
......@@ -32,7 +33,7 @@
class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Interface
{
private $_baseQuery;
/**
* constructor, creates tree with reference to table and sets default root options
*
......@@ -48,7 +49,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
parent::__construct($table, $options);
}
/**
* used to define table attributes required for the NestetSet implementation
* adds lft and rgt columns for corresponding left and right values
......@@ -99,7 +100,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
{
return $this->fetchRoot($rootId);
}
/**
* Fetches a/the root node.
*
......@@ -254,7 +255,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
return $query;
}
/**
* Enter description here...
*
......@@ -263,12 +264,12 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
*/
public function getBaseQuery()
{
if (!isset($this->_baseQuery)) {
if ( ! isset($this->_baseQuery)) {
$this->_baseQuery = $this->_createBaseQuery();
}
return clone $this->_baseQuery;
}
/**
* Enter description here...
*
......@@ -279,7 +280,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
$q->select("base.*")->from($this->table->getComponentName() . " base");
return $q;
}
/**
* Enter description here...
*
......@@ -293,7 +294,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
}
$this->_baseQuery = $query;
}
/**
* Enter description here...
*
......@@ -302,7 +303,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int
{
$this->_baseQuery = null;
}
/**
* Enter description here...
*
......
This diff is collapsed.
......@@ -42,18 +42,22 @@ class Doctrine_Hydrate implements Serializable
* constant for SELECT queries
*/
const SELECT = 0;
/**
* constant for DELETE queries
*/
const DELETE = 1;
/**
* constant for UPDATE queries
*/
const UPDATE = 2;
/**
* constant for INSERT queries
*/
const INSERT = 3;
/**
* constant for CREATE queries
*/
......@@ -63,15 +67,18 @@ class Doctrine_Hydrate implements Serializable
* @var array $params query input parameters
*/
protected $_params = array();
/**
* @var Doctrine_Connection $conn Doctrine_Connection object
*/
protected $_conn;
/**
* @var Doctrine_View $_view Doctrine_View object, when set this object will use the
* the query given by the view object for object population
*/
protected $_view;
/**
* @var array $_aliasMap two dimensional array containing the map for query aliases
* Main keys are component aliases
......@@ -85,15 +92,18 @@ class Doctrine_Hydrate implements Serializable
* agg the aggregates of this component
*/
protected $_aliasMap = array();
/**
*
*/
protected $pendingAggregates = array();
/**
* @var array $aggregateMap an array containing all aggregate aliases, keys as dql aliases
* and values as sql aliases
*/
protected $aggregateMap = array();
/**
* @var array $_options an array of options
*/
......@@ -102,6 +112,7 @@ class Doctrine_Hydrate implements Serializable
'parserCache' => false,
'resultSetCache' => false,
);
/**
* @var array $parts SQL query string parts
*/
......@@ -119,6 +130,7 @@ class Doctrine_Hydrate implements Serializable
'limit' => false,
'offset' => false,
);
/**
* @var integer $type the query type
*
......@@ -129,12 +141,14 @@ class Doctrine_Hydrate implements Serializable
protected $_cache;
protected $_tableAliases = array();
/**
* @var array $_tableAliasSeeds A simple array keys representing table aliases and values
* as table alias seeds. The seeds are used for generating short table
* aliases.
*/
protected $_tableAliasSeeds = array();
/**
* constructor
*
......@@ -160,6 +174,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_cache;
}
/**
* serialize
* this method is automatically called when this Doctrine_Hydrate is serialized
......@@ -171,6 +186,7 @@ class Doctrine_Hydrate implements Serializable
$vars = get_object_vars($this);
}
/**
* unseralize
* this method is automatically called everytime a Doctrine_Hydrate object is unserialized
......@@ -182,6 +198,7 @@ class Doctrine_Hydrate implements Serializable
{
}
/**
* generateNewTableAlias
* generates a new alias from given table alias
......@@ -207,6 +224,7 @@ class Doctrine_Hydrate implements Serializable
return $alias;
}
/**
* hasTableAlias
* whether or not this object has given tableAlias
......@@ -218,6 +236,7 @@ class Doctrine_Hydrate implements Serializable
{
return (isset($this->_tableAliases[$tableAlias]));
}
/**
* getComponentAlias
* get component alias associated with given table alias
......@@ -232,6 +251,7 @@ class Doctrine_Hydrate implements Serializable
}
return $this->_tableAliases[$tableAlias];
}
/**
* getTableAliasSeed
* returns the alias seed for given table alias
......@@ -246,6 +266,7 @@ class Doctrine_Hydrate implements Serializable
}
return $this->_tableAliasSeeds[$tableAlias];
}
/**
* generateTableAlias
* generates a table alias from given table name and associates
......@@ -272,6 +293,7 @@ class Doctrine_Hydrate implements Serializable
return $alias;
}
/**
* getTableAliases
* returns all table aliases
......@@ -282,6 +304,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_tableAliases;
}
/**
* addTableAlias
* adds an alias for table and associates it with given component alias
......@@ -296,6 +319,7 @@ class Doctrine_Hydrate implements Serializable
return $this;
}
/**
* getTableAlias
* some database such as Oracle need the identifier lengths to be < ~30 chars
......@@ -322,6 +346,7 @@ class Doctrine_Hydrate implements Serializable
return $this->generateTableAlias($componentAlias, $tableName);
}
/**
* addQueryPart
* adds a query part in the query part array
......@@ -340,6 +365,7 @@ class Doctrine_Hydrate implements Serializable
return $this;
}
/**
* setQueryPart
* sets a query part in the query part array
......@@ -357,6 +383,7 @@ class Doctrine_Hydrate implements Serializable
return $this->parts[$part];
}
/**
* removeQueryPart
* removes a query part from the query part array
......@@ -378,6 +405,7 @@ class Doctrine_Hydrate implements Serializable
}
return $this;
}
/**
* setQueryPart
* sets a query part in the query part array
......@@ -401,6 +429,7 @@ class Doctrine_Hydrate implements Serializable
return $this;
}
/**
* getAliasDeclaration
* get the declaration for given component alias
......@@ -416,6 +445,7 @@ class Doctrine_Hydrate implements Serializable
return $this->_aliasMap[$componentAlias];
}
/**
* copyAliases
* copy aliases from another Hydrate object
......@@ -433,6 +463,7 @@ class Doctrine_Hydrate implements Serializable
return $this;
}
/**
* createSubquery
* creates a subquery
......@@ -452,6 +483,7 @@ class Doctrine_Hydrate implements Serializable
return $obj;
}
/**
* limitSubqueryUsed
* whether or not limit subquery was used
......@@ -462,6 +494,7 @@ class Doctrine_Hydrate implements Serializable
{
return false;
}
/**
* clear
* resets all the variables
......@@ -486,6 +519,7 @@ class Doctrine_Hydrate implements Serializable
);
$this->inheritanceApplied = false;
}
/**
* getConnection
*
......@@ -495,6 +529,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_conn;
}
/**
* setView
* sets a database view this query object uses
......@@ -507,6 +542,7 @@ class Doctrine_Hydrate implements Serializable
{
$this->_view = $view;
}
/**
* getView
* returns the view associated with this query object (if any)
......@@ -517,6 +553,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_view;
}
/**
* getParams
*
......@@ -526,6 +563,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_params;
}
/**
* setParams
*
......@@ -538,6 +576,7 @@ class Doctrine_Hydrate implements Serializable
{
return $params;
}
/**
* setAliasMap
* sets the whole component alias map
......@@ -551,6 +590,7 @@ class Doctrine_Hydrate implements Serializable
return $this;
}
/**
* getAliasMap
* returns the component alias map
......@@ -561,6 +601,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->_aliasMap;
}
/**
* mapAggregateValues
* map the aggregate values of given dataset row to a given record
......@@ -634,6 +675,7 @@ class Doctrine_Hydrate implements Serializable
$stmt = $this->_conn->execute($query, $params);
return $stmt;
}
/**
* execute
* executes the query and populates the data set
......@@ -705,6 +747,7 @@ class Doctrine_Hydrate implements Serializable
{
return $this->type;
}
/**
* applyInheritance
* applies column aggregation inheritance to DQL / SQL query
......@@ -762,6 +805,7 @@ class Doctrine_Hydrate implements Serializable
return $str;
}
/**
* parseData
* parses the data returned by statement object
......@@ -999,6 +1043,7 @@ class Doctrine_Hydrate implements Serializable
$stmt->closeCursor();
return $array;
}
/**
* @return string returns a string representation of this object
*/
......
......@@ -42,6 +42,7 @@ class Doctrine_Query
{
return new Doctrine_Query();
}
/**
* addSelect
* adds fields to the SELECT part of the query
......@@ -53,6 +54,7 @@ class Doctrine_Query
{
return $this->getParser('select')->parse($select, true);
}
/**
* addWhere
* adds conditions to the WHERE part of the query
......@@ -70,6 +72,7 @@ class Doctrine_Query
}
return $this->getParser('where')->parse($where, true);
}
/**
* addGroupBy
* adds fields to the GROUP BY part of the query
......@@ -81,6 +84,7 @@ class Doctrine_Query
{
return $this->getParser('groupby')->parse($groupby, true);
}
/**
* addHaving
* adds conditions to the HAVING part of the query
......@@ -92,6 +96,7 @@ class Doctrine_Query
{
return $this->getParser('having')->parse($having, true);
}
/**
* addOrderBy
* adds fields to the ORDER BY part of the query
......@@ -103,6 +108,7 @@ class Doctrine_Query
{
return $this->getParser('orderby')->parse($orderby, true);
}
/**
* select
* sets the SELECT part of the query
......@@ -114,6 +120,7 @@ class Doctrine_Query
{
return $this->getParser('from')->parse($select);
}
/**
* from
* sets the FROM part of the query
......@@ -125,6 +132,7 @@ class Doctrine_Query
{
return $this->getParser('from')->parse($from);
}
/**
* innerJoin
* appends an INNER JOIN to the FROM part of the query
......@@ -136,6 +144,7 @@ class Doctrine_Query
{
return $this->getParser('from')->parse('INNER JOIN ' . $join);
}
/**
* leftJoin
* appends a LEFT JOIN to the FROM part of the query
......@@ -147,6 +156,7 @@ class Doctrine_Query
{
return $this->getParser('from')->parse('LERT JOIN ' . $join);
}
/**
* groupBy
* sets the GROUP BY part of the query
......@@ -158,6 +168,7 @@ class Doctrine_Query
{
return $this->getParser('groupby')->parse($groupby);
}
/**
* where
* sets the WHERE part of the query
......@@ -175,6 +186,7 @@ class Doctrine_Query
}
return $this->getParser('where')->parse($where);
}
/**
* having
* sets the HAVING part of the query
......@@ -192,6 +204,7 @@ class Doctrine_Query
}
return $this->getParser('having')->parse($having);
}
/**
* orderBy
* sets the ORDER BY part of the query
......@@ -203,6 +216,7 @@ class Doctrine_Query
{
return $this->getParser('orderby')->parse($dql);
}
/**
* limit
* sets the DQL query limit
......@@ -214,6 +228,7 @@ class Doctrine_Query
{
return $this->getParser('limit')->parse($dql);
}
/**
* offset
* sets the DQL query offset
......
......@@ -36,6 +36,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
* @var array $fields
*/
private $fields;
/**
* __call
* method overloader
......@@ -59,6 +60,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
}
return $this;
}
/**
* get
*/
......@@ -69,6 +71,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
}
return $this->parts[$name];
}
/**
* parseQuery
*
......@@ -126,6 +129,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
return $this;
}
/**
* getQuery
*
......@@ -191,6 +195,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
}
return $q;
}
/**
* getFields
*
......@@ -200,6 +205,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate
{
return $this->fields;
}
/**
* addComponent
*
......
This diff is collapsed.
This diff is collapsed.
......@@ -349,7 +349,7 @@ final class Doctrine
* HYDRATION CONSTANTS
*/
const HYDRATE_RECORD = 2;
/**
* HYDRATE_ARRAY
*/
......@@ -736,7 +736,7 @@ final class Doctrine
*/
public static function createDatabases($specifiedConnections = array())
{
if (!is_array($specifiedConnections)) {
if ( ! is_array($specifiedConnections)) {
$specifiedConnections = (array) $specifiedConnections;
}
......@@ -744,7 +744,7 @@ final class Doctrine
$connections = $manager->getConnections();
foreach ($connections as $name => $connection) {
if (!empty($specifiedConnections) && !in_array($name, $specifiedConnections)) {
if ( ! empty($specifiedConnections) && !in_array($name, $specifiedConnections)) {
continue;
}
......@@ -783,7 +783,7 @@ final class Doctrine
*/
public static function dropDatabases($specifiedConnections = array())
{
if (!is_array($specifiedConnections)) {
if ( ! is_array($specifiedConnections)) {
$specifiedConnections = (array) $specifiedConnections;
}
......@@ -792,7 +792,7 @@ final class Doctrine
$connections = $manager->getConnections();
foreach ($connections as $name => $connection) {
if (!empty($specifiedConnections) && !in_array($name, $specifiedConnections)) {
if ( ! empty($specifiedConnections) && !in_array($name, $specifiedConnections)) {
continue;
}
......@@ -834,7 +834,7 @@ final class Doctrine
{
$data = new Doctrine_Data();
if (!$append) {
if ( ! $append) {
$data->purge();
}
......@@ -854,13 +854,13 @@ final class Doctrine
{
$data = new Doctrine_Data();
if (!$append) {
if ( ! $append) {
$data->purge();
}
return $data->importDummyData($num);
}
/**
* migrate
*
......@@ -920,7 +920,7 @@ final class Doctrine
return $builder->generateMigrationsFromModels($modelsPath);
}
/**
* getTable
*
......@@ -931,7 +931,7 @@ final class Doctrine
{
return Doctrine_Manager::table($tableName);
}
/**
* connection
*
......@@ -943,7 +943,7 @@ final class Doctrine
{
return Doctrine_Manager::connection($adapter, $name);
}
/**
* fileFinder
*
......@@ -954,7 +954,7 @@ final class Doctrine
{
return Doctrine_FileFinder::type($type);
}
/**
* compile
* method for making a single file of most used doctrine runtime components
......@@ -970,7 +970,7 @@ final class Doctrine
{
return Doctrine_Compiler::compile($target, $includedDrivers);
}
/**
* simple autoload function
* returns true if the class was loaded, otherwise false
......@@ -998,7 +998,7 @@ final class Doctrine
return true;
}
/**
* dump
*
......@@ -1030,7 +1030,7 @@ final class Doctrine
}
return implode("\n", $ret);
}
/**
* returns table name from class name
*
......@@ -1041,7 +1041,7 @@ final class Doctrine
{
return strtolower(preg_replace('~(?<=\\w)([A-Z])~', '_$1', $classname));
}
/**
* returns class name from table name
*
......@@ -1052,7 +1052,7 @@ final class Doctrine
{
return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst($tablename));
}
/**
* Callback function to classify a classname propperly.
*
......@@ -1063,7 +1063,7 @@ final class Doctrine
{
return $matches[1] . strtoupper($matches[3]);
}
/**
* checks for valid class name (uses camel case and underscores)
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Access
*
......@@ -49,6 +50,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
return $this;
}
/**
* __set an alias of set()
*
......@@ -62,6 +64,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
$this->set($name,$value);
}
/**
* __get -- an alias of get()
*
......@@ -74,6 +77,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
return $this->get($name);
}
/**
* __isset()
*
......@@ -85,6 +89,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
return $this->contains($name);
}
/**
* __unset()
*
......@@ -96,6 +101,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
return $this->remove($name);
}
/**
* @param mixed $offset
* @return boolean whether or not this object contains $offset
......@@ -104,6 +110,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
return $this->contains($offset);
}
/**
* offsetGet an alias of get()
* @see get, __get
......@@ -114,6 +121,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
{
return $this->get($offset);
}
/**
* sets $offset to $value
* @see set, __set
......@@ -129,6 +137,7 @@ abstract class Doctrine_Access extends Doctrine_Locator_Injectable implements Ar
$this->set($offset, $value);
}
}
/**
* unset a given offset
* @see set, offsetSet, __set
......
......@@ -268,6 +268,7 @@ class Doctrine_Adapter_Db2 extends Doctrine_Adapter
$identQuote = $info->IDENTIFIER_QUOTE_CHAR;
return $identQuote;
}
/**
* Begin a transaction.
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Interface
* This adapter interface should be implemented by all custom adapters
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Mock
* This class is used for special testing purposes.
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Mysqli
* This class is used for special testing purposes.
......
......@@ -181,6 +181,7 @@ class Doctrine_Adapter_Oracle extends Doctrine_Adapter
// Oracle doesn't allow the 'AS' keyword between the table identifier/expression and alias.
return $this->_quoteIdentifierAs($ident, $alias, ' ');
}
/**
* Leave autocommit mode and begin a transaction.
*
......@@ -190,6 +191,7 @@ class Doctrine_Adapter_Oracle extends Doctrine_Adapter
{
$this->_setExecuteMode(OCI_DEFAULT);
}
/**
* Commit a transaction and return to autocommit mode.
*
......@@ -203,6 +205,7 @@ class Doctrine_Adapter_Oracle extends Doctrine_Adapter
}
$this->_setExecuteMode(OCI_COMMIT_ON_SUCCESS);
}
/**
* Roll back a transaction and return to autocommit mode.
*
......@@ -240,6 +243,7 @@ class Doctrine_Adapter_Oracle extends Doctrine_Adapter
break;
}
}
/**
* @param integer $mode
* @throws Doctrine_Adapter_Exception
......@@ -257,6 +261,7 @@ class Doctrine_Adapter_Oracle extends Doctrine_Adapter
break;
}
}
/**
* @return
*/
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Statement
*
......@@ -34,6 +35,7 @@ abstract class Doctrine_Adapter_Statement
public function bindValue($no, $value)
{
}
/**
* fetch
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Statement
*
......@@ -43,6 +44,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure
*/
public function bindColumn($column, $param, $type = null);
/**
* bindValue
* Binds a value to a corresponding named or question mark
......@@ -58,6 +60,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function bindValue($param, $value, $type = null);
/**
* bindParam
* Binds a PHP variable to a corresponding named or question mark placeholder in the
......@@ -86,6 +89,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function bindParam($column, &$variable, $type = null, $length = null, $driverOptions = array());
/**
* closeCursor
* Closes the cursor, enabling the statement to be executed again.
......@@ -93,6 +97,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function closeCursor();
/**
* columnCount
* Returns the number of columns in the result set
......@@ -102,6 +107,7 @@ interface Doctrine_Adapter_Statement_Interface
* this method should return 0.
*/
public function columnCount();
/**
* errorCode
* Fetch the SQLSTATE associated with the last operation on the statement handle
......@@ -110,6 +116,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return string error code string
*/
public function errorCode();
/**
* errorInfo
* Fetch extended error information associated with the last operation on the statement handle
......@@ -118,6 +125,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return array error info array
*/
public function errorInfo();
/**
* execute
* Executes a prepared statement
......@@ -134,6 +142,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function execute($params = null);
/**
* fetch
*
......@@ -164,6 +173,7 @@ interface Doctrine_Adapter_Statement_Interface
public function fetch($fetchStyle = Doctrine::FETCH_BOTH,
$cursorOrientation = Doctrine::FETCH_ORI_NEXT,
$cursorOffset = null);
/**
* fetchAll
* Returns an array containing all of the result set rows
......@@ -178,6 +188,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return array
*/
public function fetchAll($fetchStyle = Doctrine::FETCH_BOTH);
/**
* fetchColumn
* Returns a single column from the next row of a
......@@ -190,6 +201,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return string returns a single column in the next row of a result set.
*/
public function fetchColumn($columnIndex = 0);
/**
* fetchObject
* Fetches the next row and returns it as an object.
......@@ -204,6 +216,7 @@ interface Doctrine_Adapter_Statement_Interface
* to the column names or FALSE in case of an error.
*/
public function fetchObject($className = 'stdClass', $args = array());
/**
* getAttribute
* Retrieve a statement attribute
......@@ -213,6 +226,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return mixed the attribute value
*/
public function getAttribute($attribute);
/**
* getColumnMeta
* Returns metadata for a column in a result set
......@@ -230,6 +244,7 @@ interface Doctrine_Adapter_Statement_Interface
* pdo_type The type of this column as represented by the PDO::PARAM_* constants.
*/
public function getColumnMeta($column);
/**
* nextRowset
* Advances to the next rowset in a multi-rowset statement handle
......@@ -242,6 +257,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function nextRowset();
/**
* rowCount
* rowCount() returns the number of rows affected by the last DELETE, INSERT, or UPDATE statement
......@@ -255,6 +271,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return integer Returns the number of rows.
*/
public function rowCount();
/**
* setAttribute
* Set a statement attribute
......@@ -264,6 +281,7 @@ interface Doctrine_Adapter_Statement_Interface
* @return boolean Returns TRUE on success or FALSE on failure.
*/
public function setAttribute($attribute, $value);
/**
* setFetchMode
* Set the default fetch mode for this statement
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Adapter_Statement_Mock
* This class is used for special testing purposes.
......@@ -40,6 +41,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
$this->mock = $mock;
}
/**
* bindColumn
* Bind a column to a PHP variable
......@@ -55,6 +57,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
}
/**
* bindValue
* Binds a value to a corresponding named or question mark
......@@ -73,6 +76,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
}
/**
* bindParam
* Binds a PHP variable to a corresponding named or question mark placeholder in the
......@@ -104,6 +108,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
}
/**
* closeCursor
* Closes the cursor, enabling the statement to be executed again.
......@@ -114,6 +119,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return true;
}
/**
* columnCount
* Returns the number of columns in the result set
......@@ -126,6 +132,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return 0;
}
/**
* errorCode
* Fetch the SQLSTATE associated with the last operation on the statement handle
......@@ -137,6 +144,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return array();
}
/**
* errorInfo
* Fetch extended error information associated with the last operation on the statement handle
......@@ -148,6 +156,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return array();
}
/**
* fetch
*
......@@ -181,6 +190,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return array();
}
/**
* fetchAll
* Returns an array containing all of the result set rows
......@@ -198,6 +208,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return array();
}
/**
* execute
* Executes a prepared statement
......@@ -220,6 +231,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
}
return true;
}
/**
* fetchColumn
* Returns a single column from the next row of a
......@@ -235,6 +247,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return 0;
}
/**
* fetchObject
* Fetches the next row and returns it as an object.
......@@ -252,6 +265,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return new $className();
}
/**
* nextRowset
* Advances to the next rowset in a multi-rowset statement handle
......@@ -267,6 +281,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return true;
}
/**
* rowCount
* rowCount() returns the number of rows affected by the last DELETE, INSERT, or UPDATE statement
......@@ -283,6 +298,7 @@ class Doctrine_Adapter_Statement_Mock implements Doctrine_Adapter_Statement_Inte
{
return 0;
}
/**
* getColumnMeta
* Returns metadata for a column in a result set
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_AuditLog
*
......
......@@ -42,22 +42,27 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
'cleanPropability' => 0.01,
'statsFile' => '../data/stats.cache',
);
/**
* @var array $_queries query stack
*/
protected $_queries = array();
/**
* @var Doctrine_Cache_Interface $_driver the cache driver object
*/
protected $_driver;
/**
* @var array $data current cache data array
*/
protected $_data = array();
/**
* @var boolean $success the success of last operation
*/
protected $_success = false;
/**
* constructor
*
......@@ -83,6 +88,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
$this->_driver = new $class($options);
}
}
/**
* getDriver
* returns the current cache driver
......@@ -93,6 +99,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return $this->_driver;
}
/**
* setOption
*
......@@ -113,6 +120,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
}
return false;
}
/**
* getOption
*
......@@ -127,6 +135,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
return $this->_options[$option];
}
/**
* add
* adds a query to internal query stack
......@@ -143,6 +152,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
$this->_queries[] = $query;
}
}
/**
* getQueries
*
......@@ -161,6 +171,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
return $this->_queries;
}
/**
* pop
*
......@@ -171,6 +182,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return array_pop($this->_queries);
}
/**
* reset
*
......@@ -181,6 +193,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
$this->_queries = array();
}
/**
* count
*
......@@ -190,6 +203,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return count($this->_queries);
}
/**
* getIterator
*
......@@ -199,6 +213,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return new ArrayIterator($this->_queries);
}
/**
* @return boolean whether or not the last cache operation was successful
*/
......@@ -206,6 +221,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return $this->_success;
}
/**
* save
*
......@@ -241,6 +257,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
}
}
}
/**
* readStats
*
......@@ -257,6 +274,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
}
return array();
}
/**
* appendStats
*
......@@ -278,6 +296,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
}
}
}
/**
* preQuery
* listens on the Doctrine_Event preQuery event
......@@ -322,6 +341,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
}
return false;
}
/**
* preFetch
* listens the preFetch event of Doctrine_Connection_Statement
......@@ -337,6 +357,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
next($this->_data);
return $ret;
}
/**
* preFetch
* listens the preFetchAll event of Doctrine_Connection_Statement
......@@ -349,6 +370,7 @@ class Doctrine_Cache extends Doctrine_EventListener implements Countable, Iterat
{
return $this->_data;
}
/**
* preExecute
* listens the preExecute event of Doctrine_Connection_Statement
......
......@@ -44,6 +44,7 @@ class Doctrine_Cache_Apc extends Doctrine_Cache_Driver
}
parent::__construct($options);
}
/**
* Test if a cache is available for the given id and (if yes) return it (false else)
*
......@@ -61,6 +62,7 @@ class Doctrine_Cache_Apc extends Doctrine_Cache_Driver
}
return false;
}
/**
* Test if a cache is available or not (for the given id)
*
......@@ -75,6 +77,7 @@ class Doctrine_Cache_Apc extends Doctrine_Cache_Driver
}
return false;
}
/**
* Save some string datas into a cache record
*
......@@ -91,6 +94,7 @@ class Doctrine_Cache_Apc extends Doctrine_Cache_Driver
return (bool) apc_store($id, array($data, time()), $lifeTime);
}
/**
* Remove a cache record
*
......
......@@ -53,6 +53,7 @@ class Doctrine_Cache_Array implements Countable, Doctrine_Cache_Interface
}
return false;
}
/**
* Test if a cache is available or not (for the given id)
*
......@@ -63,6 +64,7 @@ class Doctrine_Cache_Array implements Countable, Doctrine_Cache_Interface
{
return isset($this->data[$id]);
}
/**
* Save some string datas into a cache record
*
......@@ -77,6 +79,7 @@ class Doctrine_Cache_Array implements Countable, Doctrine_Cache_Interface
{
$this->data[$id] = $data;
}
/**
* Remove a cache record
*
......@@ -87,6 +90,7 @@ class Doctrine_Cache_Array implements Countable, Doctrine_Cache_Interface
{
unset($this->data[$id]);
}
/**
* Remove all cache record
*
......@@ -96,6 +100,7 @@ class Doctrine_Cache_Array implements Countable, Doctrine_Cache_Interface
{
$this->data = array();
}
/**
* count
*
......
......@@ -54,6 +54,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
$this->_options = $options;
}
/**
* getConnection
* returns the connection object associated with this cache driver
......@@ -64,6 +65,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
{
return $this->_options['connection'];
}
/**
* Test if a cache is available for the given id and (if yes) return it (false else)
*
......@@ -90,6 +92,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return unserialize($result[0]['data']);
}
/**
* Test if a cache is available or not (for the given id)
*
......@@ -103,6 +106,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return $this->getConnection()->fetchOne($sql, array($id));
}
/**
* Save some string datas into a cache record
*
......@@ -128,6 +132,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return (bool) $this->getConnection()->exec($sql, $params);
}
/**
* Remove a cache record
*
......@@ -140,7 +145,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return (bool) $this->getConnection()->exec($sql, array($id));
}
/**
* Removes all cache records
*
......@@ -152,7 +157,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return (bool) $this->getConnection()->exec($sql);
}
/**
* count
* returns the number of cached elements
......@@ -165,7 +170,7 @@ class Doctrine_Cache_Db extends Doctrine_Cache_Driver implements Countable
return (int) $this->getConnection()->fetchOne($sql);
}
/**
* Creates the cache table.
*/
......
......@@ -36,7 +36,7 @@ abstract class Doctrine_Cache_Driver implements Doctrine_Cache_Interface
* @var array $_options an array of options
*/
protected $_options = array();
/**
* constructor
*
......@@ -46,6 +46,7 @@ abstract class Doctrine_Cache_Driver implements Doctrine_Cache_Interface
{
$this->_options = $options;
}
/**
* setOption
*
......@@ -61,6 +62,7 @@ abstract class Doctrine_Cache_Driver implements Doctrine_Cache_Interface
}
return false;
}
/**
* getOption
*
......
......@@ -36,6 +36,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
* @var Memcache $_memcache memcache object
*/
protected $_memcache = null;
/**
* constructor
*
......@@ -69,6 +70,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
$this->_memcache->addServer($server['host'], $server['port'], $server['persistent']);
}
}
/**
* Test if a cache is available for the given id and (if yes) return it (false else)
*
......@@ -88,6 +90,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
return false;
}
/**
* Test if a cache is available or not (for the given id)
*
......@@ -98,6 +101,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
{
return (bool) $this->_memcache->get($id);
}
/**
* Save some string datas into a cache record
*
......@@ -118,6 +122,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
$result = $this->_memcache->set($id, $data, $flag, $lifeTime);
}
/**
* Remove a cache record
*
......
......@@ -38,7 +38,7 @@ class Doctrine_Cli
$scriptName = null,
$message = null,
$config = array();
/**
* __construct
*
......@@ -52,7 +52,7 @@ class Doctrine_Cli
$this->loadTasks();
}
/**
* notify
*
......@@ -63,7 +63,7 @@ class Doctrine_Cli
{
echo $this->formatter->format($this->taskInstance->getTaskName(), 'INFO') . ' - ' . $this->formatter->format($notification, $style) . "\n";
}
/**
* notifyException
*
......@@ -109,7 +109,7 @@ class Doctrine_Cli
$arg1 = isset($args[1]) ? $args[1]:null;
if (!$arg1 || $arg1 == 'help') {
if ( ! $arg1 || $arg1 == 'help') {
echo $this->printTasks(null, $arg1 == 'help' ? true:false);
return;
}
......@@ -121,7 +121,7 @@ class Doctrine_Cli
$taskClass = $this->_getTaskClassFromArgs($args);
if (!class_exists($taskClass)) {
if ( ! class_exists($taskClass)) {
throw new Doctrine_Cli_Exception('Cli task could not be found: ' . $taskClass);
}
......@@ -183,7 +183,7 @@ class Doctrine_Cli
// Now lets fill in the entered arguments to the prepared array
$copy = $args;
foreach ($prepared as $key => $value) {
if (!$value && !empty($copy)) {
if ( ! $value && !empty($copy)) {
$prepared[$key] = $copy[0];
unset($copy[0]);
$copy = array_values($copy);
......@@ -229,7 +229,7 @@ class Doctrine_Cli
$requiredArguments = $taskInstance->getRequiredArgumentsDescriptions();
if (!empty($requiredArguments)) {
if ( ! empty($requiredArguments)) {
foreach ($requiredArguments as $name => $description) {
$args .= $this->formatter->format($name, "ERROR");
......@@ -245,7 +245,7 @@ class Doctrine_Cli
$optionalArguments = $taskInstance->getOptionalArgumentsDescriptions();
if (!empty($optionalArguments)) {
if ( ! empty($optionalArguments)) {
foreach ($optionalArguments as $name => $description) {
$args .= $name . ' - ' . $description."\n";
}
......@@ -259,7 +259,7 @@ class Doctrine_Cli
echo "\n";
}
}
/**
* loadTasks
*
......@@ -286,7 +286,7 @@ class Doctrine_Cli
$className = 'Doctrine_Task_' . $e[0];
if (!class_exists($className)) {
if ( ! class_exists($className)) {
require_once($file->getPathName());
$class = new ReflectionClass($className);
......
......@@ -69,17 +69,17 @@ class Doctrine_Cli_AnsiColorFormatter extends Doctrine_Cli_Formatter
*/
public function format($text = '', $parameters = array(), $stream = STDOUT)
{
if (!$this->supportsColors($stream))
if ( ! $this->supportsColors($stream))
{
return $text;
}
if (!is_array($parameters) && 'NONE' == $parameters)
if ( ! is_array($parameters) && 'NONE' == $parameters)
{
return $text;
}
if (!is_array($parameters) && isset($this->styles[$parameters]))
if ( ! is_array($parameters) && isset($this->styles[$parameters]))
{
$parameters = $this->styles[$parameters];
}
......@@ -128,7 +128,7 @@ class Doctrine_Cli_AnsiColorFormatter extends Doctrine_Cli_Formatter
*/
public function excerpt($text, $size = null)
{
if (!$size)
if ( ! $size)
{
$size = $this->size;
}
......
......@@ -81,7 +81,7 @@ class Doctrine_Cli_Formatter
*/
public function excerpt($text, $size = null)
{
if (!$size)
if ( ! $size)
{
$size = $this->size;
}
......
......@@ -37,30 +37,37 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
* @var array $data an array containing the records of this collection
*/
protected $data = array();
/**
* @var Doctrine_Table $table each collection has only records of specified table
*/
protected $_table;
/**
* @var array $_snapshot a snapshot of the fetched data
*/
protected $_snapshot = array();
/**
* @var Doctrine_Record $reference collection can belong to a record
*/
protected $reference;
/**
* @var string $referenceField the reference field of the collection
*/
protected $referenceField;
/**
* @var Doctrine_Relation the record this collection is related to, if any
*/
protected $relation;
/**
* @var string $keyColumn the name of the column that is used for collection key mapping
*/
protected $keyColumn;
/**
* @var Doctrine_Null $null used for extremely fast null value testing
*/
......@@ -88,6 +95,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->keyColumn = $keyColumn;
}
}
/**
* initNullObject
* initializes the null object for this collection
......@@ -98,6 +106,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
self::$null = $null;
}
/**
* getTable
* returns the table this collection belongs to
......@@ -108,6 +117,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return $this->_table;
}
/**
* setData
*
......@@ -118,6 +128,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
$this->data = $data;
}
/**
* this method is automatically called when this Doctrine_Collection is serialized
*
......@@ -138,6 +149,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return serialize($vars);
}
/**
* unseralize
* this method is automatically called everytime a Doctrine_Collection object is unserialized
......@@ -165,6 +177,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->keyColumn = $keyColumn;
}
}
/**
* setKeyColumn
* sets the key column for this collection
......@@ -178,6 +191,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
/**
* getKeyColumn
* returns the name of the key column
......@@ -188,6 +202,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return $this->column;
}
/**
* getData
* returns all the records as an array
......@@ -198,6 +213,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return $this->data;
}
/**
* getFirst
* returns the first record in the collection
......@@ -208,6 +224,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return reset($this->data);
}
/**
* getLast
* returns the last record in the collection
......@@ -218,6 +235,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return end($this->data);
}
/**
* setReference
* sets a reference pointer
......@@ -247,6 +265,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
}
}
/**
* getReference
*
......@@ -256,6 +275,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return $this->reference;
}
/**
* remove
* removes a specified collection element
......@@ -270,6 +290,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
unset($this->data[$key]);
return $removed;
}
/**
* contains
* whether or not this collection contains a specified element
......@@ -285,6 +306,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return array_search($record, $this->data, true);
}
/**
* get
* returns a record for given key
......@@ -350,6 +372,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
}
return $list;
}
/**
* returns all keys
* @return array
......@@ -358,6 +381,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return array_keys($this->data);
}
/**
* count
* this class implements interface countable
......@@ -369,6 +393,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return count($this->data);
}
/**
* set
* @param integer $key
......@@ -383,6 +408,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->data[$key] = $record;
}
/**
* adds a record to collection
* @param Doctrine_Record $record record to be added
......@@ -430,6 +456,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
}
return true;
}
/**
* loadRelated
*
......@@ -475,6 +502,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$this->populateRelated($name, $coll);
}
/**
* populateRelated
*
......@@ -533,6 +561,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
}
}
}
/**
* getNormalIterator
* returns normal iterator - an iterator that will not expand this collection
......@@ -543,6 +572,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return new Doctrine_Collection_Iterator_Normal($this);
}
/**
* takeSnapshot
* takes a snapshot from this collection
......@@ -562,6 +592,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
/**
* getSnapshot
* returns the data of the last snapshot
......@@ -572,6 +603,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return $this->_snapshot;
}
/**
* processDiff
* processes the difference of the last snapshot and the current data
......@@ -592,6 +624,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
/**
* toArray
* Mimics the result of a $query->execute(array(), Doctrine::FETCH_ARRAY);
......@@ -646,6 +679,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
return array_udiff($this->data, $this->_snapshot, array($this, "compareRecords"));
}
/**
* compareRecords
* Compares two records. To be used on _snapshot diffs using array_udiff
......@@ -655,6 +689,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
if ($a->getOid() == $b->getOid()) return 0;
return ($a->getOid() > $b->getOid()) ? 1 : -1;
}
/**
* save
* saves all records of this collection and processes the
......@@ -682,6 +717,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
/**
* delete
* single shot delete
......@@ -709,6 +745,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
/**
* getIterator
* @return object ArrayIterator
......@@ -718,6 +755,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
$data = $this->data;
return new ArrayIterator($data);
}
/**
* returns a string representation of this object
*/
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Collection_Exception
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Collection_Iterator
* iterates through Doctrine_Collection
......@@ -36,18 +37,22 @@ abstract class Doctrine_Collection_Iterator implements Iterator
* @var Doctrine_Collection $collection
*/
protected $collection;
/**
* @var array $keys
*/
protected $keys;
/**
* @var mixed $key
*/
protected $key;
/**
* @var integer $index
*/
protected $index;
/**
* @var integer $count
*/
......@@ -63,6 +68,7 @@ abstract class Doctrine_Collection_Iterator implements Iterator
$this->keys = $this->collection->getKeys();
$this->count = $this->collection->count();
}
/**
* rewinds the iterator
*
......@@ -86,6 +92,7 @@ abstract class Doctrine_Collection_Iterator implements Iterator
{
return $this->key;
}
/**
* returns the current record
*
......@@ -95,6 +102,7 @@ abstract class Doctrine_Collection_Iterator implements Iterator
{
return $this->collection->get($this->key);
}
/**
* advances the internal pointer
*
......
......@@ -37,6 +37,7 @@ class Doctrine_Collection_Offset extends Doctrine_Collection
* @var integer $limit
*/
private $limit;
/**
* @param Doctrine_Table $table
*/
......@@ -45,6 +46,7 @@ class Doctrine_Collection_Offset extends Doctrine_Collection
parent::__construct($table);
$this->limit = $table->getAttribute(Doctrine::ATTR_COLL_LIMIT);
}
/**
* @return integer
*/
......@@ -52,6 +54,7 @@ class Doctrine_Collection_Offset extends Doctrine_Collection
{
return $this->limit;
}
/**
* @return Doctrine_Collection_Iterator_Expandable
*/
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Column
* This class represents a database column
......@@ -39,6 +40,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
'type' => null,
'length' => 0,
);
/**
* @var array $definition
*/
......@@ -46,6 +48,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
{
$this->_definition = $definition;
}
/**
* @return array
*/
......@@ -53,6 +56,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
{
return $this->_definition;
}
/**
* contains
*
......@@ -62,6 +66,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
{
return isset($this->_definition[$name]);
}
/**
* get
*
......@@ -76,6 +81,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
return $this->_definition[$name];
}
/**
* set
*
......@@ -86,6 +92,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
{
$this->_definition[$name] = $value;
}
/**
* @param string $field
* @return array
......@@ -98,6 +105,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
return array();
}
}
/**
* enumValue
*
......@@ -113,6 +121,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
return isset($this->_definition['values'][$index]) ? $this->_definition['values'][$index] : $index;
}
/**
* enumIndex
*
......@@ -126,6 +135,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
return array_search($value, $values);
}
/**
* count
*
......@@ -135,6 +145,7 @@ class Doctrine_Column extends Doctrine_Access implements IteratorAggregate, Coun
{
return count($this->_definition);
}
/**
* getIterator
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Compiler
* This class can be used for compiling the entire Doctrine framework into a single file
......@@ -42,14 +43,14 @@ class Doctrine_Compiler
*/
public static function compile($target = null, $includedDrivers = array())
{
if (!is_array($includedDrivers)) {
if ( ! is_array($includedDrivers)) {
$includedDrivers = array($includedDrivers);
}
$excludedDrivers = array();
// If we have an array of specified drivers then lets determine which drivers we should exclude
if (!empty($includedDrivers)) {
if ( ! empty($includedDrivers)) {
$drivers = array('db2',
'firebird',
'informix',
......@@ -86,7 +87,7 @@ class Doctrine_Compiler
}
// Exclude drivers
if (!empty($excludedDrivers)) {
if ( ! empty($excludedDrivers)) {
foreach ($excludedDrivers as $excludedDriver) {
$excludedDriver = ucfirst($excludedDriver);
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Compiler_Exception
*
......
......@@ -18,6 +18,7 @@
* and is licensed under the LGPL. For more information, see
* <http://www.phpdoctrine.com>.
*/
/**
* Doctrine_Configurable
* the base for Doctrine_Table, Doctrine_Manager and Doctrine_Connection
......@@ -37,16 +38,19 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
* @var array $attributes an array of containing all attributes
*/
protected $attributes = array();
/**
* @var Doctrine_Configurable $parent the parent of this component
*/
protected $parent;
/**
* @var array $_impl an array containing concrete implementations for class templates
* keys as template names and values as names of the concrete
* implementation classes
*/
protected $_impl = array();
/**
* setAttribute
* sets a given attribute
......@@ -137,6 +141,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
$this->attributes[$attribute] = $value;
}
/**
* setImpl
* binds given class to given template name
......@@ -153,6 +158,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this;
}
/**
* getImpl
* returns the implementation for given class
......@@ -169,6 +175,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
}
return $this->_impl[$template];
}
/**
* getCacheDriver
*
......@@ -182,6 +189,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this->attributes[Doctrine::ATTR_CACHE];
}
/**
* @param Doctrine_EventListener $listener
* @return void
......@@ -190,6 +198,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
{
return $this->setListener($listener);
}
/**
* addRecordListener
*
......@@ -207,6 +216,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this;
}
/**
* getListener
*
......@@ -222,6 +232,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
}
return $this->attributes[Doctrine::ATTR_RECORD_LISTENER];
}
/**
* setListener
*
......@@ -239,6 +250,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this;
}
/**
* addListener
*
......@@ -256,6 +268,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this;
}
/**
* getListener
*
......@@ -271,6 +284,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
}
return $this->attributes[Doctrine::ATTR_LISTENER];
}
/**
* setListener
*
......@@ -288,6 +302,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
return $this;
}
/**
* returns the value of an attribute
*
......@@ -310,6 +325,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
}
return $this->attributes[$attribute];
}
/**
* getAttributes
* returns all attributes as an array
......@@ -320,6 +336,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
{
return $this->attributes;
}
/**
* sets a parent for this configurable component
* the parent must be configurable component itself
......@@ -331,6 +348,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
{
$this->parent = $component;
}
/**
* getParent
* returns the parent of this component
......
This diff is collapsed.
......@@ -69,12 +69,14 @@ class Doctrine_Connection_Exception extends Doctrine_Exception
Doctrine::ERR_TRUNCATED => 'truncated',
Doctrine::ERR_DEADLOCK => 'deadlock detected',
);
/**
* @see Doctrine::ERR_* constants
* @since 1.0
* @var integer $portableCode portable error code
*/
protected $portableCode;
/**
* getPortableCode
* returns portable error code
......@@ -85,6 +87,7 @@ class Doctrine_Connection_Exception extends Doctrine_Exception
{
return $this->portableCode;
}
/**
* getPortableMessage
* returns portable error message
......@@ -95,6 +98,7 @@ class Doctrine_Connection_Exception extends Doctrine_Exception
{
return self::errorMessage($this->portableCode);
}
/**
* Return a textual error message for a Doctrine error code
*
......
This diff is collapsed.
......@@ -68,6 +68,7 @@ class Doctrine_Connection_Firebird_Exception extends Doctrine_Connection_Excepti
-923 => Doctrine::ERR_CONNECT_FAILED,
-924 => Doctrine::ERR_CONNECT_FAILED
);
/**
* @var array $errorRegexps an array that is used for determining portable
* error code from a native database error message
......@@ -96,6 +97,7 @@ class Doctrine_Connection_Firebird_Exception extends Doctrine_Connection_Excepti
'/table unknown/i'
=> Doctrine::ERR_NOSUCHTABLE,
);
/**
* This method checks if native error code/message can be
* converted into a portable code and then adds this
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment