<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\SearchBox; use Module\Vendor\Provider\ProviderTrait; class SearchBoxProvider { use ProviderTrait; public static function all() { goto GViZk; GViZk: $XsrNI = self::listAll(); goto XmCdu; SNo7z: return $XsrNI; goto Q5swz; XmCdu: usort($XsrNI, function ($yFoll, $B3JG8) { if ($yFoll->order() == $B3JG8->order()) { return 0; } return $yFoll->order() > $B3JG8->order() ? 1 : -1; }); goto SNo7z; Q5swz: } public static function get($MGY9H) { return self::getByName($MGY9H); } public static function count() { return count(self::all()); } }