Changeset 13625
- Timestamp:
- 11/25/07 12:00:49 (11 months ago)
- Files:
-
- trunk/midcom/com.magnettechnologies.contactgrabber/lib/gmail/libgmailer.php (modified) (1 diff)
- trunk/midcom/midcom.core/documentation/CHANGES (modified) (8 diffs)
- trunk/midcom/midcom.core/midcom.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/application.php (modified) (11 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/cron_handler.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/handler.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/request.php (modified) (8 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/request_admin.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/core/dbobject.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/database/article.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/database/topic.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/collector.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/handler/configdm.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/core/manifest.php (modified) (7 diffs)
- trunk/midcom/midcom.core/midcom/core/privilege.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/querybuilder.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/debug.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/_basicnav.php (modified) (7 diffs)
- trunk/midcom/midcom.core/midcom/helper/_componentloader.php (modified) (7 diffs)
- trunk/midcom/midcom.core/midcom/helper/configuration.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/helper/imagefilter.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/helper/mailtemplate.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/helper/metadata.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/helper/misc.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/nav.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/helper/toolbar.php (modified) (6 diffs)
- trunk/midcom/midcom.core/midcom/services/_i18n_l10n.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/_sessioning.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/auth.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/services/auth/backend.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/auth/frontend.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/backend.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/backend/dba.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/backend/flatfile.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/backend/memcached.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/module.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/module/memcache.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/module/nap.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/services/dbclassloader.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/i18n.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer.php (modified) (7 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/backend.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/backend/xmlshell.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/backend/xmltcp.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/document.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager2.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/permalinks.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/session.php (modified) (4 diffs)
- trunk/midcom/midcom.helper.datamanager/datamanager.php (modified) (8 diffs)
- trunk/midcom/midcom.helper.datamanager/datatype.php (modified) (9 diffs)
- trunk/midcom/midcom.helper.datamanager/datatype_collection.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/static/contactchooser_ajax.js (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/widget.php (modified) (4 diffs)
- trunk/midcom/midcom.helper.datamanager/widget_contactchooser.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/csv.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/datamanager.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/formmanager/ajax.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/schema.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/storage.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/blobs.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/type/composite.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/image.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/type/mnrelation.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/parameters.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/privilege.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/privilegeset.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/select.php (modified) (3 diffs)
- trunk/midcom/midcom.helper.datamanager2/type/table.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/video.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/widget.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/widget/captcha.php (modified) (1 diff)
- trunk/midcom/midcom.helper.replicator/exec/export_archive.php (modified) (1 diff)
- trunk/midcom/midcom.helper.replicator/exporter/fulldump.php (modified) (1 diff)
- trunk/midcom/midcom.services.at/entry.php (modified) (1 diff)
- trunk/midcom/midgard.admin.acl/acl_editor.php (modified) (1 diff)
- trunk/midcom/midgard.admin.asgard/reflector_tree.php (modified) (1 diff)
- trunk/midcom/midgard.admin.wizards/viewer.php (modified) (2 diffs)
- trunk/midcom/net.fernmark.pedigree/exec/universalchooser_createhandler.php (modified) (1 diff)
- trunk/midcom/net.nehmer.account/admin.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.account/handler/publish.php (modified) (1 diff)
- trunk/midcom/net.nehmer.account/handler/register.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.account/viewer.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.blog/handler/archive.php (modified) (1 diff)
- trunk/midcom/net.nehmer.blog/locale/default.en.txt (modified) (1 diff)
- trunk/midcom/net.nehmer.branchenbuch/admin.php (modified) (1 diff)
- trunk/midcom/net.nehmer.branchenbuch/callbacks/searchbase.php (modified) (1 diff)
- trunk/midcom/net.nehmer.branchenbuch/handler/addentry.php (modified) (3 diffs)
- trunk/midcom/net.nehmer.branchenbuch/handler/admin/manage.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.buddylist/callbacks/categorylister.php (modified) (1 diff)
- trunk/midcom/net.nehmer.jobmarket/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/net.nehmer.mail/admin.php (modified) (1 diff)
- trunk/midcom/net.nehmer.mail/handler/mailbox/admin.php (modified) (1 diff)
- trunk/midcom/net.nehmer.marketplace/callbacks/categorylister.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/callbacks/categorylister.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/handler/archive.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/query.php (modified) (1 diff)
- trunk/midcom/net.nemein.beaexporter/main.php (modified) (4 diffs)
- trunk/midcom/net.nemein.bookmarks/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.bookmarks/locale/default.dat (modified) (1 diff)
- trunk/midcom/net.nemein.calendar/handler/archive.php (modified) (1 diff)
- trunk/midcom/net.nemein.discussion/helper_email_import.php (modified) (1 diff)
- trunk/midcom/net.nemein.organizations/handler/search.php (modified) (1 diff)
- trunk/midcom/net.nemein.organizations/handler/view.php (modified) (1 diff)
- trunk/midcom/net.nemein.payment/handler.php (modified) (1 diff)
- trunk/midcom/net.nemein.payment/handler/paypal.php (modified) (4 diffs)
- trunk/midcom/net.nemein.personnel/handler/search.php (modified) (1 diff)
- trunk/midcom/net.nemein.personnel/handler/view.php (modified) (1 diff)
- trunk/midcom/net.nemein.registrations/event.php (modified) (3 diffs)
- trunk/midcom/net.nemein.registrations/registrar.php (modified) (1 diff)
- trunk/midcom/net.nemein.registrations/registration.php (modified) (1 diff)
- trunk/midcom/net.nemein.rss/magpierss/rss_parse.inc (modified) (1 diff)
- trunk/midcom/net.nemein.supportview/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.tag/tag.php (modified) (1 diff)
- trunk/midcom/net.nemein.tag/tag_link.php (modified) (1 diff)
- trunk/midcom/net.nemein.teams/viewer.php (modified) (2 diffs)
- trunk/midcom/net.nemein.wiki/exec/import-moinmoin.php (modified) (1 diff)
- trunk/midcom/net.nemein.wiki/notes.php (modified) (1 diff)
- trunk/midcom/no.bergfald.rcs/backends/nemein_rcs_functions.php (modified) (1 diff)
- trunk/midcom/org.maemo.calendar/callbacks/personstags.php (modified) (1 diff)
- trunk/midcom/org.maemo.calendar/callbacks/timezones.php (modified) (1 diff)
- trunk/midcom/org.maemo.calendar/handler/profile/publish.php (modified) (1 diff)
- trunk/midcom/org.maemo.calendar/static/js/jquery.blockUI.js (modified) (1 diff)
- trunk/midcom/org.maemo.socialnews/handler/archive.php (modified) (1 diff)
- trunk/midcom/org.openpsa.calendar/calendar_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.calendar/documentation/CHANGES (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/duplicates_merge.php (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/exec/universalchooser_createhandler.php (modified) (2 diffs)
- trunk/midcom/org.openpsa.contacts/group_handler.php (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/person_handler.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/campaign_ruleresolver.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/config/mgdschema.xml (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/handler/message/compose.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/style/show-campaign-list-item.php (modified) (1 diff)
- trunk/midcom/org.openpsa.helpers/messages.php (modified) (1 diff)
- trunk/midcom/org.openpsa.helpers/static/messages.js (modified) (1 diff)
- trunk/midcom/org.openpsa.helpers/vx_parser.php (modified) (6 diffs)
- trunk/midcom/org.openpsa.mail/main.php (modified) (9 diffs)
- trunk/midcom/org.openpsa.projects/config/mgdschema.xml (modified) (3 diffs)
- trunk/midcom/org.openpsa.projects/documentation/CHANGES (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/projectbroker.php (modified) (1 diff)
- trunk/midcom/org.openpsa.queries/query.php (modified) (1 diff)
- trunk/midcom/org.openpsa.relatedto/handler_prototype.php (modified) (9 diffs)
- trunk/midcom/org.openpsa.relatedto/relatedto.php (modified) (1 diff)
- trunk/midcom/org.openpsa.reports/documentation/CHANGES (modified) (1 diff)
- trunk/midcom/org.openpsa.reports/handler/projects/report.php (modified) (1 diff)
- trunk/midcom/org.routamc.gallery/gallery_helper.php (modified) (1 diff)
- trunk/midcom/static/jQuery/jquery.tablesorter.js (modified) (2 diffs)
- trunk/midcom/static/jQuery/ui/ui.tablesorter.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/com.magnettechnologies.contactgrabber/lib/gmail/libgmailer.php
r12590 r13625 4424 4424 array("id" => "error", 4425 4425 "name" => "libgmailer Error", 4426 "email" => "libgmailer@error.nonexist ant",4426 "email" => "libgmailer@error.nonexistent", 4427 4427 "is_group" => 0, 4428 4428 "notes" => "libgmailer could not find the Contacts information " trunk/midcom/midcom.core/documentation/CHANGES
r13624 r13625 64 64 $this->_midcom =& $GLOBALS['midcom']; to use the $_MIDCOM autoglobal 65 65 instead. 66 + Added support for automatically instanti nated classes to the request base66 + Added support for automatically instantiated classes to the request base 67 67 classes. This introduced a new base class as well. 68 68 + Added support for skipping the page style during the handle phase, mainly … … 167 167 168 168 - Datamanager 169 - Activated ENT_QUOTES mode for htmlspecialchars where nec cessary.169 - Activated ENT_QUOTES mode for htmlspecialchars where necessary. 170 170 - Fixed several typos for the smiley configuration of the 171 171 communityhtml datatype … … 191 191 - Core 192 192 + Added support for the can_handle phase to the request base class. 193 + Added support for dynamically instanti nated handler classes to the193 + Added support for dynamically instantiated handler classes to the 194 194 request base class. 195 195 … … 645 645 see the datatype's documentation for details. 646 646 + Added a Mailtemplate datatype and widget. They store all 647 information nec cessary to dynamically build an E-Mail.647 information necessary to dynamically build an E-Mail. 648 648 See the datatype_mailtemplate for details. There is no 649 649 configurability whatsoever, so datatype=>"mailtemplate" should … … 918 918 changed the inline JavaScript code to serve-snippet calls. 919 919 - Image Datatype now removes any ICC color profile in any generated 920 files (thumbs and, where nec cessary, fullscale images), as they can920 files (thumbs and, where necessary, fullscale images), as they can 921 921 get quite big if they are present. 922 922 - Fixed a bug in the image datatype not honoring the jpeg thumbnail … … 955 955 - Fixed Bug #292, missing global declaration of $midcom_errstr. 956 956 - Core now checks for missing root content topic upon 957 instanti nation of midcom_application. This fixes bug #227.957 instantiation of midcom_application. This fixes bug #227. 958 958 - Caching engine can be disabled now by setting the global variable 959 959 midcom_helper__cache_disable to true prior MidCOM initialization. … … 1077 1077 $view-Array at the index "_schema". This solves feature request 1078 1078 #463. 1079 - BLOB-Datatype: Sup ressed error messages from getimagesize call1079 - BLOB-Datatype: Suppressed error messages from getimagesize call 1080 1080 as this is handled by MidCOM properly. 1081 1081 ! BLOB-Datatype: Moved all parameters to the same domain. Everything … … 1135 1135 + show_simple_nav is a method that allows you to build a 1136 1136 complete navigation system from scratch, using a simple 1137 config array. It will create you everything nec cessary, and1137 config array. It will create you everything necessary, and 1138 1138 also features a negative indenting to support multiline 1139 1139 navigation entries. See the snippet documentation of trunk/midcom/midcom.core/midcom.php
r13572 r13625 164 164 //mgd_debug_start(); 165 165 ///////////////////////////////////// 166 // Instanti nate the MidCOM main class166 // Instantiate the MidCOM main class 167 167 require('midcom/application.php'); 168 168 trunk/midcom/midcom.core/midcom/application.php
r13590 r13625 19 19 * - Provide some very basic Helper Functions for snippet loading and error-page 20 20 * generation 21 * - Evaluate the URL and activate the requi ered components.22 * - Provide a mechanism to dyn maically load a second component during a page21 * - Evaluate the URL and activate the required components. 22 * - Provide a mechanism to dynamically load a second component during a page 23 23 * run. 24 * - Provide a specialized mechanism to dynamically invo cate a component's24 * - Provide a specialized mechanism to dynamically invoke a component's 25 25 * Administration Interface. 26 26 * - Provide a basic context mechanism that allows each independant component … … 723 723 } 724 724 725 // Parser Init: Generate arguments and instanti nate it.725 // Parser Init: Generate arguments and instantiate it. 726 726 $this->_parser = $this->serviceloader->load('midcom_core_service_urlparser'); 727 727 $argv = $this->_parser->tokenize($url); … … 784 784 * Exit from the framework, execute after all output has been made. 785 785 * 786 * Does all nec cessary clean-up work. Must be called after output is completed as786 * Does all necessary clean-up work. Must be called after output is completed as 787 787 * the last call of any MidCOM Page. Best Practice: call it at the end of the ROOT 788 788 * style element. … … 831 831 * Details: The logic will traverse the node tree and for each node it will load 832 832 * the component that is responsible for it. This component gets the chance to 833 * accep pt the request (this is encaspulated in the _can_handle call), which is833 * accept the request (this is encaspulated in the _can_handle call), which is 834 834 * basically a call to can_handle. If the component declares to be able to handle 835 835 * the call, its handle function is executed. Depending if the handle was successful … … 1092 1092 else 1093 1093 { 1094 debug_add("_process finished suc essfully", MIDCOM_LOG_DEBUG);1094 debug_add("_process finished successfully", MIDCOM_LOG_DEBUG); 1095 1095 $this->_status = MIDCOM_STATUS_CONTENT; 1096 1096 debug_pop(); … … 1388 1388 /** 1389 1389 * Return the prefix required to build relative links on the current site. 1390 * This includes the http[s] prefix, the hosts port (if nec cessary) and the1390 * This includes the http[s] prefix, the hosts port (if necessary) and the 1391 1391 * base url of the Midgard Page. Be aware, that this does *not* point to the 1392 1392 * base host of the site, which is an important distinction for example in AIS. … … 1409 1409 /** 1410 1410 * Return the prefix required to build relative links on the current site. 1411 * This includes the http[s] prefix, the hosts port (if nec cessary) and the1412 * base url of the main host. This is not nec cessarily the currently active1411 * This includes the http[s] prefix, the hosts port (if necessary) and the 1412 * base url of the main host. This is not necessarily the currently active 1413 1413 * MidCOM Page however, use the get_page_prefix() function for that. 1414 1414 * … … 1461 1461 * since you mostly will access it in context 0, the default. Only the AIS 1462 1462 * currently uses different context IDs. The problem is, that this is not 100% 1463 * efficient: If you instanti nate two different NAP Classes in different contexts1463 * efficient: If you instantiate two different NAP Classes in different contexts 1464 1464 * both referring to the same root node, you will get two different instances. 1465 1465 * … … 2049 2049 * generate_error - Generate HTTP Error 2050 2050 * load_snippet - Load a snippet with error-checking 2051 * serve_snippet - Serves snippet including all nec cessary headers2052 * serve_attachment - Serves attachment including all nec cessary headers2051 * serve_snippet - Serves snippet including all necessary headers 2052 * serve_attachment - Serves attachment including all necessary headers 2053 2053 * get_midgard - Returns mgd_get_midgard with updated "self" member 2054 2054 * _l10n_edit_wrapper - Invoces the l10n string editor … … 2281 2281 $expire = (int) $expire; 2282 2282 } 2283 // This is nec cessary, as the internal date representation is not HTTP2283 // This is necessary, as the internal date representation is not HTTP 2284 2284 // standard compilant. :-( 2285 2285 $lastmod = strtotime($snippet->revised); … … 2355 2355 $etag = md5("{$last_modified}{$attachment->name}{$attachment->mimetype}{$attachment->guid}"); 2356 2356 2357 // Check etag and return 304 if nec cessary2357 // Check etag and return 304 if necessary 2358 2358 if ( $expires <> 0 2359 2359 && $this->cache->content->_check_not_modified($last_modified, $etag)) trunk/midcom/midcom.core/midcom/baseclasses/components/cron_handler.php
r12418 r13625 61 61 62 62 /** 63 * This is a reference to the Component Interface class. It is loaded during class instanti nation63 * This is a reference to the Component Interface class. It is loaded during class instantiation 64 64 * and only available for baseclass driven component interfaces, not for legacy classes. 65 65 * trunk/midcom/midcom.core/midcom/baseclasses/components/handler.php
r11910 r13625 143 143 /** 144 144 * Initializes the request handler class, called by the component interface after 145 * instanti nation. Required to allow safe $this references during startup.145 * instantiation. Required to allow safe $this references during startup. 146 146 * 147 147 * Be aware that it is possible that a handler can come from a different component trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php
r13590 r13625 524 524 /** 525 525 * Configures the component for usage. The configuration is merged, and, 526 * if nec cessary, an existing handler object is purged.526 * if necessary, an existing handler object is purged. 527 527 * 528 528 * @param mixed $configuration A configuration data list, suitable for merging with a … … 930 930 * This is an event handler, called after the basic component initialization has been done 931 931 * just before the initialize call will return to MidCOM. 932 * It should prepare all nec cessary information to start processing requests.932 * It should prepare all necessary information to start processing requests. 933 933 * 934 934 * Unless you need more functionality then snippet and library loading, configuration merging trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php
r13590 r13625 9 9 10 10 /** 11 * Base class to encaspulate a NAP interface. Does all the nec cessary work for11 * Base class to encaspulate a NAP interface. Does all the necessary work for 12 12 * setting the object to the right topic. you just have to fill the gaps for 13 13 * getting the leaves and node data. trunk/midcom/midcom.core/midcom/baseclasses/components/request.php
r13590 r13625 48 48 * - <b>mixed handler:</b> This is a definition of what method should be invoked to 49 49 * handle the request. You have two options here. First you can refer to a method of this 50 * request handler class, in that case you just supply the name of the method. Alternativ ly,50 * request handler class, in that case you just supply the name of the method. Alternatively, 51 51 * you can refer to an external class for request processing using an array syntax. The 52 52 * first array member must either contain the name of an existing class or a reference to … … 68 68 * 'handler' => 'view_registration' 69 69 * // 70 * // Alternative, use a class with automatic instanti nation:70 * // Alternative, use a class with automatic instantiation: 71 71 * // 'handler' => Array('net_nemein_registrations_regadmin', 'view') 72 72 * // … … 161 161 * 162 162 * The data array can also be accessed by using the $_request_data member of this class, 163 * which is the orig nal data storage location for the request data.163 * which is the original data storage location for the request data. 164 164 * 165 165 * Note, that the request data, for ease of use, already contains references to the L10n … … 175 175 * 176 176 * 177 * <b>Automatic handler class instanti nation</b>177 * <b>Automatic handler class instantiation</b> 178 178 * 179 179 * If you specify a class name instead of a class isntance as an exec handler, MidCOM will … … 468 468 /** 469 469 * Initializes the request handler class, called by the component interface after 470 * instanti nation. Required to allow safe $this references during startup.470 * instantiation. Required to allow safe $this references during startup. 471 471 * 472 472 * @param string $component The name of the component. … … 869 869 * this phase to load plugins that need registering in the request switch on demand. 870 870 * 871 * The advantage of this is that it is not nec cessary, to load all plugins completely,871 * The advantage of this is that it is not necessary, to load all plugins completely, 872 872 * you just have to know the "root" URL space (f.x. "/plugins/$name/"). 873 873 * … … 980 980 981 981 /** 982 * Loads the file/snippet nec cessary for a given plugin, according to its configuration.982 * Loads the file/snippet necessary for a given plugin, according to its configuration. 983 983 * 984 984 * @param string $namespace The plugin namespace to use. … … 1041 1041 1042 1042 /** 1043 * Prepares the actual plugin by adding all nec cessary information to the request1043 * Prepares the actual plugin by adding all necessary information to the request 1044 1044 * switch. 1045 1045 * trunk/midcom/midcom.core/midcom/baseclasses/components/request_admin.php
r13424 r13625 169 169 if ($data['datamanager'] == false) 170 170 { 171 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'Failed to instanti nate configuration datamanager.');171 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'Failed to instantiate configuration datamanager.'); 172 172 // This will exit. 173 173 } … … 190 190 /** 191 191 * Event handler, called after the configuration datamanager instance has been created but not yet 192 * initialized. Use this hook to modify the schema where nec cessary.192 * initialized. Use this hook to modify the schema where necessary. 193 193 * 194 194 * @param midcom_helper_datamanager $datamanager A reference(!) to the datamanager handling the request. … … 232 232 if (! $this->_handler['disable_return_to_topic']) 233 233 { 234 /* Add the toolbar items, if nec cessary */234 /* Add the toolbar items, if necessary */ 235 235 $this->_local_toolbar->add_item(Array( 236 236 MIDCOM_TOOLBAR_URL => '', trunk/midcom/midcom.core/midcom/baseclasses/core/dbobject.php
r13590 r13625 380 380 // END WORKAROUND 381 381 382 // Now assign all midgard privileges to the creator, this is nec cessary to get382 // Now assign all midgard privileges to the creator, this is necessary to get 383 383 // an owner like scheme to work by default. 384 384 // TODO: Check if there is a better solution like this. … … 1272 1272 * No event handlers are called here yet. 1273 1273 * 1274 * In case of a complete query, the result will be an a cciociative array indexed1274 * In case of a complete query, the result will be an associative array indexed 1275 1275 * by the domain name and containing another array with parameter name/value pairs. 1276 1276 * For example: trunk/midcom/midcom.core/midcom/baseclasses/database/article.php
r13424 r13625 112 112 * Statically callable method to get parent guid when object guid is given 113 113 * 114 * Uses midgard_collector to avoid unnec cessary full object loads114 * Uses midgard_collector to avoid unnecessary full object loads 115 115 * 116 116 * @param guid $guid guid of topic to get the parent for trunk/midcom/midcom.core/midcom/baseclasses/database/topic.php
r13424 r13625 42 42 * Statically callable method to get parent guid when object guid is given 43 43 * 44 * Uses midgard_collector to avoid unnec cessary full object loads44 * Uses midgard_collector to avoid unnecessary full object loads 45 45 * 46 46 * @todo when 1.8.1 is released convert to use single collector with linked guid property trunk/midcom/midcom.core/midcom/core/collector.php
r13590 r13625 595 595 * be kept in mind that this is a preliminary number, not a final one. 596 596 * 597 * Use this function with care. The information you obtain in general is negli ble, but a creative597 * Use this function with care. The information you obtain in general is negligible, but a creative 598 598 * mind might nevertheless be able to take advantage of it. 599 599 * trunk/midcom/midcom.core/midcom/core/handler/configdm.php
r13424 r13625 110 110 if ($data['datamanager'] == false) 111 111 { 112 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'Failed to instanti nate configuration datamanager.');112 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'Failed to instantiate configuration datamanager.'); 113 113 // This will exit. 114 114 } … … 131 131 /** 132 132 * Event handler, called after the configuration datamanager instance has been created but not yet 133 * initialized. Use this hook to modify the schema where nec cessary.133 * initialized. Use this hook to modify the schema where necessary. 134 134 * 135 135 * @param midcom_helper_datamanager $datamanager A reference(!) to the datamanager handling the request. … … 171 171 $this->_handler_configdm_prepare($handler_id, $data); 172 172 173 // Add the toolbar items, if nec cessary173 // Add the toolbar items, if necessary 174 174 $this->_view_toolbar->add_item 175 175 ( trunk/midcom/midcom.core/midcom/core/manifest.php
r13590 r13625 14 14 * <b>The Component Manifest</b> 15 15 * 16 * The Manifest contains all nec cessary information to deal with a component without16 * The Manifest contains all necessary information to deal with a component without 17 17 * actually having to load them. Originally, all of this information has been included 18 18 * in the component interface class itself, but this provides to be a rather slow … … 158 158 * 159 159 * The class is always intialized using a component name. It will load the components' 160 * manifest from disk, executing any post-processing nec cessary at that point (like160 * manifest from disk, executing any post-processing necessary at that point (like 161 161 * the completion of the privilege names). 162 162 * … … 179 179 * <b>History</b> 180 180 * 181 * Originally, MidCOM did retrieve all nec cessary information about a component by using181 * Originally, MidCOM did retrieve all necessary information about a component by using 182 182 * the main Component Interface Class, nowadays this is usually a subclass of 183 183 * midcom_baseclasses_components_interface. While this was certainly an easy solution, … … 187 187 * By the time of the implementation of this manifest, many places of the system (particular 188 188 * DBA and ACL) requires all components to be loaded to have access to class names, 189 * defined ACL privileges and similar things. This was rather time consuming and unnec cessary.189 * defined ACL privileges and similar things. This was rather time consuming and unnecessary. 190 190 * Hence the Manifest was introduced to be able to handle components without actually loading 191 191 * their interfaces. … … 204 204 205 205 /**#@+ 206 * Component meta-information, read and post-processed from the ma infest206 * Component meta-information, read and post-processed from the manifest 207 207 * file. 208 208 * … … 289 289 * the file is accessed directly. 290 290 * 291 * @param string $filename The name of the ma infest file to load.291 * @param string $filename The name of the manifest file to load. 292 292 * @param array $values the values the manifest uses. 293 293 */ … … 303 303 * This internal helper loads and evaluates the given manifest file. 304 304 * 305 * @param string $filename The name of the ma infest file to load.305 * @param string $filename The name of the manifest file to load. 306 306 * @return bool True if the manifest was successfully loaded, false otherwise. 307 307 * @access protected trunk/midcom/midcom.core/midcom/core/privilege.php
r13590 r13625 446 446 * 447 447 * It is used by get_all_privileges in case that there is no cache hit. It will query the 448 * database and construct all nec cessary objects out of it.448 * database and construct all necessary objects out of it. 449 449 * 450 450 * @access protected trunk/midcom/midcom.core/midcom/core/querybuilder.php
r13590 r13625 868 868 * be kept in mind that this is a preliminary number, not a final one. 869 869 * 870 * Use this function with care. The information you obtain in general is negli ble, but a creative870 * Use this function with care. The information you obtain in general is negligible, but a creative 871 871 * mind might nevertheless be able to take advantage of it. 872 872 * trunk/midcom/midcom.core/midcom/debug.php
r5031 r13625 25 25 * - MIDCOM_LOG_CRIT 26 26 * 27 * This snippet does automatically instanti nate $midcom_debugger, and it declares27 * This snippet does automatically instantiate $midcom_debugger, and it declares 28 28 * shortcuts called debug_add, debug_push and debug_pop (see below). 29 29 * trunk/midcom/midcom.core/midcom/helper/_basicnav.php
r13424 r13625 28 28 * the topic of the component that declared to be able to handle the request. 29 29 * 30 * The class will load the nec cessary information on demand to minimize30 * The class will load the necessary information on demand to minimize 31 31 * database traffic. 32 32 *
