Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

append_slash ( string [""] , force [false] )

Description
No description.
 
Parameters
optionalstring [""]
optionalforce [false]
 
Code
088  function append_slash($__string="", $__force=false)
089  {
090      if (!$__force && substr($__string,-1)=="/")
091      {
092          return $__string;
093      }
094      else
095      {
096          return $__string . "/";
097      }
098  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads