A

ApplicationClass in namespace Soli
应用
ApplicationClass in namespace Soli\Console
命令行应用
EventManager::attach() — Method in class EventManager
注册某个事件的监听器
EventManagerInterface::attach() — Method in class EventManagerInterface
注册某个事件的监听器

B

Connection::beginTrans() — Method in class Connection
开启事务,关闭自动提交

C

ComponentClass in namespace Soli
组件基类
$Component#containerProperty in class Component
CommandClass in namespace Soli\Console
命令行任务基类
ControllerClass in namespace Soli
控制器基类
ConnectionClass in namespace Soli\Db
Db Connection Wrapper
Connection::close() — Method in class Connection
关闭连接
Connection::commit() — Method in class Connection
提交更改,开启自动提交
$Model#containerProperty in class Model
Model::connectionService() — Method in class Model
获取数据库连接服务名称
Query::columns() — Method in class Query
获取当前 table 的全部字段信息
Query::create() — Method in class Query
新增一条纪录
ContainerClass in namespace Soli\Di
依赖注入容器
Container::clear() — Method in class Container
清空容器
ContainerAwareInterfaceClass in namespace Soli\Di
依赖注入容器感知接口
ContainerAwareTraitClass in namespace Soli\Di
ContainerAwareTrait
ContainerInterfaceClass in namespace Soli\Di
ContainerInterface.
ContainerInterface::clear() — Method in class ContainerInterface
清空容器
EventManager::clearListeners() — Method in class EventManager
清除某个事件的监听器列表
Flash::clear() — Method in class Flash
清空 flash messages 在同一次请求中,要清除已经设置的 messages 并且要设置新的 messages 时会有用

D

$Application#dispatcherProperty in class Application
$Application#dispatcherProperty in class Application
$Command#dispatcherProperty in class Command
DispatcherClass in namespace Soli\Console
命令行应用调度器
$Controller#dispatcherProperty in class Controller
$Model#dbProperty in class Model
Query::delete() — Method in class Query
通过条件删除纪录
DispatcherClass in namespace Soli
调度器
Dispatcher::dispatch() — Method in class Dispatcher
执行调度
EventManager::detach() — Method in class EventManager
移除某个事件的监听器
EventManagerInterface::detach() — Method in class EventManagerInterface
移除某个事件的监听器
Router::delete() — Method in class Router
Session::destroy() — Method in class Session
销毁一个会话中的全部数据
View::disable() — Method in class View
禁用自动渲染视图
ViewInterface::disable() — Method in class ViewInterface
禁用自动渲染视图

E

$Component#eventManagerProperty in class Component
EventClass in namespace Soli\Events
事件原型
EventInterfaceClass in namespace Soli\Events
事件接口
EventManagerClass in namespace Soli\Events
事件管理器
EventManagerAwareInterfaceClass in namespace Soli\Events
事件管理器感知接口
EventManagerAwareTraitClass in namespace Soli\Events
EventManagerAwareTrait
EventManagerInterfaceClass in namespace Soli\Events
事件管理器接口
ExceptionClass in namespace Soli
Soli 异常定义
Flash::error() — Method in class Flash
View::enable() — Method in class View
启用自动渲染视图
ViewInterface::enable() — Method in class ViewInterface
启用自动渲染视图
EngineClass in namespace Soli\View
模版引擎抽象类
EngineInterfaceClass in namespace Soli\View
模版引擎接口
$Simple#engineProperty in class Simple
$Smarty#engineProperty in class Smarty
$Twig#engineProperty in class Twig

F

$Application#flashProperty in class Application
$Controller#flashProperty in class Controller
$Query#fieldsProperty in class Query
Query::find() — Method in class Query
通过条件查询纪录
Query::findFirst() — Method in class Query
通过条件查询纪录的第一条数据
Query::findById() — Method in class Query
通过ID查询一条记录
Query::findByIds() — Method in class Query
通过ID列表获取多条记录, 注意,返回结果不一定按传入的ID列表顺序排序
Dispatcher::forward() — Method in class Dispatcher
无需 redirect 跳转,而直接调用对应的 Handler->Action
FilterClass in namespace Soli
过滤器
FlashClass in namespace Soli\Session
闪存消息

G

