Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class
In directory sc8-pr-cvs1:/tmp/cvs-serv12767/class
Modified Files:
Manager.php
Log Message:
Updated description and work on searches
Index: Manager.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Manager.php 3 Jun 2003 21:13:26 -0000 1.10
--- Manager.php 3 Jun 2003 21:26:42 -0000 1.11
***************
*** 94,97 ****
--- 94,111 ----
+ function search($where) {
+ $sql = "SELECT tid,label FROM " . $GLOBALS["core"]->tbl_prefix . "mod_phpwsbb_messages $where";
+ $result = $GLOBALS["core"]->query($sql);
+
+ if($results) {
+ while($row = $result->fetchRow(DB_FETCHMOD_ASSOC)) {
+ $array[$row["tid"]] = $row["label"];
+ }
+ }
+
+ return $array;
+ }
+
+
function action() {
if(PHPWS_Message::isMessage($this->notice))
|