这是本文档旧的修订版!
目录
插件接口及功能列表
Widget内置的接口
在Typecho中只要这个类是继承自Typecho_Widget基类,它就默认具备了这个插件接口。接口开发者可以使用这个接口无缝地向当前的Class中注入方法
比如我要给Widget_Archive类增加一个方法获取当前文章的字数(charactersNum),只需要在你的插件`activate`方法中声明
Typecho_Plugin::factory('Widget_Archive')->___charactersNum = array('MyPlugin', 'charactersNum');
注意,我们在方法名前面加三个下划线表示这是一个内部方法。而实现这个方法也很简单,因为系统会将当前的对象作为参数传递给你
public static function charactersNum($archive) { return mb_strlen($archive->text, 'UTF-8'); }
那么这个方法就已经植入到Widget_Archive中去了,你在模版中可以直接调用如下代码输出它
<?php $this->charactersNum(); ?>
句柄接口
Widget_Archive
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Archive</td> <td>indexHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>error404Handle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>singleHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>categoryHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>tagHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>authorHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>dateHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>search</td> <td>$keywords<br /> Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>searchHandle</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>query</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>select</td> <td>Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>handleInit</td> <td>Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>handle</td> <td>$parameter→type<br /> Widget_Archive对象<br /> $select</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>pageNav</td> <td>$currentPage<br /> $total<br /> $parameter→pageSize<br /> $prev<br /> $next<br /> $splitPage<br /> $splitWord</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>headerOptions</td> <td>$allows<br /> Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>header</td> <td>$header<br /> Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>footer</td> <td>Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>beforeRender</td> <td>Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>afterRender</td> <td>Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>commentFeedItem</td> <td>$feedType<br /> $comments</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Archive</td> <td>feedItem</td> <td>$feedType<br /> Widget_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Feedback
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Feedback</td> <td>comment</td> <td>$comment<br /> $content</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Feedback</td> <td>finishComment</td> <td>Widget_Feedback对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Feedback</td> <td>trackback</td> <td>$trackback<br /> $content</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Feedback</td> <td>finishTrackback</td> <td>Widget_Feedback对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Login
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Login</td> <td>loginFail</td> <td>$user<br /> $request→name<br /> $request→password<br /> 1 == $request→remember</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Login</td> <td>loginSucceed</td> <td>$user<br /> $request→name<br /> $request→password<br /> 1 == $request→remember</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Logout
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Logout</td> <td>logout</td> <td><cite>无</cite> </td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Register
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Register</td> <td>register</td> <td>$dataStruct</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Register</td> <td>finishRegister</td> <td>Widget_Register对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Upload
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Upload</td> <td>beforeUpload</td> <td>$result</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Upload</td> <td>upload</td> <td>Widget_Upload对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Upload</td> <td>beforeModify</td> <td>$result</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Upload</td> <td>modify</td> <td>Widget_Upload对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_User
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_User</td> <td>login</td> <td>$name<br /> $password<br /> $temporarily<br /> $expire</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_User</td> <td>hashValidate</td> <td>$password<br /> $user['password']</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_User</td> <td>loginSucceed</td> <td>Widget_User对象<br /> $name<br /> $password<br /> $temporarily<br /> $expire</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_User</td> <td>loginFail</td> <td>Widget_User对象<br /> $name<br /> $password<br /> $temporarily<br /> $expire</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_User</td> <td>logout</td> <td><cite>无</cite> </td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_XmlRpc
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_XmlRpc</td> <td>textFilter</td> <td>$input['text']<br /> Widget_XmlRpc对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_XmlRpc</td> <td>upload</td> <td>Widget_XmlRpc对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_XmlRpc</td> <td>pingback</td> <td>$pingback<br /> $post</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_XmlRpc</td> <td>finishPingback</td> <td>Widget_XmlRpc对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Abstract_Comments
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Abstract_Comments</td> <td>content</td> <td>$text<br /> Widget_Abstract_Comments对象</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> <tr> <td>Widget_Abstract_Comments</td> <td>contentEx</td> <td>$text<br /> Widget_Abstract_Comments对象</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> <tr> <td>Widget_Abstract_Comments</td> <td>filter</td> <td>$value<br /> Widget_Abstract_Comments对象</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> <tr> <td>Widget_Abstract_Comments</td> <td>gravatar</td> <td>$size<br /> $rating<br /> $default<br /> Widget_Abstract_Comments对象</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> <tr> <td>Widget_Abstract_Comments</td> <td>autoP</td> <td>$text</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> <tr> <td>Widget_Abstract_Comments</td> <td>markdown</td> <td>$text</td> <td></td> <td>Widget_Feedback<br /> Widget_Comments_Admin<br /> Widget_Comments_Archive<br /> Widget_Comments_Edit<br /> Widget_Comments_Ping<br /> Widget_Comments_Recent</td> </tr> </tbody> </table> </html>
Widget_Abstract_Contents
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Abstract_Contents</td> <td>excerpt</td> <td>$text<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>excerptEx</td> <td>$excerpt<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>content</td> <td>$text<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>contentEx</td> <td>$content<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>isFieldReadOnly</td> <td>$name</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>filter</td> <td>$value<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>title</td> <td>$title<br /> Widget_Abstract_Contents对象</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>autoP</td> <td>$text</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> <tr> <td>Widget_Abstract_Contents</td> <td>markdown</td> <td>$text</td> <td></td> <td>Widget_Archive<br /> Widget_Upload<br /> Widget_XmlRpc<br /> Widget_Contents_Related<br /> Widget_Contents_Attachment_Admin<br /> Widget_Contents_Attachment_Related<br /> Widget_Contents_Attachment_Unattached<br /> Widget_Contents_Page_List<br /> Widget_Contents_Post_Admin<br /> Widget_Contents_Page_Admin<br /> Widget_Contents_Post_Edit<br /> Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit<br /> Widget_Contents_Post_Recent<br /> Widget_Contents_Related_Author</td> </tr> </tbody> </table> </html>
Widget_Abstract_Metas
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Abstract_Metas</td> <td>filter</td> <td>$value<br /> Widget_Abstract_Metas对象</td> <td></td> <td>Widget_Metas_Category_Edit<br /> Widget_Metas_Category_List<br /> Widget_Metas_Category_Admin<br /> Widget_Metas_Tag_Cloud<br /> Widget_Metas_Tag_Admin<br /> Widget_Metas_Tag_Edit</td> </tr> </tbody> </table> </html>
Widget_Abstract_Users
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Abstract_Users</td> <td>filter</td> <td>$value<br /> Widget_Abstract_Users对象</td> <td></td> <td>Widget_Login<br /> Widget_Logout<br /> Widget_Register<br /> Widget_Users_Admin<br /> Widget_Users_Author<br /> Widget_Users_Edit<br /> Widget_Users_Profile</td> </tr> </tbody> </table> </html>
Widget_Comments_Archive
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Comments_Archive</td> <td>listComments</td> <td>$singleCommentOptions<br /> Widget_Comments_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Archive</td> <td>reply</td> <td>$word<br /> Widget_Comments_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Archive</td> <td>cancelReply</td> <td>$word<br /> Widget_Comments_Archive对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Comments_Edit
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Comments_Edit</td> <td>mark</td> <td>$comment<br /> Widget_Comments_Edit对象<br /> $status</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>delete</td> <td>$comment<br /> Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>finishDelete</td> <td>$comment<br /> Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>edit</td> <td>$comment<br /> Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>finishEdit</td> <td>Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>comment</td> <td>$comment<br /> Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Comments_Edit</td> <td>finishComment</td> <td>Widget_Comments_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Contents_Attachment_Edit
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Contents_Attachment_Edit</td> <td>delete</td> <td>$post<br /> Widget_Contents_Attachment_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Attachment_Edit</td> <td>finishDelete</td> <td>$post<br /> Widget_Contents_Attachment_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Attachment_Edit</td> <td>delete</td> <td>$post<br /> Widget_Contents_Attachment_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Attachment_Edit</td> <td>finishDelete</td> <td>$post<br /> Widget_Contents_Attachment_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Contents_Page_Edit
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Contents_Page_Edit</td> <td>write</td> <td>$contents<br /> Widget_Contents_Page_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Page_Edit</td> <td>finishPublish</td> <td>$contents<br /> Widget_Contents_Page_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Page_Edit</td> <td>finishSave</td> <td>$contents<br /> Widget_Contents_Page_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Page_Edit</td> <td>delete</td> <td>$page<br /> Widget_Contents_Page_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> <tr> <td>Widget_Contents_Page_Edit</td> <td>finishDelete</td> <td>$page<br /> Widget_Contents_Page_Edit对象</td> <td></td> <td><cite>无</cite> </td> </tr> </tbody> </table> </html>
Widget_Contents_Post_Edit
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Contents_Post_Edit</td> <td>getDefaultFieldItems</td> <td>$layout</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> <tr> <td>Widget_Contents_Post_Edit</td> <td>write</td> <td>$contents<br /> Widget_Contents_Post_Edit对象</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> <tr> <td>Widget_Contents_Post_Edit</td> <td>finishPublish</td> <td>$contents<br /> Widget_Contents_Post_Edit对象</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> <tr> <td>Widget_Contents_Post_Edit</td> <td>finishSave</td> <td>$contents<br /> Widget_Contents_Post_Edit对象</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> <tr> <td>Widget_Contents_Post_Edit</td> <td>delete</td> <td>$post<br /> Widget_Contents_Post_Edit对象</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> <tr> <td>Widget_Contents_Post_Edit</td> <td>finishDelete</td> <td>$post<br /> Widget_Contents_Post_Edit对象</td> <td></td> <td>Widget_Contents_Attachment_Edit<br /> Widget_Contents_Page_Edit</td> </tr> </tbody> </table> </html>
Widget_Metas_Category_List
<html> <table class=“inline”><thead><tr>
<th>句柄</th> <th>接口</th> <th>参数</th> <th>描述</th> <th>因为继承同样具有此接口的句柄</th>
</tr></thead><tbody><tr> <td>Widget_Metas_Category_List</td> <td>listCategories</td> <td>$categoryOptions<br /> Widget_Metas_Category_List对象</td> <td></td> <td>Widget_Metas_Category_Admin</td> </tr> </tbody> </table> </html>