DataObjects/Images.php
authorEdward <edward@roojs.com>
Mon, 22 Sep 2014 09:55:55 +0000 (17:55 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Sep 2014 09:55:55 +0000 (17:55 +0800)
DataObjects/Images.php

index 7687cfe..3a6d3ce 100644 (file)
@@ -107,6 +107,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
      */
     function createFrom($file, $filename=false)
     {
+        print_r('createfrom');exit;
         // copy the file into the storage area..
         if (!file_exists($file) || !filesize($file)) {
             return false;
@@ -233,6 +234,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
     
     function onUploadWithTbl($tbl,  $fld)
     {
+        print_r('onUploadWithTbl');
         if ( $tbl->__table == 'Images') {
             return; // not upload to self...
         }