A

AesClass in namespace Soli
基于 openssl 扩展的 AES 加解密
AppClass in namespace Soli
应用
AppClass in namespace Soli\Console
命令行应用
$Container#aliasesProperty in class Container
别名列表
Container::alias() — Method in class Container
为某个服务定义别名,主要用于类型提示(接口)的自动注入
ContainerInterface::alias() — Method in class ContainerInterface
为服务添加别名
EventManager::attach() — Method in class EventManager
注册某个事件的监听器
EventManagerInterface::attach() — Method in class EventManagerInterface
注册某个事件的监听器
AppClass in namespace Soli\Web
应用

B

Connection::beginTrans() — Method in class Connection
开启事务,关闭自动提交
BinaryFileResponseClass in namespace Soli\Web
文件响应

C

ComponentClass in namespace Soli
组件基类
$Component#containerProperty in class Component
ConfigClass in namespace Soli
Config.
Config::count() — Method in class Config
echo count($config); echo $config->count();
CommandClass in namespace Soli\Console
命令行任务基类
Dispatcher::callAction() — Method in class Dispatcher
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::connection() — Method in class Model
获取数据库连接服务名称
Model::columns() — Method in class Model
获取当前 table 的全部字段信息
Model::create() — Method in class Model
新增一条纪录
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
清除某个事件的监听器列表
$Process#countProperty in class Process
ControllerClass in namespace Soli\Web
控制器
Flash::clear() — Method in class Flash
清空 flash messages 在同一次请求中,要清除已经设置的 messages 并且要设置新的 messages 时会有用

D

Aes::decrypt() — Method in class Aes
Decrypt the string data, using the password secret.
$App#dispatcherProperty in class App
$Command#dispatcherProperty in class Command
DispatcherClass in namespace Soli\Console
Router::dispatch() — Method in class Router
$Controller#dispatcherProperty in class Controller
$Model#dbProperty in class Model
Model::delete() — Method in class Model
通过条件删除纪录
DispatcherClass in namespace Soli
调度器
Dispatcher::dispatch() — Method in class Dispatcher
执行调度
DispatcherInterfaceClass in namespace Soli
调度器
DispatcherInterface::dispatch() — Method in class DispatcherInterface
执行调度
EventManager::detach() — Method in class EventManager
移除某个事件的监听器
EventManagerInterface::detach() — Method in class EventManagerInterface
移除某个事件的监听器
$Process#daemonizeProperty in class Process
RouterInterface::dispatch() — Method in class RouterInterface
View::disable() — Method in class View
禁用自动渲染视图
ViewInterface::disable() — Method in class ViewInterface
禁用自动渲染视图
$App#dispatcherProperty in class App
$Controller#dispatcherProperty in class Controller
Router::delete() — Method in class Router
Router::dispatch() — Method in class Router
Session::destroy() — Method in class Session
销毁一个会话中的全部数据

E

Aes::encrypt() — Method in class Aes
Encrypt the string data, using the password secret.
$Component#eventsProperty 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
事件管理器接口
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
Flash::error() — Method in class Flash

F

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

G

