\seekquarry\yioopexamples

Namespaces

stockbot
weatherbot

Functions

outputQueryData()

outputQueryData(array  $data) 

Short function to pretty-print the data gotten back from a Yioop! query

Parameters

array $data

what we got back from doing a query

traverseDirectory()

traverseDirectory(string  $dir, \seekquarry\yioop\examples\function  $callback, boolean  $rootToo = true) 

Recursively traverse a directory structure and call a callback function

Parameters

string $dir

Directory name

\seekquarry\yioop\examples\function $callback

Function to call as traverse structure

boolean $rootToo

do op on top-level directory as well

unlinkRecursive()

unlinkRecursive(string  $dir, boolean  $deleteRootToo = true) 

Recursively delete a directory

Parameters

string $dir

Directory name

boolean $deleteRootToo

Delete specified top directory as well