📄 admineditlinkview.class.php
字号:
<?php lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" ); /** * \ingroup View * @private */ class AdminEditLinkView extends AdminTemplatedView { function AdminEditLinkView( $blogInfo, $params = Array()) { $this->AdminTemplatedView( $blogInfo, "editlink" ); } /** * Carries out the specified action */ function render() { // get all the link categories but we have to respect the order that the user asked $blogSettings = $this->_blogInfo->getSettings(); $order = $blogSettings->getValue( 'link_categories_order', MYLINKS_CATEGORIES_NO_ORDER ); $linkCategories = new MyLinksCategories(); $blogLinkCategories = $linkCategories->getMyLinksCategories( $this->_blogInfo->getId(), $order ); $this->notifyEvent( EVENT_LINK_CATEGORIES_LOADED, Array( "linkcategories" => &$blogLinkCategories )); // put the data in the view $this->setValue( "linkcategories", $blogLinkCategories ); parent::render(); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -