Posted By

dosde on 03/05/13


Tagged

block concrete5


Versions (?)

Use block controller function out of controller


 / Published in: PHP
 

With this snippet, you can use every function from blocks even if they are not added to your page

  1. $bl = BlockType::getByHandle('BLOCKHANDLE');
  2. $con = $bl->getController();
  3. echo $con->FUNCTIONNAME();

Report this snippet  

You need to login to post a comment.