load_data (ReachRSS >= 0.91) Description boolean load_data ( [ string filename ] ) Loads cached data from the file specified by the filename parameter, or from the filename specified by calling data_filename() before calling load_data(), or if neither is set, from the default filename "reachrss.dat". You do not need to call this function if you call startup(), output(), or save() - in these cases it's done automatically. Returns true on success, or false on failure (eg: the specified file does not exist or is not readable). Example 1. load_data() example $ReachRSS = new ReachRSS(); $Success = $ReachRSS->load_data("/path/to/data/filename.dat"); This example will instruct ReachRSS to load cached data from /path/to/data/filename.dat. See also data_filename(), save_data(), startup(), output(), save()
Home | Features | Samples | Demo | Download | Register | Help / Support
|