这是本文档旧的修订版!
目录
插件接口及功能列表
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 width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
indexHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
error404Handle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
singleHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
categoryHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
tagHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
authorHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
dateHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
search
</td> <td><ul> <li>
$keywords
</li> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
searchHandle
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
query
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
select
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
handleInit
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
handle
</td> <td><ul> <li>
type
</li> <li>
$archive
Widget_Archive对象</li> <li>
$select
Typecho_Db_Query对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
pageNav
</td> <td><ul> <li>
currentPage
</li> <li>
$total
</li> <li>
pageSize
</li> <li>
$prev
</li> <li>
$next
</li> <li>
$splitPage
</li> <li>
$splitWord
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
headerOptions
</td> <td><ul> <li>
$allows
</li> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
header
</td> <td><ul> <li>
$header
</li> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
footer
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
beforeRender
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
afterRender
</td> <td><ul> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
commentFeedItem
</td> <td><ul> <li>
feedType
</li> <li>
$comments
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
feedItem
</td> <td><ul> <li>
feedType
</li> <li>
$archive
Widget_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Feedback
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
comment
</td> <td><ul> <li>
$comment
</li> <li>
content
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishComment
</td> <td><ul> <li>
$feedback
Widget_Feedback对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
trackback
</td> <td><ul> <li>
$trackback
</li> <li>
content
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishTrackback
</td> <td><ul> <li>
$feedback
Widget_Feedback对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Login
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
loginFail
</td> <td><ul> <li>
user
</li> <li>
name
</li> <li>
password
</li> <li>
remember
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
loginSucceed
</td> <td><ul> <li>
user
</li> <li>
name
</li> <li>
password
</li> <li>
remember
</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Logout
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
logout
</td> <td><cite>无</cite> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Register
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
register
</td> <td><ul> <li>
$dataStruct
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishRegister
</td> <td><ul> <li>
$register
Widget_Register对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Upload
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
beforeUpload
</td> <td><ul> <li>
$result
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
upload
</td> <td><ul> <li>
$upload
Widget_Upload对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
beforeModify
</td> <td><ul> <li>
$result
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
modify
</td> <td><ul> <li>
$upload
Widget_Upload对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_User
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
login
</td> <td><ul> <li>
$name
</li> <li>
$password
</li> <li>
$temporarily
</li> <li>
$expire
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
hashValidate
</td> <td><ul> <li>
$password
</li> <li>
$user['password']
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
loginSucceed
</td> <td><ul> <li>
$user
Widget_User对象</li> <li>
$name
</li> <li>
$password
</li> <li>
$temporarily
</li> <li>
$expire
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
loginFail
</td> <td><ul> <li>
$user
Widget_User对象</li> <li>
$name
</li> <li>
$password
</li> <li>
$temporarily
</li> <li>
$expire
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
logout
</td> <td><cite>无</cite> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_XmlRpc
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
textFilter
</td> <td><ul> <li>
$input['text']
</li> <li>
$xmlRpc
Widget_XmlRpc对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
upload
</td> <td><ul> <li>
$xmlRpc
Widget_XmlRpc对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
pingback
</td> <td><ul> <li>
$pingback
</li> <li>
$post
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishPingback
</td> <td><ul> <li>
$xmlRpc
Widget_XmlRpc对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Abstract_Comments
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
content
</td> <td><ul> <li>
$text
</li> <li>
$comments
Widget_Abstract_Comments对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> <tr> <td>
contentEx
</td> <td><ul> <li>
$text
</li> <li>
$comments
Widget_Abstract_Comments对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> <tr> <td>
filter
</td> <td><ul> <li>
$value
</li> <li>
$comments
Widget_Abstract_Comments对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> <tr> <td>
gravatar
</td> <td><ul> <li>
$size
</li> <li>
$rating
</li> <li>
$default
</li> <li>
$comments
Widget_Abstract_Comments对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> <tr> <td>
autoP
</td> <td><ul> <li>
$text
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> <tr> <td>
markdown
</td> <td><ul> <li>
$text
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Feedback
</li> <li>
Widget_Comments_Admin
</li> <li>
Widget_Comments_Archive
</li> <li>
Widget_Comments_Edit
</li> <li>
Widget_Comments_Ping
</li> <li>
Widget_Comments_Recent
</li> </ul></td> </tr> </tbody> </table> </html>
Widget_Abstract_Contents
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
excerpt
</td> <td><ul> <li>
text
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
excerptEx
</td> <td><ul> <li>
$excerpt
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
content
</td> <td><ul> <li>
text
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
contentEx
</td> <td><ul> <li>
$content
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
isFieldReadOnly
</td> <td><ul> <li>
$name
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
filter
</td> <td><ul> <li>
$value
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
title
</td> <td><ul> <li>
title
</li> <li>
$contents
Widget_Abstract_Contents对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
autoP
</td> <td><ul> <li>
$text
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> <tr> <td>
markdown
</td> <td><ul> <li>
$text
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Archive
</li> <li>
Widget_Upload
</li> <li>
Widget_XmlRpc
</li> <li>
Widget_Contents_Related
</li> <li>
Widget_Contents_Attachment_Admin
</li> <li>
Widget_Contents_Attachment_Related
</li> <li>
Widget_Contents_Attachment_Unattached
</li> <li>
Widget_Contents_Page_List
</li> <li>
Widget_Contents_Post_Admin
</li> <li>
Widget_Contents_Page_Admin
</li> <li>
Widget_Contents_Post_Edit
</li> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> <li>
Widget_Contents_Post_Recent
</li> <li>
Widget_Contents_Related_Author
</li> </ul></td> </tr> </tbody> </table> </html>
Widget_Abstract_Metas
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
filter
</td> <td><ul> <li>
$value
</li> <li>
$metas
Widget_Abstract_Metas对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Metas_Category_Edit
</li> <li>
Widget_Metas_Category_List
</li> <li>
Widget_Metas_Category_Admin
</li> <li>
Widget_Metas_Tag_Cloud
</li> <li>
Widget_Metas_Tag_Admin
</li> <li>
Widget_Metas_Tag_Edit
</li> </ul></td> </tr> </tbody> </table> </html>
Widget_Abstract_Users
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
filter
</td> <td><ul> <li>
$value
</li> <li>
$users
Widget_Abstract_Users对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Login
</li> <li>
Widget_Logout
</li> <li>
Widget_Register
</li> <li>
Widget_Users_Admin
</li> <li>
Widget_Users_Author
</li> <li>
Widget_Users_Edit
</li> <li>
Widget_Users_Profile
</li> </ul></td> </tr> </tbody> </table> </html>
Widget_Comments_Archive
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
listComments
</td> <td><ul> <li>
singleCommentOptions
</li> <li>
$archive
Widget_Comments_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
reply
</td> <td><ul> <li>
$word
</li> <li>
$archive
Widget_Comments_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
cancelReply
</td> <td><ul> <li>
$word
</li> <li>
$archive
Widget_Comments_Archive对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Comments_Edit
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
mark
</td> <td><ul> <li>
$comment
</li> <li>
$edit
Widget_Comments_Edit对象</li> <li>
$status
</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
delete
</td> <td><ul> <li>
$comment
</li> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishDelete
</td> <td><ul> <li>
$comment
</li> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
edit
</td> <td><ul> <li>
$comment
</li> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishEdit
</td> <td><ul> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
comment
</td> <td><ul> <li>
$comment
</li> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishComment
</td> <td><ul> <li>
$edit
Widget_Comments_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Contents_Attachment_Edit
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
delete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Attachment_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishDelete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Attachment_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
delete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Attachment_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishDelete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Attachment_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Contents_Page_Edit
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
write
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Page_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishPublish
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Page_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishSave
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Page_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
delete
</td> <td><ul> <li>
$page
</li> <li>
$edit
Widget_Contents_Page_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> <tr> <td>
finishDelete
</td> <td><ul> <li>
$page
</li> <li>
$edit
Widget_Contents_Page_Edit对象</li> </ul> </td> <td></li> </ul></td> </tr> </tbody> </table> </html>
Widget_Contents_Post_Edit
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
getDefaultFieldItems
</td> <td><ul> <li>
$layout
</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> <tr> <td>
write
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Post_Edit对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> <tr> <td>
finishPublish
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Post_Edit对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> <tr> <td>
finishSave
</td> <td><ul> <li>
$contents
</li> <li>
$edit
Widget_Contents_Post_Edit对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> <tr> <td>
delete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Post_Edit对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> <tr> <td>
finishDelete
</td> <td><ul> <li>
$post
</li> <li>
$edit
Widget_Contents_Post_Edit对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Contents_Attachment_Edit
</li> <li>
Widget_Contents_Page_Edit
</li> </ul></td> </tr> </tbody> </table> </html>
Widget_Metas_Category_List
<html> <table class=“inline”><thead><tr>
<th width="20%">接口</th> <th width="30%">参数</th> <th>描述</th>
</tr></thead><tbody><tr> <td>
listCategories
</td> <td><ul> <li>
categoryOptions
</li> <li>
$list
Widget_Metas_Category_List对象</li> </ul> </td> <td>以下句柄同样具有此接口:<br /><ul> <li>
Widget_Metas_Category_Admin
</li> </ul></td> </tr> </tbody> </table> </html>