fetchBodypart() public method

Retrieves a bodypart for the given message ID and mime part ID.
public fetchBodypart ( string $folder, array $uid, array $id ) : resource | string
$folder string The folder to fetch the messages from.
$uid array The message UID.
$id array The mime part ID.
return resource | string The body part, as a stream resource or string.
示例#1
0
文件: Base.php 项目: jubinpatel/horde
 /**
  * Retrieves a bodypart for the given message ID and mime part ID.
  *
  * @param string $folder The folder to fetch the messages from.
  * @param array  $uid    The message UID.
  * @param array  $id     The mime part ID.
  *
  * @return resource  The body part, as a stream resource.
  */
 public function fetchBodypart($folder, $uid, $id)
 {
     return $this->_driver->fetchBodypart($folder, $uid, $id);
 }
示例#2
0
文件: Base.php 项目: platolin/horde
 /**
  * Retrieves the body part for the given UID and mime part ID.
  *
  * @param string $uid The message UID.
  * @param string $id  The mime part ID.
  *
  * @return resource The message part as stream resource.
  */
 public function fetchPart($uid, $id)
 {
     return $this->_driver->fetchBodypart($this->_folder->getPath(), $uid, $id);
 }