當前位置: 首頁>>代碼示例>>PHP>>正文


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怎麽用?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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:35,代碼來源:admin_page_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:31,代碼來源:users_folder_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:31,代碼來源:stats_event_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:29,代碼來源:simple_order_object_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:31,代碼來源:login_object_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:35,代碼來源:objects_access_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:58,代碼來源:faq_object_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:57,代碼來源:pricelist_object_controller.class.php

示例9: array

  function fetch_object_controller_test()
  {
    $this->_actions = array(
        'display' => array(
        ),
    );

    parent :: site_object_controller();
  }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:9,代碼來源:fetching_test.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:56,代碼來源:announce_object_controller.class.php

示例11: array

	function fetch_object_controller_test()
	{
		$this->_actions = array(
				'display' => array(
						'permissions_required' => 'r',
				),
		);
		
		parent :: site_object_controller();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:fetching_test.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:11,代碼來源:site_map_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:12,代碼來源:template_source_controller.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:52,代碼來源:faq_folder_container_controller.class.php

示例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();
  }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:50,代碼來源:announce_object_controller.class.php


注:本文中的site_object_controller::site_object_controller方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。