Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Source for file function.content.php

Documentation is available at function.content.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9.  * smarty_function_content
  10.  */
  11. function smarty_function_content($params&$gBitSmarty)
  12. {
  13.     global $gBitSystem;
  14.     global $dcslib;
  15.     include_onceDCS_PKG_PATH.'dcs_lib.php' );
  16.     extract($params);
  17.     // Param = zone
  18.  
  19.     if (empty($id)) {
  20.         $gBitSmarty->trigger_error("assign: missing 'zone' parameter");
  21.         return;
  22.     }
  23.     $data $dcslib->get_actual_content($id);
  24.     print($data);
  25. }
  26.  
  27. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:37 +0000 by phpDocumentor 1.5.0-lsces