Skip to content

cDate::ScanFrom()

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

Method ScanFrom( )

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

ScanFrom( ) reads the managed date from a file handle - serializing

Example:

use libdatephp;

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

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

$dt->ScanFrom( $fh );

Arguments

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

See also

Clone this wiki locally