示例#1
0
 public static function getSort($id, $returnType = 'array', $data = null)
 {
     $types = empty($data) ? self::getSorts() : $data;
     return BCacheHelper::find($id, $types, $returnType, Sort::model());
 }