-
Notifications
You must be signed in to change notification settings - Fork 0
cPeriod::ScanFrom()
Rainer Stötter edited this page Apr 28, 2017
·
14 revisions
public mixed libdatephp\cPeriod::ScanFrom(resource $fptr)
- Namespace : libdatephp
- Class name: cPeriod
- This method is defined by libdatephp\cPeriod
SanPrintOn() reads the starting and the ending date from the file pointer $fptr
Example:
use libdatephp;
$p1 = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );
$fptr = fopen( 'test.txt', 'r' );
$p1->ScanFrom( $fptr );
- $fptr resource - <p>the file handle of the input file</p>
This wiki page is part of the documentation of the PHP class library libdatephp