Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

sort_reflection_objects ( lhs , rhs )

Description
No description.
 
Parameters
requiredlhs
requiredrhs
 
Code
031  function sort_reflection_objects($lhs, $rhs)
032  {
033      $lhs_value = preg_replace('/^_+/i','',$lhs->name);
034      $rhs_value = preg_replace('/^_+/i','',$rhs->name);
035      return ($lhs_value==$rhs_value) ? 0 : ($lhs_value<$rhs_value ? -1 : 1);
036  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads