src/Query/QQ.php
static public function getVirtualAlias($strName)
    {
        $strName = trim($strName);
        $strName = str_replace(" ", "_", $strName);
        $strName = strtolower($strName);
        return $strName;
    }
static public function getVirtualAlias($strName)
    {
        $strName = trim($strName);
        $strName = str_replace(" ", "_", $strName);
        $strName = strtolower($strName);
        return $strName;
    }
static public function getVirtualAlias ( $ strName ) { $ strName = trim ( $ strName ) ; $ strName = str_replace ( " " , "_" , $ strName ) ; $ strName = strtolower ( $ strName ) ; return $ strName ; }
Converts a virtual attribute name to an alias used in the query. The name is converted to an identifier
that will work on any SQL database. In the query itself, the name
will have two underscores in front of the alias name to prevent conflicts with column names.

@param $strName
@return mixed|string
Converts a virtual attribute name to an alias used in the query . The name is converted to an identifier that will work on any SQL database . In the query itself the name will have two underscores in front of the alias name to prevent conflicts with column names .