Changeset 766
- Timestamp:
- 07/12/07 01:41:39 (1 year ago)
- Files:
-
- trunk/src/main/php/net/stubbles/stubBaseObject.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/stubException.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/stubObject.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/stubSerializedObject.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/stubBaseObject.php
r706 r766 53 53 54 54 /** 55 * returns the name of the package where the class is inside 56 * 57 * @return string 58 * @XMLIgnore 59 */ 60 public function getPackageName() 61 { 62 return stubClassLoader::getPackageName($this->getClassName()); 63 } 64 65 /** 55 66 * returns a unique hash code for the class 56 67 * trunk/src/main/php/net/stubbles/stubException.php
r698 r766 43 43 * 44 44 * @return string 45 * @XMLIgnore 45 46 */ 46 47 public function getClassName() 47 48 { 48 49 return stubClassLoader::getFullQualifiedClassName(get_class($this)); 50 } 51 52 /** 53 * returns the name of the package where the class is inside 54 * 55 * @return string 56 * @XMLIgnore 57 */ 58 public function getPackageName() 59 { 60 return stubClassLoader::getPackageName($this->getClassName()); 49 61 } 50 62 trunk/src/main/php/net/stubbles/stubObject.php
r698 r766 37 37 38 38 /** 39 * returns the name of the package where the class is inside 40 * 41 * @return string 42 */ 43 public function getPackageName(); 44 45 /** 39 46 * returns a unique hash code for the class 40 47 * trunk/src/main/php/net/stubbles/stubSerializedObject.php
r698 r766 125 125 126 126 /** 127 * returns the full qualified class name128 *129 * @return string130 */131 public function getClassName()132 {133 return stubClassLoader::getFullQualifiedClassName(__CLASS__);134 }135 136 /**137 127 * returns package informations 138 128 * … … 145 135 $refPackage = new stubReflectionPackage(stubClassLoader::getPackageName($this->getClassName())); 146 136 return $refPackage; 137 } 138 139 /** 140 * returns the full qualified class name 141 * 142 * @return string 143 * @XMLIgnore 144 */ 145 public function getClassName() 146 { 147 return stubClassLoader::getFullQualifiedClassName(__CLASS__); 148 } 149 150 /** 151 * returns the name of the package where the class is inside 152 * 153 * @return string 154 * @XMLIgnore 155 */ 156 public function getPackageName() 157 { 158 return stubClassLoader::getPackageName($this->getClassName()); 147 159 } 148 160
