LSS/DataModel.php
public static function _realName($name,$prefix=null){
		$name = preg_replace('/^'.$prefix.'/','',$name);
		$name = preg_replace('/([A-Z]{1})/','_$1',$name);
		$name = strtolower($name);
		$name = trim($name,'_');
		return $name;
	}
public static function _realName($name,$prefix=null){
		$name = preg_replace('/^'.$prefix.'/','',$name);
		$name = preg_replace('/([A-Z]{1})/','_$1',$name);
		$name = strtolower($name);
		$name = trim($name,'_');
		return $name;
	}
public static function _realName ( $ name , $ prefix = null ) { $ name = preg_replace ( '/^' . $ prefix . '/' , '' , $ name ) ; $ name = preg_replace ( '/([A-Z]{1})/' , '_$1' , $ name ) ; $ name = strtolower ( $ name ) ; $ name = trim ( $ name , '_' ) ; return $ name ; }
this converts camel case into real_case
this converts camel case into real_case