framework/web/CSort.php
public function getDirection($attribute)
	{
		$this->getDirections();
		return isset($this->_directions[$attribute]) ? $this->_directions[$attribute] : null;
	}
public function getDirection($attribute)
	{
		$this->getDirections();
		return isset($this->_directions[$attribute]) ? $this->_directions[$attribute] : null;
	}
public function getDirection ( $ attribute ) { $ this -> getDirections ( ) ; return isset ( $ this -> _directions [ $ attribute ] ) ? $ this -> _directions [ $ attribute ] : null ; }
Returns the sort direction of the specified attribute in the current request.
@param string $attribute the attribute name
@return mixed Sort direction of the attribute. Can be either CSort::SORT_ASC
for ascending order or CSort::SORT_DESC for descending order. Value is null
if the attribute doesn't need to be sorted.
Returns the sort direction of the specified attribute in the current request .