function beforeInsert($q, $roo)
{
- print_r('beforeInsert');exit;
-
if (isset($q['_remote_upload'])) {
require_once 'System.php';
*/
function createFrom($file, $filename=false)
{
- print_r('createFrom');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
$this->err = "File $file did not exist or is 0 size";
/// ctrl not used??
function onUpload($roo)
{
- print_r('onUpload');exit;
//print_r($_FILES); echo $_FILES['imageUpload']['type'];exit;
if (empty($_FILES['imageUpload']['tmp_name']) ||
empty($_FILES['imageUpload']['name']) ||
$roo->loadMap($r);
$r->limit(1);
$r->find(true);
+ print_r('rn?');exit;
$roo->jok($r->toArray());
}