devoidfeast
04-18-2017, 12:42 AM
Hello all,
do anyone know how to select all the nodes belonging to the same channel.
my function look like this.
public function getNodes($channelid)
{
try {
$nodes = vB::getDbAssertor()->getRows('vBForum:node', array('parentid' => $nodeid));
return $nodes;
}
catch(Exception $e) {
return 0;
}
}
any help will be appreciated!
Thanks.
--------------- Added 1492486591 at 1492486591 ---------------
here we go...
vB::getDbAssertor()->getRows('vBForum:getChildren', array('nodeid' => $nodeid));
Thanks.
do anyone know how to select all the nodes belonging to the same channel.
my function look like this.
public function getNodes($channelid)
{
try {
$nodes = vB::getDbAssertor()->getRows('vBForum:node', array('parentid' => $nodeid));
return $nodes;
}
catch(Exception $e) {
return 0;
}
}
any help will be appreciated!
Thanks.
--------------- Added 1492486591 at 1492486591 ---------------
here we go...
vB::getDbAssertor()->getRows('vBForum:getChildren', array('nodeid' => $nodeid));
Thanks.