class/utility.php 1 location
|
@@ 550-559 (lines=10) @@
|
547 |
|
* @param int $faqid |
548 |
|
* @return array |
549 |
|
*/ |
550 |
|
public static function sf_retrieveFaqByID($faqid = 0) |
551 |
|
{ |
552 |
|
$ret = array(); |
553 |
|
global $xoopsDB; |
554 |
|
|
555 |
|
$result = $xoopsDB->queryF('SELECT * FROM ' . $xoopsDB->prefix('smartfaq_faq') . " WHERE faqid = '$faqid'"); |
556 |
|
$ret = $xoopsDB->fetcharray($result); |
557 |
|
|
558 |
|
return $ret; |
559 |
|
} |
560 |
|
|
561 |
|
/** |
562 |
|
* sf_getAdminLinks() |
include/functions.php 1 location
|
@@ 410-419 (lines=10) @@
|
407 |
|
* @param int $faqid |
408 |
|
* @return array |
409 |
|
*/ |
410 |
|
function sf_retrieveFaqByID($faqid = 0) |
411 |
|
{ |
412 |
|
$ret = array(); |
413 |
|
global $xoopsDB; |
414 |
|
|
415 |
|
$result = $xoopsDB->queryF('SELECT * FROM ' . $xoopsDB->prefix('smartfaq_faq') . " WHERE faqid = '$faqid'"); |
416 |
|
$ret = $xoopsDB->fetcharray($result); |
417 |
|
|
418 |
|
return $ret; |
419 |
|
} |
420 |
|
|
421 |
|
/** |
422 |
|
* sf_getAdminLinks() |