projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0c002
)
DataObjects/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:00:00 +0000
(10:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:00:00 +0000
(10:00 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
b4ea3fc
..
40e630f
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-428,6
+428,21
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
}
+
+ /**
+ * to Fileconvert object..
+ *
+ *
+ *
+ */
+ function toFileConvert()
+ {
+ require_once 'File/Convert.php';
+ $fc = new File_Convert($this->getStoreName(), $this->mimetype);
+ return $fc;
+
+
+ }
/**
*
*