Component::getContainer() — Method in class Component
Component::getEventManager() — Method in class Component
Dispatcher::getCommandName() — Method in class Dispatcher
Container::get() — Method in class Container
从容器中获取一个服务
Container::getShared() — Method in class Container
获取单例服务
Container::getService() — Method in class Container
获取容器中的某个 Service 对象实例
Container::getServices() — Method in class Container
获取容器中的所有服务
ContainerAwareInterface::getContainer() — Method in class ContainerAwareInterface
获取依赖注入容器
ContainerAwareTrait::getContainer() — Method in class ContainerAwareTrait
获取依赖注入容器
ContainerInterface::get() — Method in class ContainerInterface
从容器中获取一个服务
ContainerInterface::getShared() — Method in class ContainerInterface
获取单例服务
ContainerInterface::getService() — Method in class ContainerInterface
获取容器中的某个 Service 对象实例
ContainerInterface::getServices() — Method in class ContainerInterface
获取容器中的所有服务
Dispatcher::getNamespaceName() — Method in class Dispatcher
Dispatcher::getControllerName() — Method in class Dispatcher
Dispatcher::getActionName() — Method in class Dispatcher
Dispatcher::getParams() — Method in class Dispatcher
Event::getName() — Method in class Event
Get event name
Event::getTarget() — Method in class Event
Get target/context from which event was triggered
Event::getData() — Method in class Event
Get parameters passed to the event
EventInterface::getName() — Method in class EventInterface
Get event name
EventInterface::getTarget() — Method in class EventInterface
Get target/context from which event was triggered
EventInterface::getData() — Method in class EventInterface
Get parameters passed to the event
EventManager::getListeners() — Method in class EventManager
获取某个事件的监听器列表
EventManagerAwareInterface::getEventManager() — Method in class EventManagerAwareInterface
获取事件管理器
EventManagerAwareTrait::getEventManager() — Method in class EventManagerAwareTrait
获取事件管理器
JsonResponse::getEncodingOptions() — Method in class JsonResponse
Returns options used while encoding data to JSON.
RedirectResponse::getTargetUrl() — Method in class RedirectResponse
Returns the target URL.
Request::get() — Method in class Request
获取 REQUEST 的某个参数
Request::getQuery() — Method in class Request
获取 GET 的某个参数
Request::getPost() — Method in class Request
获取 POST 的某个参数
Request::getPut() — Method in class Request
Request::getMethod() — Method in class Request
Request::getRawBody() — Method in class Request
Request::getServer() — Method in class Request
Request::getServerAddress() — Method in class Request
Request::getClientAddress() — Method in class Request
Request::getUserAgent() — Method in class Request
Request::getCookies() — Method in class Request
Response::getContentType() — Method in class Response
获取响应类型
Response::getContent() — Method in class Response
获取响应内容
Response::getCookies() — Method in class Response
获取响应的 cookies 信息
Response::getHeaders() — Method in class Response
获取响应的头信息
Router::get() — Method in class Router
Router::getNamespaceName() — Method in class Router
Router::getControllerName() — Method in class Router
Router::getActionName() — Method in class Router
Router::getParams() — Method in class Router
Session::getName() — Method in class Session
获取 session 名称
Session::get() — Method in class Session
获取一个 session 变量
Session::getId() — Method in class Session
获取当前的 session id
Flash::getCssClasses() — Method in class Flash
View::getViewsDir() — Method in class View
获取视图目录
View::getViewExtension() — Method in class View
获取视图文件扩展名
View::getVar() — Method in class View
获取一个视图变量
View::getVars() — Method in class View
获取当前设置的视图变量
View::getEngine() — Method in class View
从服务定义中解析实例
ViewInterface::getViewsDir() — Method in class ViewInterface
获取视图目录
ViewInterface::getViewExtension() — Method in class ViewInterface
获取视图文件扩展名
ViewInterface::getVar() — Method in class ViewInterface
获取一个视图变量
ViewInterface::getVars() — Method in class ViewInterface
获取当前设置的视图变量

H

Application::handle() — Method in class Application
应用程序启动方法
Application::handle() — Method in class Application
应用程序启动方法
Container::has() — Method in class Container
查询容器中是否存在某个服务
ContainerInterface::has() — Method in class ContainerInterface
查询容器中是否存在某个服务
Request::has() — Method in class Request
是否有某个参数
Router::head() — Method in class Router
Router::handle() — Method in class Router
Session::has() — Method in class Session
检查某个 session 变量是否存在

I

Connection::inTrans() — Method in class Connection
检查是否在一个事务内
Model::instance() — Method in class Model
获取 Model 对象实例
$Container#instanceProperty in class Container
存储容器对象实例
Container::instance() — Method in class Container
获取容器对象实例
Service::isShared() — Method in class Service
检查服务是否为共享的
Event::isPropagationStopped() — Method in class Event
Has this event indicated event propagation should stop?
EventInterface::isPropagationStopped() — Method in class EventInterface
Has this event indicated event propagation should stop?
Session::isStarted() — Method in class Session
检查 session 是否已启动
View::isDisabled() — Method in class View
是否自动渲染视图
ViewInterface::isDisabled() — Method in class ViewInterface
是否自动渲染视图

J

JsonResponseClass in namespace Soli\Http
响应JSON

