3.4.4. getType()

int getType

Returns the block type. The following types are allowed:

  1. OPT_COMMAND - standalone block, without subnodes (for example {tag/})
  2. OPT_MASTER - opening block, probably contains nodes with nested elements: {tag}.
  3. OPT_ALT - alternative block, also could contain some nodes: {tagelse}.
  4. OPT_ENDER - closing block, without subnodes: {/tag}.