Content functions

  • recursive($dynamic_cat_id,$module,$rate)

This function is important and should be added at the end of every process whether adding, editing or deleting content as it updates the sections counters with the number of contents after each process.

Parameters:

      -  
$dynamic_cat_id (mandatory): the section ID.
      -  $module (mandatory): the name of the table which has this content.
      -  $rate (mandatory): the add/subtract rate from the section counter.

Example:

PHP :
{* php buffer start *}  
{* php buffer end *}

Was this answer helpful? 0 Users Found This Useful (0 Votes)