public static function selectBySection($strType) { $strSql = sprintf("SELECT * FROM pcms_structure WHERE section = '%s' ORDER BY sort", $strType); return Structure::select($strSql); }