Skip to content

cDate::PrintOn()

Rainer Stötter edited this page Apr 28, 2017 · 15 revisions

Method PrintOn( )

 public   mixed libdatephp\cDate::PrintOn(resource $fptr)

PrintOn( ) prints the managed date to a file handle - serializing

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

$fh = fopen( 'tst.txt', 'w+' );

$dt->PrintOn( $fh );

Arguments

  • $fptr resource - <p>the file handle of the file to write to</p>

See also

Clone this wiki locally