A

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

C

ComponentClass in namespace Soli
组件基类
$ComponentProperty in class Component
CommandClass in namespace Soli\Console
命令行任务基类
ControllerClass in namespace Soli
控制器基类
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

$ApplicationProperty in class Application
$ApplicationProperty in class Application
$CommandProperty in class Command
DispatcherClass in namespace Soli\Console
命令行应用调度器
$ControllerProperty in class Controller
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

$ComponentProperty 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
模版引擎接口
$SimpleProperty in class Simple
$SmartyProperty in class Smarty
$TwigProperty in class Twig

F

$ApplicationProperty in class Application
$ControllerProperty in class Controller
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::getKey() — Method in class Session
允许子类覆盖此方法获取更多关于 key 的特性
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

$ContainerProperty 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

M

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

Router::post() — Method in class Router
Router::put() — Method in class Router

R

$ApplicationProperty in class Application
$ApplicationProperty in class Application
$ApplicationProperty in class Application
$ControllerProperty in class Controller
$ControllerProperty in class Controller
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

$ApplicationProperty in class Application
Component::setContainer() — Method in class Component
设置依赖注入容器
Component::setEventManager() — Method in class Component
设置事件管理器
Dispatcher::setCommandName() — Method in class Dispatcher
$ControllerProperty in class Controller
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
触发事件
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

V

$ApplicationProperty 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.
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.