本文整理汇总了PHP中site_object_controller::site_object_controller方法的典型用法代码示例。如果您正苦于以下问题:PHP site_object_controller::site_object_controller方法的具体用法?PHP site_object_controller::site_object_controller怎么用?PHP site_object_controller::site_object_controller使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类site_object_controller
的用法示例。
在下文中一共展示了site_object_controller::site_object_controller方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
function admin_page_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/admin/admin_page.html',
'transaction' => false,
),
'admin_display' => array(
'permissions_required' => 'r',
'template_path' => '/admin/admin_page.html',
'transaction' => false,
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit'),
'action_path' => '/site_object/edit_action',
'template_path' => '/site_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'register_new_object' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('register_new_object'),
'action_path' => '/site_object/register_new_object_action',
'template_path' => '/site_object/register_new_object.html',
'img_src' => '/shared/images/activate.gif'
)
);
parent :: site_object_controller();
}
示例2: array
function users_folder_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/users_folder/display.html'
),
'create_user' => array(
'permissions_required' => 'w',
'template_path' => '/user/create.html',
'action_path' => '/user/create_user_action',
'JIP' => true,
'popup' => true,
'img_src' => '/shared/images/new.generic.gif',
'action_name' => strings :: get('create_user', 'user'),
'can_have_access_template' => true,
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit'),
'action_path' => '/site_object/edit_action',
'template_path' => '/site_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
);
parent :: site_object_controller();
}
示例3: array
function stats_event_controller()
{
$this->_actions = array(
'events_list' => array(
'permissions_required' => 'r',
'template_path' => '/stats_event/events_list.html',
'action_name' => strings :: get('show_events_list', 'stats'),
'action_path' => '/stats_event/stats_event_filter_action',
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit'),
'action_path' => '/site_object/edit_action',
'template_path' => '/site_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete'),
'action_path' => '/site_object/delete_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
);
parent :: site_object_controller();
}
示例4: array
function simple_order_object_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/simple_order_object/display.html',
),
'view' => array(
'permissions_required' => 'r',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('detail_info'),
'template_path' => '/simple_order_object/view.html',
'img_src' => '/shared/images/admin_detail.gif'
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete'),
'action_path' => '/simple_order_object/delete_simple_order_object_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
);
parent :: site_object_controller();
}
示例5: array
function login_object_controller()
{
$this->_actions = array(
'login' => array(
'permissions_required' => 'r',
'action_path' => 'login_action',
'template_path' => 'login.html'
),
'logout' => array(
'permissions_required' => 'r',
'action_path' => 'logout_action',
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit'),
'action_path' => '/site_object/edit_action',
'template_path' => '/site_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'change_user_locale' => array(
'permissions_required' => 'w',
'popup' => true,
'action_name' => strings :: get('change_locale', 'user'),
'action_path' => '/user/change_user_locale_action',
),
);
parent :: site_object_controller();
}
示例6: array
function objects_access_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/objects_access/set_group_access.html',
'action_path' => '/objects_access/set_group_objects_access',
),
'set_group_access' => array(
'permissions_required' => 'w',
'template_path' => '/objects_access/set_group_access.html',
'action_path' => '/objects_access/set_group_objects_access',
'JIP' => true,
'img_src' => '/shared/images/access_manage.gif',
'action_name' => strings :: get('set_group_access'),
),
'toggle' => array(
'permissions_required' => 'r',
'template_path' => '/objects_access/set_group_access.html',
'action_path' => '/objects_access/group_objects_access_tree_toggle_action',
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit'),
'action_path' => '/site_object/edit_action',
'template_path' => '/site_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
);
parent :: site_object_controller();
}
示例7: array
function faq_object_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/faq_object/display.html',
),
'admin_detail' => array(
'permissions_required' => 'r',
'template_path' => '/admin/object_detail_info.html',
'popup' => true,
'JIP' => true,
'img_src' => '/shared/images/details.gif',
'action_name' => strings :: get('detail_info'),
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit_faq_question', 'faq'),
'action_path' => '/faq_object/edit_faq_object_action',
'template_path' => '/faq_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'publish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('publish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/publish.gif',
'template_path' => '/news_object/display.html',
'can_have_access_template' => true,
),
'unpublish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('unpublish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/unpublish.gif',
'template_path' => '/news_object/display.html',
'can_have_access_template' => true,
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete_faq_question','faq'),
'action_path' => '/faq_object/delete_faq_object_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
);
parent :: site_object_controller();
}
示例8: array
function pricelist_object_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/pricelist_object/display.html',
),
'admin_display' => array(
'permissions_required' => 'rw',
'template_path' => '/pricelist_object/admin_display.html'
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit_pricelist_object', 'pricelist'),
'action_path' => '/pricelist_object/edit_pricelist_object_action',
'template_path' => '/pricelist_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'publish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('publish'),
'action_path' => '/doc_flow_object/publish_action',
'img_src' => '/shared/images/publish.gif',
'can_have_access_template' => true,
),
'unpublish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('unpublish'),
'action_path' => '/doc_flow_object/unpublish_action',
'img_src' => '/shared/images/unpublish.gif',
'can_have_access_template' => true,
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete_pricelist_object', 'pricelist'),
'action_path' => '/pricelist_object/delete_pricelist_object_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
'order' => array(
'permissions_required' => 'r',
'action_path' => 'tree_change_order_action',
'display_in_breadcrumbs' => false,
'popup' => true,
),
);
parent :: site_object_controller();
}
示例9: array
function fetch_object_controller_test()
{
$this->_actions = array(
'display' => array(
),
);
parent :: site_object_controller();
}
示例10: array
function _define_actions()
{
return array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/announce_object/display.html',
),
'admin_detail' => array(
'permissions_required' => 'r',
'template_path' => '/admin/object_detail_info.html',
'popup' => true,
'JIP' => true,
'img_src' => '/shared/images/admin_detail.gif',
'action_name' => strings :: get('detail_info'),
),
'edit' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit_announce', 'announce'),
'action_path' => '/announce_object/edit_announce_action',
'template_path' => '/announce_object/edit.html',
'img_src' => '/shared/images/edit.gif'
),
'publish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('publish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/publish.gif',
'can_have_access_template' => true,
),
'unpublish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('unpublish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/unpublish.gif',
'can_have_access_template' => true,
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete_announce', 'announce'),
'action_path' => 'form_delete_site_object_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
);
parent :: site_object_controller();
}
示例11: array
function fetch_object_controller_test()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
),
);
parent :: site_object_controller();
}
示例12: array
function site_map_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/site_map/site_map.html',
),
);
parent :: site_object_controller();
}
示例13: array
function template_source_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'action_path' => '/template_source/display_template_source_action',
'template_path' => '/template_source/display.html',
),
);
parent :: site_object_controller();
}
示例14: array
function faq_folder_container_controller()
{
$this->_actions = array(
'display' => array(
'permissions_required' => 'r',
'template_path' => '/faq_folder_container/display.html'
),
'admin_display' => array(
'permissions_required' => 'r',
'template_path' => '/faq_folder_container/admin_display.html'
),
'create_faq_folder' => array(
'permissions_required' => 'w',
'template_path' => '/faq_folder/create.html',
'action_path' => '/faq_folder/create_faq_folder_action',
'JIP' => true,
'popup' => true,
'img_src' => '/shared/images/new.folder.gif',
'action_name' => strings :: get('create_faq_folder','faq'),
'can_have_access_template' => true,
),
'publish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('publish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/publish.gif',
'can_have_access_template' => true,
),
'unpublish' => array(
'permissions_required' => 'w',
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('unpublish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'img_src' => '/shared/images/unpublish.gif',
'can_have_access_template' => true,
),
'delete' => array(
'permissions_required' => 'w',
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete_faq_folder','faq'),
'action_path' => '/faq_folder/delete_faq_folder_action',
'template_path' => '/site_object/delete.html',
'img_src' => '/shared/images/rem.gif'
),
);
parent :: site_object_controller();
}
示例15: array
function _define_actions()
{
return array(
'display' => array(
'template_path' => '/announce_object/display.html',
),
'admin_detail' => array(
'template_path' => '/admin/object_detail_info.html',
'popup' => true,
'JIP' => true,
'icon' => 'admin_detail',
'action_name' => strings :: get('detail_info'),
),
'edit' => array(
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('edit_announce', 'announce'),
'action_path' => '/announce_object/edit_announce_action',
'template_path' => '/announce_object/edit.html',
'icon' => 'edit'
),
'publish' => array(
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('publish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'icon' => 'publish',
'can_have_access_template' => true,
),
'unpublish' => array(
'popup' => true,
'JIP' => true,
'action_name' => strings :: get('unpublish'),
'action_path' => '/doc_flow_object/set_publish_status_action',
'icon' => 'unpublish',
'can_have_access_template' => true,
),
'delete' => array(
'JIP' => true,
'popup' => true,
'action_name' => strings :: get('delete_announce', 'announce'),
'action_path' => 'form_delete_site_object_action',
'template_path' => '/site_object/delete.html',
'icon' => 'delete'
),
);
parent :: site_object_controller();
}