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