added thread tesaction
This commit is contained in:
parent
f1fc37e827
commit
5342eb2be6
14
dev_mvc/model/testactions/TA_TestDBThread.php
Normal file
14
dev_mvc/model/testactions/TA_TestDBThread.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
require_once(ROOT_DIR.'/controller/db/DBThread.php');
|
||||||
|
require_once(ROOT_DIR.'/model/forum/Thread.php');
|
||||||
|
class TA_TestDBThread extends TestAction{
|
||||||
|
function __construct(){
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
function execute(){
|
||||||
|
$replies = DBReply::getAllReplies();
|
||||||
|
echo "<div id='response_json'>";
|
||||||
|
echo (json_encode($replies));
|
||||||
|
echo "</div>";
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user