/**
  * Processes text through all link filters.
  * 
  * @access  public
  * @param   integer $prj_id The ID of the project
  * @param   string $text The text to process
  * @param   string $class The CSS class to use on the actual links
  * @return  string The processed text.
  */
 function processText($prj_id, $text, $class = "link")
 {
     // process issue link seperatly since it has to do something special
     $text = Misc::activateLinks($text, $class);
     $text = Link_Filter::processIssueSpecificLinks($text);
     $filters = Link_Filter::getFilters($prj_id);
     if (count($filters) > 0) {
         foreach ($filters as $filter) {
             $text = preg_replace('/' . $filter[0] . '/i', $filter[1], $text);
         }
     }
     return $text;
 }