首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 丛是API的PHP 5.1.2 +独特的插件

丛是API的PHP 5.1.2 +独特的插件

  • 资源大小:25.01 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: php api 插件 独特

资 源 简 介

Plexus **Plex”us**, n. An intricate or interwoven combination of elements or parts in a coherent structure. Overview Plexus is a unique plugin API for PHP 5.1.2+ It performs, what I’ve dubbed as “magic wiring” to re-wire any object method call on the fly as a “pluggable” call and automatically creates and calls the plugin hooks. It provides ultimate flexibility, and can assist greatly from the simplest of plugin APIs to complex plugin-driven applications. To create a Plexus, in the simplest form, appears something like: ``` $pluginstoload = array( "PluginName", "AnotherPluginName", ); $plexus = new Plexus(new PluginCollection($pluginstoload)); ``` To have a Plexus re-wire an object of class “ClassName” method call, you do: /** * Re-wire $object->methodName

文 件 列 表

Plexus_1.0.0-beta2
__tests__
examples
LICENSE
Plexus
README.txt

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP