public function getClassNameForUpDownArrow($field, $dbOrdering)
    {
        $className = '';
        if (is_array($dbOrdering) && count($dbOrdering)) {
            if ($field == $dbOrdering[0]) {
                if ($dbOrdering[1] == 'asc') {
                    $className = 'up';
                } else {
                    $className = 'down';
                }
            }
        }
        return $className;
    }
public function getClassNameForUpDownArrow($field, $dbOrdering)
    {
        $className = '';
        if (is_array($dbOrdering) && count($dbOrdering)) {
            if ($field == $dbOrdering[0]) {
                if ($dbOrdering[1] == 'asc') {
                    $className = 'up';
                } else {
                    $className = 'down';
                }
            }
        }
        return $className;
    }
public function getClassNameForUpDownArrow ( $ field , $ dbOrdering ) { $ className = '' ; if ( is_array ( $ dbOrdering ) && count ( $ dbOrdering ) ) { if ( $ field == $ dbOrdering [ 0 ] ) { if ( $ dbOrdering [ 1 ] == 'asc' ) { $ className = 'up' ; } else { $ className = 'down' ; } } } return $ className ; }
get a class name for up and down arrows of sorting links
@param string $field current field to sort by
@param array $dbOrdering An array containing the field and ordering of current DB Ordering
@return string The class name
get a class name for up and down arrows of sorting links