*/ /* Param: tplCurrentDocument Purpose: User defined chunk to format the current document Options: - Any valid chunk name - Code via @CODE - File via @FILE Default: &tpl */ $orderBy = $ditto->parseOrderBy($orderBy, $randomize); /* Param: orderBy Purpose: Sort the result set Options: Any valid MySQL style orderBy statement Default: createdon DESC */ //-------------------------------------------------------------------- */ $templates = $ditto->template->process($templates); // parse the templates for TV's and store them for later use