Author: dr Date: Mon Feb 18 13:12:56 2008 New Revision: 7400 Log: - Fixed documentation.
Modified: trunk/PersistentObject/src/managers/cache_manager.php trunk/PersistentObject/src/managers/code_manager.php Modified: trunk/PersistentObject/src/managers/cache_manager.php ============================================================================== --- trunk/PersistentObject/src/managers/cache_manager.php [iso-8859-1] (original) +++ trunk/PersistentObject/src/managers/cache_manager.php [iso-8859-1] Mon Feb 18 13:12:56 2008 @@ -9,7 +9,7 @@ */ /** - * Caches fetched definition so they don't have to be read from the original source + * Caches fetched definitions so they don't have to be read from the original source * for each use. * * The cache is typically used to wrap around another ezcPersistentDefinitionManager @@ -21,7 +21,7 @@ class ezcPersistentCacheManager extends ezcPersistentDefinitionManager { /** - * Holds the manager that fetches definitions.. + * Holds the manager that fetches definitions. * * @var ezcPersistentDefinitionManager */ @@ -30,7 +30,7 @@ /** * Holds the persistent object definitions that are currently cached. * - * @var array($className=>ezcPersistentDefinition) + * @var array($className=>ezcPersistentObjectDefinition) */ private $cache = array(); @@ -52,7 +52,7 @@ * * @throws ezcPersistentDefinitionNotFoundException if no such definition can be found. * @param string $class - * @return ezcPersistentDefinition + * @return ezcPersistentObjectDefinition */ public function fetchDefinition( $class ) { Modified: trunk/PersistentObject/src/managers/code_manager.php ============================================================================== --- trunk/PersistentObject/src/managers/code_manager.php [iso-8859-1] (original) +++ trunk/PersistentObject/src/managers/code_manager.php [iso-8859-1] Mon Feb 18 13:12:56 2008 @@ -11,10 +11,10 @@ /** * Handles persistent object definitions in plain code style. * - * Each definition must be in a separate file in the directory specified to - * the constructor. The filename must be the same as the lowercase name of the - * persistent object class with .php appended. Each file should return the definition of one persistent - * object class. + * Each definition must be in a separate file in the directory specified to the + * constructor. The filename must be the same as the lowercase name of the + * persistent object class with .php appended. Each file should return the + * definition of one persistent object class. * * Example exampleclass.php: * <code> @@ -35,14 +35,6 @@ * @var string */ private $dir; - - /** - * Holds the loaded persistent object classes as an array of the format: - * array('class_name_lower_case' => ezcPersistentObjectDefinition ) - * - * @var array(string=>ezcPersistentObjectDefinition) - */ -// private $definitions = array(); /** * Constructs a new code manager that will look for persistent object definitions in the directory $dir. -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components