projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2b484
)
tests/Images.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 04:19:27 +0000
(12:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 04:19:27 +0000
(12:19 +0800)
tests/Images.php
patch
|
blob
|
history
diff --git
a/tests/Images.php
b/tests/Images.php
index
72e3efc
..
d4aa32c
100644
(file)
--- a/
tests/Images.php
+++ b/
tests/Images.php
@@
-10,7
+10,11
@@
class Pman_Core_tests_Images extends Pman
require_once 'Pman/Core/Images.php';
//init();
- //$d = DB_DataObject::factory('')
+ $d = DB_DataObject::factory('pressrelease_entry');
+ $d->get(1990)
+
+ echo htmlspecialchars(Pman_Core_Images::replaceImageURLS($d->content));
+ exit;
$ret = Pman_Core_Images::replaceImageURLS('
<img src="http://www.roojs.com/index.php/Core/Images/Thumb/200x40/34/test.png">