L

Connection::lastInsertId() — Method in class Connection
返回最后插入行的 ID 或序列值,数据库需要将主键设置为自增
Router::load() — Method in class Router
Load routes config.

M

ModelClass in namespace Soli\Db
模型
Router::map() — Method in class Router
Add route.
Flash::message() — Method in class Flash
处理各个类型的 flash message

N

Flash::notice() — Method in class Flash

O

Container::offsetExists() — Method in class Container
Container::offsetGet() — Method in class Container
Container::offsetSet() — Method in class Container
Container::offsetUnset() — Method in class Container
Router::options() — Method in class Router
Flash::output() — Method in class Flash
输出 flash messages

P

Query::primaryKey() — Method in class Query
获取主键名称
Query::page() — Method in class Query
分页
Router::post() — Method in class Router
Router::put() — Method in class Router

Q

Connection::query() — Method in class Connection
执行一条 SQL 语句
QueryClass in namespace Soli\Db
便于查询的方法

R

$Application#routerProperty in class Application
$Application#requestProperty in class Application
$Application#responseProperty in class Application
$Controller#requestProperty in class Controller
$Controller#responseProperty in class Controller
Connection::rowCount() — Method in class Connection
返回 SQL 语句影响行数
Connection::rollBack() — Method in class Connection
回滚更改,开启自动提交
Container::remove() — Method in class Container
从服务容器中删除一个服务
ContainerInterface::remove() — Method in class ContainerInterface
从服务容器中删除一个服务
Service::resolve() — Method in class Service
解析服务
ServiceInterface::resolve() — Method in class ServiceInterface
解析服务
RedirectResponseClass in namespace Soli\Http
跳转
RequestClass in namespace Soli\Http
请求
Request::removeCookie() — Method in class Request
ResponseClass in namespace Soli\Http
响应
Response::redirect() — Method in class Response
跳转
RouterClass in namespace Soli
Session::regenerateId() — Method in class Session
使用新生成的会话 ID 更新现有会话 ID 如果启用了 session.use_trans_sid 选项,调用此函数之前不可有输出工作
Session::remove() — Method in class Session
移除一个 session 变量
View::render() — Method in class View
Render
ViewInterface::render() — Method in class ViewInterface
Render
EngineInterface::render() — Method in class EngineInterface
获取视图渲染后的结果
Simple::render() — Method in class Simple
Render
Smarty::render() — Method in class Smarty
Render
Twig::render() — Method in class Twig
Render

S

