Esempio n. 1
0
 /**
  * get the name of the field to order the table data by
  * @return string column to order by tablename.elementname
  */
 function getOrderByName()
 {
     $params = $this->getParams();
     $join =& $this->getJoin();
     $joinTable = $join->table_join_alias;
     $joinVal = $this->_getValColumn();
     $return = !strstr($joinVal, 'CONCAT') ? "{$joinTable}.{$joinVal}" : $joinVal;
     if ($return == '.') {
         $return = parent::getOrderByName();
     }
     return $return;
 }