Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

shrink_wrap ( ob )

Description
No description.
 
Parameters
requiredob
 
Code
424  function shrink_wrap($ob)
425  {
426      $ob = preg_replace('/(?<!http:)\/\/(?!w3c|dtd|en).*\r?\n/i',"",$ob);
427      $ob = preg_replace('/[\r\n]+/i','',$ob);
428      $ob = preg_replace('/\t/i',' ',$ob);
429      $ob = preg_replace('/[ ]{2,}/i',' ',$ob);
430      return $ob;
431  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads