framework/web/CActiveDataProvider.php
public function getSort($className='CSort')
	{
		if(($sort=parent::getSort($className))!==false)
			$sort->modelClass=$this->modelClass;
		return $sort;
	}
public function getSort($className='CSort')
	{
		if(($sort=parent::getSort($className))!==false)
			$sort->modelClass=$this->modelClass;
		return $sort;
	}
public function getSort ( $ className = 'CSort' ) { if ( ( $ sort = parent :: getSort ( $ className ) ) !== false ) $ sort -> modelClass = $ this -> modelClass ; return $ sort ; }
Returns the sorting object.
@param string $className the sorting object class name. Parameter is available since version 1.1.13.
@return CSort the sorting object. If this is false, it means the sorting is disabled.
Returns the sorting object .