Changeset 11878
- Timestamp:
- 08/30/07 16:01:49 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/midcom/application.php
r11872 r11878 552 552 // Parse the URL 553 553 $this->_parser = $this->serviceloader->load('midcom_core_service_urlparser'); 554 $this->_parser->parse($ _MIDGARD['argv']);554 $this->_parser->parse($GLOBALS['midgard']->argv); 555 555 556 556 if (!$this->_parser) … … 2597 2597 * Echo the registred javascript code. 2598 2598 * 2599 2600 * <b>Note:</b> These functions originate from the class midcom_admin_content and were2601 * moved to here to allow datamanager edit forms with DHTML widget support outside2602 * of AIS. The function stubs in midcom_admin_content remain in place for2603 * backwards-compatibility.2604 *2605 * The sequence of the add_jsfile and add_jscript commands is kept stable.2606 *2607 * This is usually called during the HEAD region of your style:2608 *2609 * <code>2610 * <HTML>2611 * <HEAD>2612 * <!-- Further HEAD Tags -->2613 * <?php echo $_MIDCOM->print_jscripts(); ?>2614 * </HEAD>2615 * </HTML>2616 * </code>2617 *2618 * @see midcom_application::add_jsfile();2619 * @see midcom_application::add_jscript();2620 * @see midcom_application::add_jsonload();2621 * @see midcom_application::print_jsonload();2622 *2623 * @deprecated This function is deprecated as of MidCOM 2.2, being replaced by print_head_elements,2624 * the call is releated to that function by default.2625 * @see midcom_application::print_head_elements();2626 */2627 function print_jscripts() {2628 debug_add('DEPRECATED FUNCTION USED: midcom_application::print_jscripts().', MIDCOM_LOG_WARN);2629 $this->print_head_elements();2630 }2631 2632 /**2633 * Echo the registred javascript code.2634 *2635 2599 * This allows MidCOM components to register JavaScript code 2636 2600 * during page processing. The site style code can then query this queued-up code trunk/midcom/midcom.core/midcom/services/_sessioning.php
r11359 r11878 61 61 function midcom_service__sessioning() 62 62 { 63 debug_push_class(__CLASS__, __FUNCTION__);64 63 static $started = false; 65 64 66 65 if ($started) 67 66 { 68 debug_pop();69 67 $_MIDCOM->generate_error("MidCOM Sessioning has already been started, it must not be started twice. Aborting", 70 68 MIDCOM_ERRCRIT); … … 75 73 @session_start(); 76 74 77 debug_print_r("SESSION: Dump of the current complete session", $_SESSION);78 79 75 // Disable caching for sessioned requests 80 $ GLOBALS["midcom"]->cache->content->no_cache();76 $_MIDCOM->cache->content->no_cache(); 81 77 82 78 // Check for session data and load or initialize it, if neccessary … … 86 82 $_SESSION["midcom_session_data"]["midcom.service.sessioning"]["startup"] = serialize(time()); 87 83 } 88 89 debug_print_r("SESSION: Dump after construction (serialized)", $_SESSION["midcom_session_data"]);90 debug_pop();91 84 } 92 85
