コード例 #1
1
	function _define_attributes_definition()
	{
		return complex_array :: array_merge(
				parent :: _define_attributes_definition(),
				array(
				'title' => '',
				'name' => array('type' => 'numeric'),
				'search' => array('search' => true),
				));		
	}
コード例 #2
0
  function run(&$filter_chain, &$request, &$response) 
  {
    debug :: add_timing_point('locale filter started');
    
    if(!$node = map_request_to_node($request))
    {
    	define('CONTENT_LOCALE_ID', DEFAULT_CONTENT_LOCALE_ID);
    	define('MANAGEMENT_LOCALE_ID', CONTENT_LOCALE_ID);
    	
    	$locale =& locale :: instance();    	
    	$locale->setlocale();
    	
      $filter_chain->next();
      return;
    }
          
    if($object_locale_id = site_object :: get_locale_by_id($node['object_id']))
    	define('CONTENT_LOCALE_ID', $object_locale_id);
    else
      define('CONTENT_LOCALE_ID', DEFAULT_CONTENT_LOCALE_ID);
    
    $user = user :: instance();
    if($user_locale_id = $user->get_locale_id())
    	define('MANAGEMENT_LOCALE_ID', $user_locale_id);
    else
      define('MANAGEMENT_LOCALE_ID', CONTENT_LOCALE_ID);
              
    debug :: add_timing_point('locale filter finished');

  	$locale =& locale :: instance();    	
  	$locale->setlocale();
    
    $filter_chain->next();
  }   
コード例 #3
0
 function mock_root_object()
 {
   parent :: site_object();
 }
コード例 #4
0
 function faq_folder_container()
 {
     parent::site_object();
 }
コード例 #5
0
 function ad_block_folder()
 {
     parent::site_object();
 }
コード例 #6
0
 function delete()
 {
     if (!parent::delete()) {
         return false;
     }
     return $this->_delete_versioned_content_records();
 }
コード例 #7
0
 function site_object_manipulation_test()
 {
     parent::site_object();
 }
コード例 #8
0
 function class_folder()
 {
     parent::site_object();
 }
コード例 #9
0
 function version()
 {
     parent::site_object();
 }
コード例 #10
0
 function file_select()
 {
     parent::site_object();
 }
コード例 #11
0
 function image_select()
 {
     parent::site_object();
 }
コード例 #12
0
 function objects_access()
 {
     parent::site_object();
 }
コード例 #13
0
 function chat()
 {
     parent::site_object();
 }
コード例 #14
0
 function site_object_auto_identifier_test_version()
 {
     parent::site_object();
 }
コード例 #15
0
 function stats_event()
 {
     parent::site_object();
 }
コード例 #16
0
 function poll_container()
 {
     parent::site_object();
 }
コード例 #17
0
 function template_source()
 {
     parent::site_object();
 }
コード例 #18
0
 function fetching_test_object2()
 {
     parent::site_object();
 }
コード例 #19
0
	function paragraphs_list_page()
	{
		parent :: site_object();
	}
コード例 #20
0
 function site_object_fetch_test_version()
 {
     parent::site_object();
 }
コード例 #21
0
	function site_map()
	{
		parent :: site_object();
	}
コード例 #22
0
 function admin_page()
 {
     parent::site_object();
 }
コード例 #23
0
 function site_param_object()
 {
     parent::site_object();
 }
コード例 #24
0
 function files_folder()
 {
     parent::site_object();
 }
コード例 #25
0
 function guestbook()
 {
     parent::site_object();
 }
コード例 #26
0
	function stats_report()
	{
		parent :: site_object();
	}
コード例 #27
0
 function login_object()
 {
     parent::site_object();
 }
コード例 #28
0
	function user_groups_folder()
	{
		parent :: site_object();
	}
コード例 #29
0
 function user_activate_password()
 {
     parent::site_object();
 }
コード例 #30
0
	function documents_folder()
	{
		parent :: site_object();
	}