demo

- dbGetInfo{category}

There are also some methods that lets you pull very fast informations of all sibling branches:

If you set the optional param to true you simply get an array with all ids of relevant pages. This can be turned into PageArray with: $pa = $pages->getById($ids); This is used by the FrontEndHandler class when you call the dbGetGenres(), dbGetArtists(), ... methods. (they pull data from that methods/cache, turn into PageArray and sort by title).

If you use the default output you have some useful informations. Look to the second var_dump output below!

There are some more methods that can return useful informations:

$fe->hn->my_var_dump( $fe->dbGetInfoArtists( true ), 1 );
$fe->hn->my_var_dump( $fe->dbGetInfoArtists(), 1 );

array(5) 
{
  [0] int(61153)
  [1] int(61157)
  [2] int(61161)
  [3] int(61165)
  [4] int(61169)
}
array(5) 
{
  [0]              array(3) 
  {
    ["id"]         string(5) "61169"
    ["title"]      string(14) "Golden Earring"
    ["albumcount"] string(1) "1"
  }
  [1]              array(3) 
  {
    ["id"]         string(5) "61153"
    ["title"]      string(12) "Sabine Meyer"
    ["albumcount"] string(1) "1"
  }
  [2]              array(3) 
  {
    ["id"]         string(5) "61165"
    ["title"]      string(7) "Sampler"
    ["albumcount"] string(1) "1"
  }
  [3]              array(3) 
  {
    ["id"]         string(5) "61161"
    ["title"]      string(15) "The Commitments"
    ["albumcount"] string(1) "1"
  }
  [4]              array(3) 
  {
    ["id"]         string(5) "61157"
    ["title"]      string(12) "Van Morrison"
    ["albumcount"] string(1) "2"
  }
}