Author: Frederik Holljen
Date: 2006-01-18 12:06:23 +0100 (Wed, 18 Jan 2006)
New Revision: 1957

Log:
- fixed issue with doc
- added default value to ezcPersistentGeneratorDefinition::__construct as you 
don't need to specify optional parameters.

Modified:
   packages/PersistentObject/trunk/src/persistent_session.php
   packages/PersistentObject/trunk/src/structs/generator_definition.php

Modified: packages/PersistentObject/trunk/src/persistent_session.php
===================================================================
--- packages/PersistentObject/trunk/src/persistent_session.php  2006-01-18 
10:26:15 UTC (rev 1956)
+++ packages/PersistentObject/trunk/src/persistent_session.php  2006-01-18 
11:06:23 UTC (rev 1957)
@@ -89,7 +89,7 @@
  * $def->idProperty->propertyName = 'id';
  *
  * $def->idProperty->generator = new ezcPersistentGeneratorDefinition( 
'ezcPersistentSequenceGenerator',
- *                                                                   array( 
/*'sequence' => 'person_sequence'* / ) );
+ *                                                                   array( / 
*'sequence' => 'person_sequence'* / ) );
  *
  * $def->properties['name'] = new ezcPersistentObjectProperty;
  * $def->properties['name']->columnName = 'full_name';

Modified: packages/PersistentObject/trunk/src/structs/generator_definition.php
===================================================================
--- packages/PersistentObject/trunk/src/structs/generator_definition.php        
2006-01-18 10:26:15 UTC (rev 1956)
+++ packages/PersistentObject/trunk/src/structs/generator_definition.php        
2006-01-18 11:06:23 UTC (rev 1957)
@@ -34,7 +34,7 @@
     /**
      * Constructs a new PersistentGeneratorDefinition
      */
-    public function __construct( $class, array $params )
+    public function __construct( $class, array $params = array() )
     {
         $this->class = $class;
         $this->params = $params;

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to