CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  includes/functions/display.php
functions
blockfileinc

void blockfileinc(string $title, string $blockfile, boolean $side, int $bid)

Function is called by render_blocks() to include the required block-*.php file

Arguments

  • $title

    Title for the block.

  • $blockfile

    Filename of the block.

  • $side [optional, default value = true]

    On true themesidebox() is called to generate the block.
    On false themecenterbox() is called to generate the block.

  • $bid

    ID of the block