note 57054 added to function.imap-fetchstructure
| From: | hans at lintoo dot dk | Date: | Thu, 22 Sep 2005 13:14:33 +0000 |
| Subject: | note 57054 added to function.imap-fetchstructure | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95604@lists.php.net to get a copy of this message | ||
A class for searching through a stucture object.
You can search matching 1-3 parameters or use the methods included.
Feel free to use it, correct it or extend it if you please. Enjoy!
http://lintoo.dk/public/structureengine.class.phps
The code was too wide for this manual, so I hope the link above will do. Here a quick overview
instead:
<?php
class StructureEngine {
private $structureObject;
public function __construct($structureInfo) {}
public function locatePlain() {}
public function locateHTML() {}
public function locateAttachments() {}
private function checkParam($part, $type, $value) {}
private function findParts($partsArray, $prefix, $param1Type = 'type', $param1Value = 0,
$param2Type = null, ...) {}
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.imap-fetchstructure.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57054
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57054&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57054&report=yes
Search -- http://master.php.net/manage/user-notes.php