Aes::getOpenSslName() — Method in class Aes
Aes::getAesName() — Method in class Aes
Component::getContainer() — Method in class Component
获取依赖注入容器
Config::get() — Method in class Config
print_r($config->get('database')); print_r($config->get('database.host', '192.168.1.100'));
Command::getRunnable() — Method in class Command
Command::getName() — Method in class Command
Command::getCount() — Method in class Command
Command::getDaemonize() — Method in class Command
Command::getRefork() — Method in class Command
Command::getLogFile() — Method in class Command
Connection::getPdo() — Method in class Connection
获取 PDO 实例
Container::get() — Method in class Container
从容器中获取一个服务
Container::getAliasId() — Method in class Container
获取某个别名对应的服务标识
ContainerAwareInterface::getContainer() — Method in class ContainerAwareInterface
获取依赖注入容器
ContainerAwareTrait::getContainer() — Method in class ContainerAwareTrait
获取依赖注入容器
ContainerInterface::get() — Method in class ContainerInterface
从容器中获取一个服务
Dispatcher::getNamespaceName() — Method in class Dispatcher
Dispatcher::getHandlerName() — Method in class Dispatcher
Dispatcher::getActionName() — Method in class Dispatcher
Dispatcher::getParams() — Method in class Dispatcher
DispatcherInterface::getNamespaceName() — Method in class DispatcherInterface
DispatcherInterface::getHandlerName() — Method in class DispatcherInterface
DispatcherInterface::getActionName() — Method in class DispatcherInterface
DispatcherInterface::getParams() — Method in class DispatcherInterface
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
获取事件管理器
RouterInterface::getNamespaceName() — Method in class RouterInterface
RouterInterface::getHandlerName() — Method in class RouterInterface
RouterInterface::getActionName() — Method in class RouterInterface
RouterInterface::getParams() — Method in class RouterInterface
RouterTrait::getNamespaceName() — Method in class RouterTrait
RouterTrait::getHandlerName() — Method in class RouterTrait
RouterTrait::getActionName() — Method in class RouterTrait
RouterTrait::getParams() — Method in class RouterTrait
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
获取当前设置的视图变量
Flash::getCssClasses() — Method in class Flash
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
Session::getName() — Method in class Session
获取 session 名称
Session::get() — Method in class Session
获取一个 session 变量
Session::getId() — Method in class Session
获取当前的 session id

H

App::handle() — Method in class App
应用程序启动方法
Container::has() — Method in class Container
查询容器中是否存在某个服务
ContainerInterface::has() — Method in class ContainerInterface
查询容器中是否存在某个服务
Process::handleFatalError() — Method in class Process
App::handle() — Method in class App
应用程序启动方法
Request::has() — Method in class Request
是否有某个参数
Router::head() — 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
服务是否为共享的
ServiceInterface::isShared() — Method in class ServiceInterface
服务是否为共享的
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?
$Process#idProperty in class Process
View::isDisabled() — Method in class View
是否自动渲染视图
ViewInterface::isDisabled() — Method in class ViewInterface
是否自动渲染视图
Session::isStarted() — Method in class Session
检查 session 是否已启动

L

Component::listen() — Method in class Component
监听某个事件
Connection::lastInsertId() — Method in class Connection
返回最后插入行的 ID 或序列值,数据库需要将主键设置为自增
$Process#logFileProperty in class Process
Process::log() — Method in class Process
Router::load() — Method in class Router
Load routes config.

M

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

N

$Process#nameProperty in class Process
Flash::notice() — Method in class Flash

O

Config::offsetExists() — Method in class Config
var_dump(isset($config['database']));
Config::offsetGet() — Method in class Config
var_dump($config['database']);
Config::offsetSet() — Method in class Config
$config['database'] = [ 'host' => '127.0.0.1', 'port' => '3306', ]
Config::offsetUnset() — Method in class Config
unset($config['cacheDir']);
Container::offsetExists() — Method in class Container
Container::offsetGet() — Method in class Container
Container::offsetSet() — Method in class Container
Container::offsetUnset() — Method in class Container
Flash::output() — Method in class Flash
输出 flash messages
Router::options() — Method in class Router

P

Model::primaryKey() — Method in class Model
获取主键名称
ProcessClass in namespace Soli
Router::post() — Method in class Router
Router::put() — Method in class Router

Q

Connection::queryAll() — Method in class Connection
查询 SQL 语句返回结果的所有行
Connection::queryRow() — Method in class Connection
查询 SQL 语句返回结果的第一行
Connection::queryColumn() — Method in class Connection
查询 SQL 语句中第一个字段的值
Connection::query() — Method in class Connection
执行一条 SQL 语句

R

Aes::requiresPadding() — Method in class Aes
$App#routerProperty in class App
$Command#routerProperty in class Command
RouterClass in namespace Soli\Console
$Controller#routerProperty 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
解析服务
$Process#reforkProperty in class Process
RouterInterfaceClass in namespace Soli
RouterTraitClass in namespace Soli
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
$App#routerProperty in class App
$App#requestProperty in class App
$App#responseProperty in class App
$Controller#requestProperty in class Controller
$Controller#responseProperty in class Controller
RedirectResponseClass in namespace Soli\Web
重定向响应
RequestClass in namespace Soli\Web
请求
Request::removeCookie() — Method in class Request
ResponseClass in namespace Soli\Web
响应
Response::reset() — Method in class Response
RouterClass in namespace Soli\Web
Session::regenerateId() — Method in class Session
使用新生成的会话 ID 更新现有会话 ID 如果启用了 session.use_trans_sid 选项,调用此函数之前不可有输出工作
Session::remove() — Method in class Session
移除一个 session 变量

