Пример #1
0
 /**
 * The constructor
 *
 * @access public
 * @param string $name The name of the file (in Unicode)
 * @see OLE::Asc2Ucs()
 */
 function __construct($name)
 {
     $this->_tmp_dir = System::tmpdir();
     parent::__construct(
         null, 
         $name,
         OLE_PPS_TYPE_FILE,
         null,
         null,
         null,
         null,
         null,
         '',
         array());
 }
Пример #2
0
 /**
 * Constructor
 *
 * @access public
 * @param integer $time_1st A timestamp
 * @param integer $time_2nd A timestamp
 */
 function __construct($time_1st, $time_2nd, $raChild)
 {
     $this->_tmp_dir = System::tmpdir();
     parent::__construct(
        null, 
        OLE::Asc2Ucs('Root Entry'),
        OLE_PPS_TYPE_ROOT,
        null,
        null,
        null,
        $time_1st,
        $time_2nd,
        null,
        $raChild);
 }