Author: Michael Slusarz (slusarz@horde.org)
Inheritance: implements ArrayAccess, implements Horde_Shutdown_Task
コード例 #1
0
ファイル: Expanded.php プロジェクト: DSNS-LAB/Dmail
 /**
  */
 public function offsetGet($offset)
 {
     switch ($this->_expanded) {
         case self::NO:
             return false;
         case self::YES:
             return true;
         case self::LAST:
             return parent::offsetGet($offset);
     }
 }
コード例 #2
0
ファイル: Poll.php プロジェクト: DSNS-LAB/Dmail
 /**
  */
 public function offsetGet($offset)
 {
     return $this->_data === true ? ($elt = $this->_ftree[$offset]) && !$elt->nonimap && !$elt->container : parent::offsetGet($offset);
 }