Changeset 14392
- Timestamp:
- 01/12/08 20:03:05 (9 months ago)
- Files:
-
- trunk/midcom/fi.protie.navigation/main.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/request.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/core/object.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/manifest.php (modified) (6 diffs)
- trunk/midcom/midcom.core/midcom/helper/_componentloader.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/itemlist.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/i18n.php (modified) (16 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/rcs/handler/rcs.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager/datamanager.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.replicator/helpers.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.replicator/importer.php (modified) (1 diff)
- trunk/midcom/midcom.helper.replicator/subscription.php (modified) (1 diff)
- trunk/midcom/net.nemein.discussion/helper_email_import.php (modified) (1 diff)
- trunk/midcom/no.bergfald.rcs/rcs.php (modified) (2 diffs)
- trunk/midcom/no.odindata.quickform2/factory.php (modified) (3 diffs)
- trunk/midcom/org.openpsa.calendar/participant_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.invoices/invoice.php (modified) (1 diff)
- trunk/midcom/org.openpsa.invoices/invoice_hour.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/expense_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/hour_report_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/resource_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/task_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/task_status_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.relatedto/relatedto.php (modified) (1 diff)
- trunk/midcom/org.openpsa.sales/salesproject.php (modified) (1 diff)
- trunk/midcom/org.openpsa.sales/salesproject_member.php (modified) (1 diff)
- trunk/midcom/org.routamc.gallery/handler/view.php (modified) (1 diff)
- trunk/midcom/org.routamc.statusmessage/message.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/fi.protie.navigation/main.php
r14380 r14392 42 42 * 43 43 * @access private 44 * @var objectmidcom_helper_nav44 * @var midcom_helper_nav 45 45 */ 46 46 var $_nap = null; trunk/midcom/midcom.core/midcom/baseclasses/components/request.php
r14389 r14392 211 211 * classes can of course define more then one request handler. 212 212 * 213 * A plugin class must be a descendant of Midcom_baseclasses_components_handler or at213 * A plugin class must be a descendant of midcom_baseclasses_components_handler or at 214 214 * least support its full interface. 215 215 * trunk/midcom/midcom.core/midcom/baseclasses/core/object.php
r11859 r14392 9 9 10 10 /** 11 * This is the base class for all objects within the MidCOM core. Usually you should12 * not need to inherit from this class directly, as all baseclasses made available13 * for usage are somehow derived from this class.11 * This is the base class for all objects within the MidCOM core. 12 * Usually you should not need to inherit from this class directly, as all 13 * baseclasses made available for usage are somehow derived from this class. 14 14 * 15 * A not eable exception are all inherited MgdSchema driven database classes, which15 * A notable exception are all inherited MgdSchema driven database classes, which 16 16 * are not inherited from this class. 17 17 * trunk/midcom/midcom.core/midcom/core/manifest.php
r14329 r14392 219 219 /** 220 220 * This is the translated, full component name obtained by looking up the string 221 * $name in the l10n library $name. This member is only populated on demand by the 222 * get_translated_name() function. 221 * $name in the l10n library $name. 222 223 * This member is only populated on demand by the get_translated_name() function. 223 224 */ 224 225 var $name_translated = null; … … 247 248 248 249 /** 249 * Privileges array definition. Indexes are the full privilege names (including the component 250 * Privileges array definition. 251 * 252 * Indexes are the full privilege names (including the component 250 253 * prefix), values are arrays holding the global / owner privilege default. 251 254 * … … 257 260 258 261 /** 259 * A list of class definition filenames (all looked up in the components configuration 260 * directory). 262 * A list of class definition filenames 263 * 264 * (all looked up in the components configuration directory). 261 265 * 262 266 * @var array … … 272 276 273 277 /** 274 * Custom place to extend the schema, the array holds data indexed by the component name 278 * Custom place to extend the schema. 279 * 280 * The array holds data indexed by the component name 275 281 * they are relevant to. 276 282 * … … 286 292 /** 287 293 * The constructor loads the manifest indicated by the filename passed to it. 294 * 288 295 * If it is a relative path, it is evaluated against MIDCOM_ROOT. Otherwise, 289 296 * the file is accessed directly. … … 366 373 /** 367 374 * This is an internal startup helper which extracts and post-processes the privilege 368 * definitions in the loaded manifest information. It will not complete any missing 369 * owner default privileges, this is done by the Authentication service upon privilege 370 * registering. 375 * definitions in the loaded manifest information. 376 * 377 * It will not complete any missing owner default privileges, this is done by the 378 * Authentication service upon privilege registering. 371 379 * 372 380 * @access protected trunk/midcom/midcom.core/midcom/helper/_componentloader.php
r14380 r14392 42 42 * required SnippetDirs. 43 43 * 2. Load all Snippets related with the MidCOM Interface Concept 44 * Classes and instantiate the Mid comand Component concept44 * Classes and instantiate the MidCOM and Component concept 45 45 * classes, initialize the Component. Check whether all 46 46 * required concept classes exist. trunk/midcom/midcom.core/midcom/helper/itemlist.php
r14328 r14392 82 82 * 83 83 * 84 * @return string Mid comstylename.84 * @return string MidCOM stylename. 85 85 */ 86 86 trunk/midcom/midcom.core/midcom/services/i18n.php
r14327 r14392 10 10 11 11 /** 12 * This is a basic Mid comService which provides an interfaces to the13 * various I18n facilities of Mid com.12 * This is a basic MidCOM Service which provides an interfaces to the 13 * various I18n facilities of MidCOM. 14 14 * 15 15 * The I18n service serves as a central access point for all aspects … … 48 48 49 49 /** 50 * Preferred languages extracted out of the HTTP content negotiation. Array 51 * keys are the languages, the value is their q-index. 50 * Preferred languages extracted out of the HTTP content negotiation. 51 * 52 * Array keys are the languages, the value is their q-index. 52 53 * 53 54 * @var Array … … 57 58 58 59 /** 59 * Preferred charsets extracted out of the HTTP content negotiation. Array 60 * keys are the charsets, the value is their q-index. 60 * Preferred charsets extracted out of the HTTP content negotiation. 61 * 62 * Array keys are the charsets, the value is their q-index. 61 63 * 62 64 * @var Array … … 66 68 67 69 /** 68 * Stores the associative array stored in the cookie 69 * "midcom_services_i18n" which contains the keys "language" and 70 * Stores the associative array stored in the cookie "midcom_services_i18n" 71 * 72 * Contains the keys "language" and 70 73 * "charset" or null if the cookie was not set. 71 74 * … … 84 87 85 88 /** 86 * Cache of all instantiated localization classes. They are delivered 87 * by reference to all clients. 89 * Cache of all instantiated localization classes. 90 * 91 * They are delivered by reference to all clients. 88 92 * 89 93 * @var Array … … 101 105 102 106 /** 103 * Current language for content. May be different than the UI language 107 * Current language for content. 108 * 109 * May be different than the UI language 104 110 * 105 111 * @var string … … 109 115 110 116 /** 111 * Current Midgard language ID for content. May be different than the UI language 117 * Current Midgard language ID for content. 118 * 119 * May be different than the UI language 112 120 * 113 121 * @var string … … 125 133 126 134 /** 127 * List of different language versions of the site in the format128 * of an array indexed by language ID and containing midgard_host129 * objects135 * List of different language versions of the site 136 * 137 * Format: An array indexed by language ID and containing midgard_host objects 130 138 * 131 139 * @var array … … 136 144 /** 137 145 * This method initializes the available i18n framework by determining 138 * the desired language from these different sources: HTTP Content 139 * Negotiation, Client side language cookie. It uses the MidCOM Language 140 * database now located at /midcom/services/i18n/_i18n_language-db for 141 * any decisions. Its two parameters set the default language in case 142 * that none is supplied via HTTP Content Negotiation or through Cookies. 146 * the desired language from these different sources: HTTP Content 147 * Negotiation, Client side language cookie. 148 * 149 * It uses the MidCOM Language database now located at 150 * /midcom/services/i18n/_i18n_language-db for any decisions. Its two 151 * parameters set the default language in case that none is supplied 152 * via HTTP Content Negotiation or through Cookies. 143 153 * 144 154 * The default language set on startup is currently hardcoded to en … … 411 421 412 422 /** 413 * Returns a l10n class instance (see the snippet documentation at414 * /midcom/services/_i18n_l10n for details) which can be used to415 * access the localization data of the current component. Using the416 * special name "midcom" you will get the midcom core l10n library.423 * Returns a l10n class instance which can be used to 424 * access the localization data of the current component. 425 * 426 * Using the special name "midcom" you will get the midcom core l10n library. 417 427 * 418 428 * Note that you are receiving a reference here. 419 429 * 430 * @see midcom_services__i18n_l10n 420 431 * @param string $component The component for which to retrieve a string database. 421 432 * @param string $database The string table to retrieve from the component's locale directory. … … 463 474 464 475 /** 465 * This is a shortcut for echo $this->get_string(...);. To keep the naming stable with the actual 466 * l10n class, this is not called echo_string (Zend won't allow $l10n->echo().) 476 * This is a shortcut for echo $this->get_string(...);. 477 * 478 * To keep the naming stable with the actual l10n class, this is not called 479 * echo_string (Zend won't allow $l10n->echo().) 467 480 * 468 481 * @param string $stringid The string to translate. … … 480 493 481 494 /** 482 * Load the specified l10n library. If loading the library failed, generate_error 483 * is called, otherwise the l10n db cache is populated accordingly. 495 * Load the specified l10n library. 496 * 497 * If loading the library failed, generate_error is called, otherwise the l10n 498 * db cache is populated accordingly. 484 499 * 485 500 * @param string $component The component for which to retrieve a string database. … … 597 612 * This method pulls available language and content type data out of 598 613 * the HTTP Headers delivered by the browser and populates the member 599 * variables $_http_lang and $_http_content_type. q-parameters for 600 * prioritization are supported. 614 * variables $_http_lang and $_http_content_type. 615 * 616 * q-parameters for prioritization are supported. 601 617 */ 602 618 function _read_http_negotiation () … … 728 744 729 745 /** 730 * This is a calling wrapper to the iconv library. See the PHP iconv() function 731 * for the exact parameter definitions. 746 * This is a calling wrapper to the iconv library. 747 * 748 * See the PHP iconv() function for the exact parameter definitions. 732 749 * 733 750 * @param string $source_charset The charset to convert from. … … 786 803 787 804 /** 788 * Converts the given string to the current site charset. The charset should be 789 * specified explicitly, as autodetection is very very error prone (though sometimes 790 * you don't have a choice). 805 * Converts the given string to the current site charset. 806 * 807 * The charset should be specified explicitly, as autodetection is very 808 * very error prone (though sometimes you don't have a choice). 791 809 * 792 810 * @param string $string The string to convert. … … 806 824 807 825 /** 808 * Charset-aware replacement of html_entity_decode. Uses Iconv to modify the 809 * HTML_ENTITIES translation tables. 826 * Charset-aware replacement of html_entity_decode. 827 * 828 * Uses Iconv to modify the HTML_ENTITIES translation tables. 810 829 * 811 830 * In addition, this will drop all numeric HTML entities. trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php
r14391 r14392 31 31 /** 32 32 * The xml factory class 33 * @var objectmidcom_services_indexer_solrDocumentFactory33 * @var midcom_services_indexer_solrDocumentFactory 34 34 */ 35 35 private $factory = null; 36 36 /** 37 37 * The http_request wrapper 38 * @var objectmidcom_services_indexer_solrRequest38 * @var midcom_services_indexer_solrRequest 39 39 */ 40 40 private $request = null; trunk/midcom/midcom.core/midcom/services/rcs/handler/rcs.php
r14328 r14392 24 24 /** 25 25 * Backend object 26 * @var object midcom_servcies_rcs_backend 26 * 27 * @var midcom_servcies_rcs_backend 27 28 * @access private 28 29 */ … … 31 32 /** 32 33 * Pointer to the diff object 34 * 33 35 * @access private 34 * @var objecttext_diff36 * @var text_diff 35 37 */ 36 38 var $_diff = null; trunk/midcom/midcom.helper.datamanager/datamanager.php
r14391 r14392 79 79 * datamanager_datatype_", while the widget object names use "midcom_helper_ 80 80 * datamanager_widget_" as prefix. If you want custom datatypes or widgets not 81 * given by Mid com, prefix them with "custom_", i.e. "midcom_helper_datamanager_81 * given by MidCOM, prefix them with "custom_", i.e. "midcom_helper_datamanager_ 82 82 * datatype_custom_mydatatype". 83 83 * … … 1116 1116 $this->_update_nemein_rcs(); 1117 1117 $_MIDCOM->cache->invalidate($this->_storage->guid()); 1118 debug_add("Invalidated Mid comCache.");1118 debug_add("Invalidated MidCOM Cache."); 1119 1119 } 1120 1120 trunk/midcom/midcom.helper.replicator/helpers.php
r14390 r14392 50 50 * it (otherwise properly) inside MidCOM application 51 51 * 52 * @param string $xml reference to importable XML52 * @param string &$xml reference to importable XML 53 53 * @param boolean $use_force whether to use force 54 54 * @return array of objects unserialized from XML (or false for failure) … … 86 86 * Workaround for Zend bug regarding object handling inside methods 87 87 * 88 * @param string $xml reference to importable XML88 * @param string &$xml reference to importable XML 89 89 * @param boolean $use_force whether to use force 90 90 * @return boolean indicating success/failure trunk/midcom/midcom.helper.replicator/importer.php
r14390 r14392 93 93 * This should be overridden in subclasses for more contextual handling of dependencies. 94 94 * 95 * @param string $xml XML replication content95 * @param string &$xml XML replication content 96 96 * @param boolean $use_force Whether to force importing 97 97 * @return boolean Whether importing was successful trunk/midcom/midcom.helper.replicator/subscription.php
r14322 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package midcom.helper.replicator trunk/midcom/net.nemein.discussion/helper_email_import.php
r14329 r14392 478 478 * Rewrites org_openpsa_mail object properties according to configuration 479 479 * 480 * @param object $mail reference to org_openpsa_mail object480 * @param object &$mail reference to org_openpsa_mail object 481 481 * @return boolean indicating success/failure 482 482 */ trunk/midcom/no.bergfald.rcs/rcs.php
r14328 r14392 26 26 * Backend object 27 27 * 28 * @var objectno_nu_versoning_backend28 * @var no_nu_versoning_backend 29 29 * @access private 30 30 */ … … 35 35 * 36 36 * @access private 37 * @var objecttext_diff37 * @var text_diff 38 38 */ 39 39 var $_diff = null; trunk/midcom/no.odindata.quickform2/factory.php
r14380 r14392 15 15 /** 16 16 * The schema to use. Public until the controller is loaded. 17 * @var array ;17 * @var array 18 18 * @access public 19 19 */ … … 21 21 22 22 /** 23 * @var object midcom_helper_config23 * @var midcom_helper_configuration 24 24 */ 25 25 var $config = null; … … 33 33 /** 34 34 * Datamanager controller 35 * @var object midcom.helper.datamanager235 * @var midcom_helper_datamanager2controller 36 36 */ 37 37 var $_controller; trunk/midcom/org.openpsa.calendar/participant_midcomdba.php
r14380 r14392 8 8 9 9 /** 10 * Mid comwants this class present and QB etc use this, so keep logic here10 * MidCOM wants this class present and QB etc use this, so keep logic here 11 11 * @package org.openpsa.calendar 12 12 */ trunk/midcom/org.openpsa.invoices/invoice.php
r13025 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.openpsa.invoices trunk/midcom/org.openpsa.invoices/invoice_hour.php
r4794 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.openpsa.invoices trunk/midcom/org.openpsa.projects/expense_midcomdba.php
r14085 r14392 8 8 9 9 /** 10 * Mid comwrapped access to the MgdSchema class, keep logic here10 * MidCOM wrapped access to the MgdSchema class, keep logic here 11 11 * 12 12 * @package org.openpsa.projects trunk/midcom/org.openpsa.projects/hour_report_midcomdba.php
r14085 r14392 8 8 9 9 /** 10 * Mid comwrapped access to the MgdSchema class, keep logic here10 * MidCOM wrapped access to the MgdSchema class, keep logic here 11 11 * 12 12 * @package org.openpsa.projects trunk/midcom/org.openpsa.projects/resource_midcomdba.php
r14085 r14392 8 8 9 9 /** 10 * Mid comwrapped access to the MgdSchema class, keep logic here10 * MidCOM wrapped access to the MgdSchema class, keep logic here 11 11 * 12 12 * @package org.openpsa.projects trunk/midcom/org.openpsa.projects/task_midcomdba.php
r14327 r14392 8 8 9 9 /** 10 * Mid comwrapped access to the MgdSchema class, keep logic here10 * MidCOM wrapped access to the MgdSchema class, keep logic here 11 11 * 12 12 * @package org.openpsa.projects trunk/midcom/org.openpsa.projects/task_status_midcomdba.php
r4794 r14392 9 9 10 10 /** 11 * Mid comwrapped access to the MgdSchema class, keep logic here11 * MidCOM wrapped access to the MgdSchema class, keep logic here 12 12 * @package org.openpsa.projects 13 13 */ trunk/midcom/org.openpsa.relatedto/relatedto.php
r13625 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.openpsa.relatedto trunk/midcom/org.openpsa.sales/salesproject.php
r14180 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.openpsa.sales trunk/midcom/org.openpsa.sales/salesproject_member.php
r6154 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.openpsa.sales trunk/midcom/org.routamc.gallery/handler/view.php
r14387 r14392 33 33 * Photo shown on the page 34 34 * 35 * @var org_routamc_photostream_photo $_photo35 * @var org_routamc_photostream_photo_dba $_photo 36 36 */ 37 37 var $_photo; trunk/midcom/org.routamc.statusmessage/message.php
r6148 r14392 9 9 10 10 /** 11 * Mid comwrapped base class, keep logic here11 * MidCOM wrapped base class, keep logic here 12 12 * 13 13 * @package org.routamc.statusmessage
