示例#1
0
文件: Row.php 项目: Kit-kat1/bluz
 public static function getAlltypes()
 {
     $alltypes = Table::getInstance()->getAllTypes();
     return $alltypes;
 }
示例#2
0
文件: search.php 项目: Kit-kat1/bluz
<?php

/**
 * Created by PhpStorm.
 * User: gunko
 * Date: 9/29/15
 * Time: 10:22 AM
 */
/**
 * @namespace
 */
namespace Application;

use Bluz\Controller;
use Bluz\Proxy\Request;
return function () {
    $str = Request::getParam('query');
    if ($str != NULL) {
        return $search = \Application\MusicTypes\Table::getInstance()->search($str);
    } else {
        return [];
    }
};