示例#1
0
文件: Mcached.php 项目: horde/horde
 /**
  * Get the specified attribute of this object.
  *
  * @param string $attr The attribute to read.
  *
  * @return mixed The value of this attribute.
  */
 public function getExternal($attr)
 {
     if (!isset($this->_cache_ext[$attr])) {
         $this->_cache_ext[$attr] = $this->_object->getExternal($attr);
     }
     return $this->_cache_ext[$attr];
 }
示例#2
0
文件: Hash.php 项目: horde/horde
 /**
  * Get the specified attribute of this object.
  *
  * @param string $attr The attribute to read.
  *
  * @return mixed The value of this attribute.
  */
 public function getExternal($attr)
 {
     return $this->_object->getExternal($attr);
 }