S

Aes::setKeySize() — Method in class Aes
Component::setContainer() — Method in class Component
设置依赖注入容器
Config::set() — Method in class Config
$config->set('database', [ 'host' => '127.0.0.1', 'port' => '3306', ]); $config->set('database.host', '192.168.1.100'); $config->set('database.dbname', 'demo');
Model::save() — Method in class Model
保存(更新或者新增)一条数据
Container::set() — Method in class Container
注册一个服务到容器
ContainerAwareInterface::setContainer() — Method in class ContainerAwareInterface
设置依赖注入容器
ContainerAwareTrait::setContainer() — Method in class ContainerAwareTrait
设置依赖注入容器
ContainerInterface::set() — Method in class ContainerInterface
注册一个服务到容器
ServiceClass in namespace Soli\Di
服务原型
ServiceInterfaceClass in namespace Soli\Di
ServiceInterface.
Dispatcher::setNamespaceName() — Method in class Dispatcher
Dispatcher::setHandlerName() — Method in class Dispatcher
Dispatcher::setActionName() — Method in class Dispatcher
Dispatcher::setParams() — Method in class Dispatcher
DispatcherInterface::setNamespaceName() — Method in class DispatcherInterface
DispatcherInterface::setHandlerName() — Method in class DispatcherInterface
DispatcherInterface::setActionName() — Method in class DispatcherInterface
DispatcherInterface::setParams() — Method in class DispatcherInterface
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
设置事件管理器
Process::setJob() — Method in class Process
Process::start() — Method in class Process
Process::signalShutdownHandler() — Method in class Process
RouterTrait::setDefaults() — Method in class RouterTrait
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
设置缓存路径
$App#sessionProperty in class App
BinaryFileResponse::sendContent() — Method in class BinaryFileResponse
发送响应内容
$Controller#sessionProperty in class Controller
Flash::setCssClasses() — Method in class Flash
设置消息样式
Flash::success() — Method in class Flash
RedirectResponse::setTargetUrl() — Method in class RedirectResponse
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\Web
会话
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

T

App::terminate() — Method in class App
Component::trigger() — Method in class Component
触发事件
Config::toArray() — Method in class Config
var_dump($config->toArray());
Model::table() — Method in class Model
获取表名称
EventManager::trigger() — Method in class EventManager
触发事件
EventManagerInterface::trigger() — Method in class EventManagerInterface
触发事件
TwigClass in namespace Soli\View\Engine
Twig Engine
Router::trace() — Method in class Router

U

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

V

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

W

$Process#workerPidProperty in class Process
Flash::warning() — Method in class Flash

_

Aes::__construct() — Method in class Aes
App::__construct() — Method in class App
应用初始化
Component::__get() — Method in class Component
获取容器中的某个服务
Config::__construct() — Method in class Config
Config constructor.
Config::__set_state() — Method in class Config
var_export($config);
Router::__construct() — Method in class Router
Connection::__construct() — Method in class Connection
Connection constructor.
Model::__call() — Method in class Model
Model::__callStatic() — Method in class Model
Model::__get() — Method in class Model
获取 Db 连接或 Container 中的某个 Service
Container::__construct() — Method in class Container
初始化容器默认实例
Container::__get() — Method in class Container
允许将服务标识作为属性名访问
Service::__construct() — Method in class Service
Service constructor.
Event::__construct() — Method in class Event
Event 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.
BinaryFileResponse::__construct() — Method in class BinaryFileResponse
BinaryFileResponse constructor.
Flash::__construct() — Method in class Flash
Flash constructor.
RedirectResponse::__construct() — Method in class RedirectResponse
Response constructor.
Response::__construct() — Method in class Response
Response constructor.
Router::__construct() — Method in class Router
Session::__construct() — Method in class Session
Session::__destruct() — Method in class Session
Session destruct