$Application#sessionProperty in class Application
Component::setContainer() — Method in class Component
设置依赖注入容器
Component::setEventManager() — Method in class Component
设置事件管理器
Dispatcher::setCommandName() — Method in class Dispatcher
$Controller#sessionProperty in class Controller
Query::save() — Method in class Query
保存(更新或者新增)一条数据
Container::set() — Method in class Container
注册一个服务到容器
Container::setShared() — Method in class Container
注册单例服务
ContainerAwareInterface::setContainer() — Method in class ContainerAwareInterface
设置依赖注入容器
ContainerAwareTrait::setContainer() — Method in class ContainerAwareTrait
设置依赖注入容器
ContainerInterface::set() — Method in class ContainerInterface
注册一个服务到容器
ContainerInterface::setShared() — Method in class ContainerInterface
注册单例服务
ServiceClass in namespace Soli\Di
服务原型
ServiceInterfaceClass in namespace Soli\Di
ServiceInterface.
Dispatcher::setNamespaceName() — Method in class Dispatcher
Dispatcher::setControllerName() — Method in class Dispatcher
Dispatcher::setActionName() — Method in class Dispatcher
Dispatcher::setParams() — Method in class Dispatcher
Event::setName() — Method in class Event
Set the event name
Event::setTarget() — Method in class Event
Set the event target
Event::setData() — Method in class Event
Set event data
Event::stopPropagation() — Method in class Event
Indicate whether or not to stop propagating this event
EventInterface::setName() — Method in class EventInterface
Set the event name
EventInterface::setTarget() — Method in class EventInterface
Set the event target
EventInterface::setData() — Method in class EventInterface
Set event data
EventInterface::stopPropagation() — Method in class EventInterface
Indicate whether or not to stop propagating this event
EventManagerAwareInterface::setEventManager() — Method in class EventManagerAwareInterface
设置事件管理器
EventManagerAwareTrait::setEventManager() — Method in class EventManagerAwareTrait
设置事件管理器
Filter::sanitize() — Method in class Filter
使用对应过滤标识进行过滤
JsonResponse::setCallback() — Method in class JsonResponse
Sets the JSONP callback.
JsonResponse::setJson() — Method in class JsonResponse
Sets a raw string containing a JSON document to be sent.
JsonResponse::setData() — Method in class JsonResponse
Sets the data to be sent as JSON.
JsonResponse::setEncodingOptions() — Method in class JsonResponse
Sets options used while encoding data to JSON.
RedirectResponse::setTargetUrl() — Method in class RedirectResponse
Sets the redirect target of this response.
Response::setStatusCode() — Method in class Response
设置响应状态
Response::setContentType() — Method in class Response
设置响应类型
Response::setContent() — Method in class Response
设置响应内容
Response::setCookie() — Method in class Response
设置响应的 cookie 信息
Response::setHeader() — Method in class Response
设置响应头信息
Response::send() — Method in class Response
发送响应数据
Response::sendContent() — Method in class Response
发送响应内容
Response::sendCookies() — Method in class Response
发送响应 cookie
Response::sendHeaders() — Method in class Response
发送响应头
Router::setDefaults() — Method in class Router
SessionClass in namespace Soli
会话
Session::start() — Method in class Session
启动 session
Session::setName() — Method in class Session
设置 session 名称
Session::set() — Method in class Session
设置一个 session 变量
Session::setId() — Method in class Session
设置当前的 session id
Flash::setCssClasses() — Method in class Flash
设置消息样式
Flash::success() — Method in class Flash
View::setViewsDir() — Method in class View
设置视图目录
View::setViewExtension() — Method in class View
设置视图文件扩展名
View::setVar() — Method in class View
设置一个视图变量
View::setVars() — Method in class View
设置多个视图变量
View::setEngine() — Method in class View
设置模版引擎
ViewInterface::setViewsDir() — Method in class ViewInterface
设置视图目录
ViewInterface::setViewExtension() — Method in class ViewInterface
设置视图文件扩展名
ViewInterface::setVar() — Method in class ViewInterface
设置一个视图变量
ViewInterface::setVars() — Method in class ViewInterface
设置多个视图变量
SimpleClass in namespace Soli\View\Engine
Simple Engine
SmartyClass in namespace Soli\View\Engine
Smarty Engine, Smarty 3.1+
Smarty::setDebug() — Method in class Smarty
是否开启 debug
Smarty::setOptions() — Method in class Smarty
设置配置项
Twig::setDebug() — Method in class Twig
是否开启 debug, 开启 debug 每次都不会缓存
Twig::setCacheDir() — Method in class Twig
设置缓存路径

T

Application::terminate() — Method in class Application
Component::trigger() — Method in class Component
触发事件
Query::tableName() — Method in class Query
获取表名称
EventManager::trigger() — Method in class EventManager
触发事件
EventManagerInterface::trigger() — Method in class EventManagerInterface
触发事件
Router::trace() — Method in class Router
TwigClass in namespace Soli\View\Engine
Twig Engine

U

Query::update() — Method in class Query
更新一条数据 但对于 hits = hits+1 这样的语句需要使用 query 方法来做

V

$Application#viewProperty in class Application
ViewClass in namespace Soli
视图
ViewInterfaceClass in namespace Soli
视图接口

W

Flash::warning() — Method in class Flash

_

Application::__construct() — Method in class Application
应用初始化
Component::__get() — Method in class Component
获取容器本身,或者获取容器中的某个服务
Application::__construct() — Method in class Application
应用初始化
Command::__construct() — Method in class Command
Task constructor.
Controller::__construct() — Method in class Controller
Controller constructor.
Connection::__construct() — Method in class Connection
Connection constructor.
Model::__construct() — Method in class Model
Model constructor.
Model::__get() — Method in class Model
获取 Db 连接或 Container 中的某个 Service
Query::__call() — Method in class Query
Query::__callStatic() — Method in class Query
Container::__construct() — Method in class Container
初始化容器默认实例
Container::__get() — Method in class Container
允许将服务标识作为属性名访问
Service::__construct() — Method in class Service
Service constructor.
Dispatcher::__construct() — Method in class Dispatcher
BaseDispatcher constructor.
Event::__construct() — Method in class Event
Event constructor.
JsonResponse::__construct() — Method in class JsonResponse
JsonResponse constructor.
RedirectResponse::__construct() — Method in class RedirectResponse
RedirectResponse constructor.
Response::__construct() — Method in class Response
Response constructor.
Session::__destruct() — Method in class Session
Session destruct
Flash::__construct() — Method in class Flash
Flash constructor.
View::__set() — Method in class View
View::__get() — Method in class View
View::__isset() — Method in class View
View::__call() — Method in class View
调用 Engine 实例中的方法
Engine::__construct() — Method in class Engine
Engine constructor.
Engine::__call() — Method in class Engine
调用 Engine 实例中的方法
Smarty::__construct() — Method in class Smarty
Smarty constructor.
Twig::__construct() — Method in class Twig
Twig constructor.