我想调用一个函数使用usort,但是我得到一个错误,该类没有方法。 $awards = usort ($q->posts, array($this, '_mt_latest_award_sort'));
的设置是目前 namespace Test\Theme
class Shortcodes extends Theme
{
...
//this is the fun
我想通过它的一个元素来使用对象,但我不知道如何对包含数字的字符串进行字符串比较,并且数字的位置并不总是相同。 例如在我的情况的值,我想排序是这样的: String (A), String (B), String bit longer 1, String bit longer 2, String bit longer 3, String bit longer 10, String bit longe