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