diff --git a/lib/Doctrine/Locking/Manager/Pessimistic.php b/lib/Doctrine/Locking/Manager/Pessimistic.php index 25544336c..30dc191ea 100644 --- a/lib/Doctrine/Locking/Manager/Pessimistic.php +++ b/lib/Doctrine/Locking/Manager/Pessimistic.php @@ -19,19 +19,19 @@ * . */ /** - * @link www.phpdoctrine.com * Offline locking of records comes in handy where you need to make sure that * a time-consuming task on a record or many records, which is spread over several * page requests can't be interfered by other users. - * - * @author Roman Borschel - * @author Pierre Minnieur + * + * @link www.phpdoctrine.com + * @author Roman Borschel + * @author Pierre Minnieur + * @author Konsta Vesterinen * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @since 1.0 * @package Doctrine * @category Object Relational Mapping - * @version $Revision$ - * @author Konsta Vesterinen + * @version $Revision$ */ class Doctrine_Locking_Manager_Pessimistic { /** diff --git a/lib/Doctrine/Validator/Country.php b/lib/Doctrine/Validator/Country.php index 45f34a091..d55e54eb7 100644 --- a/lib/Doctrine/Validator/Country.php +++ b/lib/Doctrine/Validator/Country.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Country + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Country { private static $countries = array( "ad" => "Andorra", diff --git a/lib/Doctrine/Validator/Creditcard.php b/lib/Doctrine/Validator/Creditcard.php index 83e94cb2f..e46e5e13c 100644 --- a/lib/Doctrine/Validator/Creditcard.php +++ b/lib/Doctrine/Validator/Creditcard.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Creditcard + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Creditcard { /** diff --git a/lib/Doctrine/Validator/Date.php b/lib/Doctrine/Validator/Date.php index cf716b1b6..1fe43b140 100644 --- a/lib/Doctrine/Validator/Date.php +++ b/lib/Doctrine/Validator/Date.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Date + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Date { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Email.php b/lib/Doctrine/Validator/Email.php index 03993d9b0..6c3e5c0a5 100644 --- a/lib/Doctrine/Validator/Email.php +++ b/lib/Doctrine/Validator/Email.php @@ -1,5 +1,35 @@ . + */ +/** + * Doctrine_Validator_Email + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Email { /** diff --git a/lib/Doctrine/Validator/Enum.php b/lib/Doctrine/Validator/Enum.php index a2f77c343..909f2d66d 100644 --- a/lib/Doctrine/Validator/Enum.php +++ b/lib/Doctrine/Validator/Enum.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Enum + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Enum { /** * @param Doctrine_Record $record @@ -8,7 +39,7 @@ class Doctrine_Validator_Enum { * @return boolean */ public function validate(Doctrine_Record $record, $key, $value, $args) { - $max = substr_count($args, "-"); + $max = substr_count($args, '-'); $int = (int) $value; if($int != $value) diff --git a/lib/Doctrine/Validator/ErrorStack.php b/lib/Doctrine/Validator/ErrorStack.php index 13aca579b..db69cb60a 100644 --- a/lib/Doctrine/Validator/ErrorStack.php +++ b/lib/Doctrine/Validator/ErrorStack.php @@ -22,7 +22,7 @@ * Doctrine_Validator_ErrorStack * * @author Konsta Vesterinen - * @author Roman Borschel + * @author Roman Borschel * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @package Doctrine * @category Object Relational Mapping diff --git a/lib/Doctrine/Validator/Htmlcolor.php b/lib/Doctrine/Validator/Htmlcolor.php index 828f99993..acd4969a4 100644 --- a/lib/Doctrine/Validator/Htmlcolor.php +++ b/lib/Doctrine/Validator/Htmlcolor.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_HtmlColor + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_HtmlColor { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Ip.php b/lib/Doctrine/Validator/Ip.php index 73115f3a1..46b5f7f30 100644 --- a/lib/Doctrine/Validator/Ip.php +++ b/lib/Doctrine/Validator/Ip.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Ip + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Ip { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Nospace.php b/lib/Doctrine/Validator/Nospace.php index 2a9bc9765..1980a8ab4 100644 --- a/lib/Doctrine/Validator/Nospace.php +++ b/lib/Doctrine/Validator/Nospace.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Nospace + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Nospace { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Notblank.php b/lib/Doctrine/Validator/Notblank.php index f415cdf2f..d9cddf8c6 100644 --- a/lib/Doctrine/Validator/Notblank.php +++ b/lib/Doctrine/Validator/Notblank.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Notblank + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Notblank { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Notnull.php b/lib/Doctrine/Validator/Notnull.php index 2cf41cfcd..2c31e3284 100644 --- a/lib/Doctrine/Validator/Notnull.php +++ b/lib/Doctrine/Validator/Notnull.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Notnull + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Notnull { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Range.php b/lib/Doctrine/Validator/Range.php index fd1fb6446..9885f98e1 100644 --- a/lib/Doctrine/Validator/Range.php +++ b/lib/Doctrine/Validator/Range.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Range + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Range { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Regexp.php b/lib/Doctrine/Validator/Regexp.php index 36be5942e..fff4d86d5 100644 --- a/lib/Doctrine/Validator/Regexp.php +++ b/lib/Doctrine/Validator/Regexp.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Regexp + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Regexp { /** * @param Doctrine_Record $record diff --git a/lib/Doctrine/Validator/Usstate.php b/lib/Doctrine/Validator/Usstate.php index 3fbbe3582..fd417c7e2 100644 --- a/lib/Doctrine/Validator/Usstate.php +++ b/lib/Doctrine/Validator/Usstate.php @@ -1,4 +1,35 @@ . + */ + +/** + * Doctrine_Validator_Usstate + * + * @package Doctrine + * @category Object Relational Mapping + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ class Doctrine_Validator_Usstate { private static $states = array ( "AK" => true,