You are here

function NodesInBlock::_getVisibility in Nodes In Block 6

Helper function to get visibility from block.

1 call to NodesInBlock::_getVisibility()
NodesInBlock::testNodeSubmissions in ./nodesinblock.test
Test submitting of nodes and see if they appear in blocks and how they are rendered.

File

./nodesinblock.test, line 92
Tests for Nodes in block

Class

NodesInBlock
@file Tests for Nodes in block

Code

function _getVisibility($delta) {
  return db_result(db_query("SELECT pages from {blocks} WHERE module = 'nodesinblock' AND delta = %d", $delta));
}