<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\SearchBox; use Module\Vendor\Provider\ProviderTrait; class SearchBoxProvider { use ProviderTrait; public static function all() { goto piWOI; C7i6H: return $b3yWT; goto kE1X0; QC_So: usort($b3yWT, function ($N8dl8, $plWAb) { if ($N8dl8->order() == $plWAb->order()) { return 0; } return $N8dl8->order() > $plWAb->order() ? 1 : -1; }); goto C7i6H; piWOI: $b3yWT = self::listAll(); goto QC_So; kE1X0: } public static function get($fYoEH) { return self::getByName($fYoEH); } public static function count() { return count(self::all()); } }