Ignore:
Timestamp:
Feb 21, 2009, 4:06:54 PM (16 years ago)
Author:
george
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/stream.php

    r117 r118  
    6767  {
    6868    return(fread($this->Handle, 1));
     69  }
     70
     71  public function ReadLine()
     72  {
     73    return(fgets($this->Handle));
    6974  }   
    7075   
     
    99104        fwrite($this->Handle, "\0", 1);
    100105  }
     106
     107  public function WriteLine()
     108  {
     109    fputs($this->Handle);
     110  }       
    101111   
    102112  public function Seek($Position, $Type = SEEK_SET)
     
    114124        return(filesize($this->FileName));
    115125  }
     126
     127  public function EOF()
     128  {
     129         return(feof($this->Handle));
     130  }
    116131}
    117132
Note: See TracChangeset for help on using the changeset viewer.