The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello all,
do anyone know how to select all the nodes belonging to the same channel. my function look like this. Code:
public function getNodes($channelid)
{
try {
$nodes = vB::getDbAssertor()->getRows('vBForum:node', array('parentid' => $nodeid));
return $nodes;
}
catch(Exception $e) {
return 0;
}
}
Thanks. --------------- Added [DATE]1492486591[/DATE] at [TIME]1492486591[/TIME] --------------- here we go... Code:
vB::getDbAssertor()->getRows('vBForum:getChildren', array('nodeid' => $nodeid));
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|