Binders: pages

TODO:

 

/**
 * Smarty plugin
 * -------------------------------------------------------------
 * File:     function.bind.php
 * Type:     function
 * Name:     bind
 * Purpose:  includes template content
 * -------------------------------------------------------------
 *
 * @param {array} $params 
 *                  $params['child_of'] Parent page of which you wish to get its children
 *                  $params['assign_to'] Variable withing the template engine to which the content has to be assinged.
 *
 * @example
 * 
 * EXAMPLE #1:
 * {pages child_of="content-services"  assign_to="services_pages"}
 * 
 *
 */

 

Leave a Reply

Your email address will not be published. Required fields are marked *