Ejemplo n.º 1
0
 /**
  * Sanitizes the raw title. 
  * 
  * This does not create a final result of the title as this method is called from sorting items as well.
  * 
  * @remark      Used for sorting as well.
  * @since       2.0.3.5b
  * @since       3
  * @return      string
  */
 public function replyToModifyRawTitle($sTitle)
 {
     $sTItle = parent::replyToModifyRawTitle($sTitle);
     // Fixes the 'newly tagged...' and 'tagged "..." x times' insertion.
     $_aPatterns = array('/\\s(newly|recently)\\stagged.+$/', '/\\stagged\\s.+times$/');
     return preg_replace($_aPatterns, '', $sTitle);
 }