Changeset 1907
- Timestamp:
- 10/27/08 15:01:38 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/main/php/net/stubbles/rdbms/persistence/stubPersistenceHelper.php
r1896 r1907 6 6 * @package stubbles 7 7 * @subpackage rdbms_persistence 8 * @version $Id$ 8 9 */ 9 10 stubClassLoader::load('net::stubbles::rdbms::persistence::stubPersistenceException', … … 68 69 if ($method->isStatic() === true || $method->isPublic() === false 69 70 || in_array($method->getName(), $this->forbiddenMethods) === true 70 || $method->hasAnnotation('Transient') === true) { 71 || $method->hasAnnotation('Transient') === true 72 || $method->getNumberOfParameters() > 0) { 71 73 return null; 72 74 } framework/trunk/src/test/php/net/stubbles/rdbms/persistence/MockSinglePrimaryKeyEntity.php
r1896 r1907 5 5 * @package stubbles 6 6 * @subpackage rdbms_persistence_test 7 * @version $Id$ 7 8 */ 8 9 stubClassLoader::load('net::stubbles::lang::types::stubDate'); … … 129 130 return $this->date; 130 131 } 132 133 /** 134 * a typical get-method, but with a param > should be ignored 135 * 136 * @param mixed $param 137 * @return stdClass 138 */ 139 public function getSomethingWithParam($param) 140 { 141 return new stdClass(); 142 } 131 143 } 132 144 ?>
