コード例 #1
0
ファイル: abstract.php プロジェクト: nooku/nooku-framework
 /**
  * Get a handle for this object
  *
  * This function returns an unique identifier for the object. This id can be used as a hash key for storing objects
  * or for identifying an object
  *
  * @return string A string that is unique
  */
 public function getHandle()
 {
     if (!($handle = $this->getProperty($this->getIdentityKey()))) {
         $handle = parent::getHandle();
     }
     return $handle;
 }