• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Mail/Message/File.php

00001 <?php
00026 require_once 'Zend/Mail/Part/File.php';
00027 
00031 require_once 'Zend/Mail/Message/Interface.php';
00032 
00039 class Zend_Mail_Message_File extends Zend_Mail_Part_File implements Zend_Mail_Message_Interface
00040 {
00045     protected $_flags = array();
00046 
00056     public function __construct(array $params)
00057     {
00058         if (!empty($params['flags'])) {
00059             // set key and value to the same value for easy lookup
00060             $this->_flags = array_combine($params['flags'], $params['flags']);
00061         }
00062 
00063         parent::__construct($params);
00064     }
00065 
00071     public function getTopLines()
00072     {
00073         return $this->_topLines;
00074     }
00075 
00082     public function hasFlag($flag)
00083     {
00084         return isset($this->_flags[$flag]);
00085     }
00086 
00092     public function getFlags()
00093     {
00094         return $this->_flags;
00095     }
00096 }

Generated on Thu Apr 19 2012 17:01:15 for openbiz by  doxygen 1.7.2