Changeset 13590
- Timestamp:
- 11/22/07 22:58:52 (11 months ago)
- Files:
-
- trunk/midcom/midcom.core/midcom/application.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php (modified) (8 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/request.php (modified) (5 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/core/dbobject.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/config/midcom_config.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/collector.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/group_virtual.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/manifest.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/privilege.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/core/querybuilder.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/user.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/db/group.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/db/topic.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/_componentloader.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/helper/metadata.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/helper/misc.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/helper/nav.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/request.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/_i18n_l10n.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/auth.php (modified) (8 diffs)
- trunk/midcom/midcom.core/midcom/services/auth/backend.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/auth/frontend/form.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/backend.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/module.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/module/content.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/module/nap.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cron.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/dbclassloader.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/js_css_merger.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/permalinks.php (modified) (1 diff)
- trunk/midcom/midcom.core/support/midcom_services_cron.sh (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/datatype.php (modified) (8 diffs)
- trunk/midcom/midcom.helper.datamanager/datatype_unixdate.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/static/datamanager.css (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/widget.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager/widget_select.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/controller.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/exec/chooser_handler.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/storage.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/date.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/select.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/tagselect.php (modified) (6 diffs)
- trunk/midcom/midcom.helper.datamanager2/widget/downloads.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/widget/images.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/widget/jsdate.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/widget/text.php (modified) (1 diff)
- trunk/midcom/net.nehmer.account/handler/publish.php (modified) (1 diff)
- trunk/midcom/net.nehmer.account/handler/view.php (modified) (2 diffs)
- 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/categories.php (modified) (1 diff)
- trunk/midcom/net.nehmer.branchenbuch/schemamgr.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.buddylist/entry.php (modified) (1 diff)
- trunk/midcom/net.nehmer.jobmarket/handler/search.php (modified) (1 diff)
- trunk/midcom/net.nemein.bookmarks/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.personnel/handler/csv.php (modified) (1 diff)
- trunk/midcom/net.nemein.registrations/event.php (modified) (1 diff)
- trunk/midcom/net.nemein.registrations/handler/register.php (modified) (1 diff)
- trunk/midcom/org.openpsa.calendar/config/mgdschema.xml (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/person_midcomdba.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/campaign_ruleresolver.php (modified) (1 diff)
- trunk/midcom/org.openpsa.products/handler/product/search.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/config/mgdschema.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/midcom/application.php
r13454 r13590 1185 1185 1186 1186 /** 1187 * Check, w ether a given component is able to handle the current request.1187 * Check, whether a given component is able to handle the current request. 1188 1188 * 1189 1189 * Used by _process(), it checks if the component associated to $object is able … … 1195 1195 * 1196 1196 * @param MidgardTopic $object The node that is currently being tested. 1197 * @return bool Indication, w ether a component can handle a request.1197 * @return bool Indication, whether a component can handle a request. 1198 1198 * @access private 1199 1199 */ … … 2061 2061 * print_jscripts - Print the queued-up JavaScript code (for inclusion in the HEAD section) 2062 2062 * pirnt jsonload - Prints the onload command if required (for inclusion as a BODY attribute) 2063 * check_memberships - Checks w ether the user is in a given group2063 * check_memberships - Checks whether the user is in a given group 2064 2064 * relocate - executes a HTTP relocation to the given URL 2065 2065 * _showdebuglog - internal helper for the debuglog URL method. … … 2245 2245 * servesnippet(guid) for details. 2246 2246 * 2247 * Two parameters can be used to influence the behav oir of this method:2247 * Two parameters can be used to influence the behavior of this method: 2248 2248 * "midcom/content-type" will set the content-type header sent with the code 2249 2249 * field's content. If this is not set, application/octet-stream is used as a trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php
r13426 r13590 13 13 * The interface presented here supersedes all original component interface 14 14 * classes (COMPONENT, CONTENTADMIN, MIDCOM and NAP). The class uses an event 15 * based approache for subclasses to influence the default behav oir.15 * based approache for subclasses to influence the default behavior. 16 16 * 17 17 * The actual implementation should be enough for most smaller components, as 18 * the classes behav oir is widely configurable. You should not override any of18 * the classes behavior is widely configurable. You should not override any of 19 19 * the base classes interface methods if you can avoid it. If you find that an 20 20 * event handler is missing, please contact the MidCOM development team for … … 92 92 * 93 93 * One thing, which I have seen quite often in components, is the initialize method loading 94 * the default schema. While I actually do not endorse this behav oir, schemas should only94 * the default schema. While I actually do not endorse this behavior, schemas should only 95 95 * be loaded on demand during runtime (especially since they are configurable), you should 96 96 * now add code like that to the _on_initialize() event handler, which will be exectued … … 517 517 * 518 518 * - <i>config</i> holds the configuration for this context 519 * - <i>admin</i> A flag indicating w ether we are in Admin mode or not (set during configure)519 * - <i>admin</i> A flag indicating whether we are in Admin mode or not (set during configure) 520 520 * - <i>handler</i> The class handling the request. 521 521 */ … … 529 529 * midcom_helper_configuration object. 530 530 * @param int $contextid The ID of the context we are associated with. 531 * @param bool $adminmode Flag, indicating w ether we are on-site (false) or in AIS (true).531 * @param bool $adminmode Flag, indicating whether we are on-site (false) or in AIS (true). 532 532 * @return bool Indication success. 533 533 */ … … 622 622 623 623 /** 624 * Checks, w ether an instance of the NAP interface class has already been created624 * Checks, whether an instance of the NAP interface class has already been created 625 625 * and creates it if not. 626 626 * … … 781 781 782 782 /** 783 * This interface function is used to check w ether a component can handle a given GUID783 * This interface function is used to check whether a component can handle a given GUID 784 784 * or not <i>on site only.</i> A topic is provided which limits the "scope" of the search 785 785 * accordingly. It can be safely assumed that the topic given is a valid topic in the … … 935 935 * and basic component data storage initialization, no further modification needs to be done. 936 936 * 937 * @return bool Indicating w ether the initialization has been successful.937 * @return bool Indicating whether the initialization has been successful. 938 938 */ 939 939 function _on_initialize() … … 997 997 998 998 /** 999 * This interface function is used to check w ether a component can handle a given GUID999 * This interface function is used to check whether a component can handle a given GUID 1000 1000 * or not <i>on site only.</i> A topic is provided which limits the "scope" of the search 1001 1001 * accordingly. It can be safely assumed that the topic given is a valid topic in the trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php
r11911 r13590 175 175 * Return the node configuration. This defaults to use the topic the 176 176 * NAP instance has been set to directly. You can usually fall back to this 177 * behav oir safely, adding a toolbar using the $toolbar parameter in child classes.177 * behavior safely, adding a toolbar using the $toolbar parameter in child classes. 178 178 * 179 179 * So you'd probably do something like this: trunk/midcom/midcom.core/midcom/baseclasses/components/request.php
r13424 r13590 546 546 * @param int $argc The argument count 547 547 * @param Array $argv The argument list 548 * @return bool Indicating w ether the request can be handled by the class, or not.548 * @return bool Indicating whether the request can be handled by the class, or not. 549 549 */ 550 550 public function can_handle($argc, $argv) … … 643 643 * @param int $argc The argument count 644 644 * @param Array $argv The argument list 645 * @return bool Indicating w ether the request was handled successfully.645 * @return bool Indicating whether the request was handled successfully. 646 646 * @see _on_handle(); 647 647 */ … … 688 688 } 689 689 690 // Check w ether this request should not be cached by default:690 // Check whether this request should not be cached by default: 691 691 if ($this->_handler['no_cache'] == true) 692 692 { … … 824 824 * You should not do anything else then general startup work, as this callback 825 825 * executes <em>before</em> the can_handle phase. You don't know at this point 826 * w ether you are even able to handle the request. Thus, anything that is specific826 * whether you are even able to handle the request. Thus, anything that is specific 827 827 * to your request (like HTML HEAD tag adds) must not be done here. Use _on_handle 828 828 * instead. … … 886 886 887 887 /** 888 * Generic output initialization code. The return value lets you control w ether the888 * Generic output initialization code. The return value lets you control whether the 889 889 * output method associated with the handler declaration is called, return false to 890 890 * override this automatism, true, the default, will call the output handler normally. trunk/midcom/midcom.core/midcom/baseclasses/core/dbobject.php
r13563 r13590 1968 1968 1969 1969 /** 1970 * Checks, w ether the person given to the function is an owner (read: has1970 * Checks, whether the person given to the function is an owner (read: has 1971 1971 * write access) to the object in question. 1972 1972 * trunk/midcom/midcom.core/midcom/config/midcom_config.php
r13572 r13590 303 303 * <b>Geopositioning settings</b> 304 304 * 305 * - <b>bool positioning_enable:</b> This flag indicates w ether components should start305 * - <b>bool positioning_enable:</b> This flag indicates whether components should start 306 306 * tracking and displaying the geographical position where they were created. 307 307 * trunk/midcom/midcom.core/midcom/core/collector.php
r13424 r13590 491 491 * SQL and will thus be evaluated with precedence over the normal out-of-group constraints. 492 492 * 493 * While the call lets you decide w ether all constraints within the group are AND'ed or OR'ed,493 * While the call lets you decide whether all constraints within the group are AND'ed or OR'ed, 494 494 * only OR constraints make logcially sense in this context, which is why this proxy function 495 495 * sets 'OR' as the default operator. trunk/midcom/midcom.core/midcom/core/group_virtual.php
r12102 r13590 58 58 59 59 /** 60 * Callback to load the virtual group. Checks w ether the component in question is already60 * Callback to load the virtual group. Checks whether the component in question is already 61 61 * loaded. It then queries its vgroup listing for the name of this group. 62 62 * trunk/midcom/midcom.core/midcom/core/manifest.php
r13424 r13590 68 68 * <i>string name</i> should be clear, it is the full name of the component. 69 69 * 70 * <i>bool purecode</i> is equally easy, indicating w ether this is a library or a full70 * <i>bool purecode</i> is equally easy, indicating whether this is a library or a full 71 71 * scale component. 72 72 * trunk/midcom/midcom.core/midcom/core/privilege.php
r13424 r13590 171 171 172 172 /** 173 * Checks w ether the current assignee is a magic assignee or an object identifier.173 * Checks whether the current assignee is a magic assignee or an object identifier. 174 174 * 175 175 * @return bool True, if it is a magic assingee, false otherwise. … … 181 181 182 182 /** 183 * Internal helper, encaspulating the check w ether an assignee string is a known183 * Internal helper, encaspulating the check whether an assignee string is a known 184 184 * magic assignee. 185 185 * … … 724 724 foreach ($object_privileges as $privilege) 725 725 { 726 // Check w ether we need to take this privilege into account726 // Check whether we need to take this privilege into account 727 727 if (! midcom_core_privilege::_is_privilege_valid($privilege, $user)) 728 728 { … … 831 831 832 832 /** 833 * Internal helper function, determines w ether a given privilege applies for the given833 * Internal helper function, determines whether a given privilege applies for the given 834 834 * user in content mode. This means, that all SELF privileges are skipped at this point, 835 835 * EVERYONE privileges apply always, and all other privileges are checked against the trunk/midcom/midcom.core/midcom/core/querybuilder.php
r13424 r13590 771 771 * SQL and will thus be evaluated with precedence over the normal out-of-group constraints. 772 772 * 773 * While the call lets you decide w ether all constraints within the group are AND'ed or OR'ed,773 * While the call lets you decide whether all constraints within the group are AND'ed or OR'ed, 774 774 * only OR constraints make logcially sense in this context, which is why this proxy function 775 775 * sets 'OR' as the default operator. trunk/midcom/midcom.core/midcom/core/user.php
r13424 r13590 509 509 510 510 /** 511 * Checks w ether a user is a member of the given group.511 * Checks whether a user is a member of the given group. 512 512 * 513 513 * The group argument may be one of the following (checked in this order of precedence): trunk/midcom/midcom.core/midcom/db/group.php
r11861 r13590 82 82 83 83 /** 84 * Checks w ether the given user is a member of this group.84 * Checks whether the given user is a member of this group. 85 85 * 86 86 * @param midcom_baseclasses_database_person The person to check. trunk/midcom/midcom.core/midcom/db/topic.php
r3766 r13590 51 51 /** 52 52 * Lists all articles in the corresponding topic. All reply articles are filtered 53 * by default to match original Midgard behav oir.53 * by default to match original Midgard behavior. 54 54 * 55 55 * @param string $sort A legacy sorting order string. trunk/midcom/midcom.core/midcom/helper/_componentloader.php
r13424 r13590 16 16 * Normally, two things are important when you deal with other components: 17 17 * 18 * First, if you want to list other components, or for example check w ether they18 * First, if you want to list other components, or for example check whether they 19 19 * are available, you should use the component manifest listing, known as $manifests. 20 20 * It gives you all meta-information about the components. … … 803 803 foreach ($this->_watches as $operation_id => $ignore) 804 804 { 805 // Check w ether the operations flag list from the component805 // Check whether the operations flag list from the component 806 806 // contains the operation_id we're checking a watch for. 807 807 if ($operations & $operation_id) trunk/midcom/midcom.core/midcom/helper/metadata.php
r13516 r13590 455 455 456 456 /** 457 * Checks w ether the article has been approved since its last editing.457 * Checks whether the article has been approved since its last editing. 458 458 * 459 459 * @return bool Indicating approval state. … … 499 499 500 500 /** 501 * This is a helper function which indicates w ether a given object may be shown onsite501 * This is a helper function which indicates whether a given object may be shown onsite 502 502 * taking approval, scheduling and visibility settings into account. The important point 503 503 * here is that it also checks the global configuration defaults, so that this is 504 * basically the same base on which NAP decides w ether to show an item or not.504 * basically the same base on which NAP decides whether to show an item or not. 505 505 * 506 506 * @return bool Indicating visibility. trunk/midcom/midcom.core/midcom/helper/misc.php
r13424 r13590 52 52 * 53 53 * Any error (files not found) will raise a MidCOM Error. If you want a more 54 * graceful behav oir, look for midcom_get_snippet_content_graceful54 * graceful behavior, look for midcom_get_snippet_content_graceful 55 55 * 56 56 * @param string $path The URL to the snippet. … … 118 118 119 119 /** 120 * Helper function to check w ether a given group is a subgroup120 * Helper function to check whether a given group is a subgroup 121 121 * of another one. 122 122 * … … 207 207 * This function will save 208 208 * the Member-Variables specified in $array of the Midgard Object $object in 209 * the Parameter Domain $domain. It will checkt w ether all Fields are short enough209 * the Parameter Domain $domain. It will checkt whether all Fields are short enough 210 210 * (Margin: 255 characters) to fit into a parameter, if not, it will abort. 211 211 * It will return TRUE if successful, FALSE on failure. trunk/midcom/midcom.core/midcom/helper/nav.php
r13574 r13590 534 534 $data[MIDCOM_NAV_NAME] = htmlspecialchars($data[MIDCOM_NAV_NAME]); 535 535 536 // Add the next element sensitive to the fact w ether we are at the end or not.536 // Add the next element sensitive to the fact whether we are at the end or not. 537 537 if (next($breadcrumb_data) === false) 538 538 { trunk/midcom/midcom.core/midcom/request.php
r13424 r13590 202 202 * A parser for a part of a url 203 203 * THe parser will get in the url where its work starts and will work greedily on that 204 * until lit gets nothing and returns.204 * until it gets nothing and returns. 205 205 */ 206 206 abstract class midcom_url_parser { trunk/midcom/midcom.core/midcom/services/_i18n_l10n.php
r13424 r13590 387 387 388 388 /** 389 * Checks, w ether the referenced language is already loaded. If not,389 * Checks, whether the referenced language is already loaded. If not, 390 390 * it is automatically made available. Any errors will trigger 391 391 * generate_error. … … 503 503 504 504 /** 505 * Checks w ether the given string is available in either the current505 * Checks whether the given string is available in either the current 506 506 * or the fallback language. Use this to determine if an actually processed 507 507 * result is returned by get. This is helpful especially if you want to trunk/midcom/midcom.core/midcom/services/auth.php
r13424 r13590 70 70 * 71 71 * This is analogous to the MidCOM default configuration, they are taken into account globally to each 72 * and every check w ether a privilege is granted. Whenever a privilege is defined, there is also a72 * and every check whether a privilege is granted. Whenever a privilege is defined, there is also a 73 73 * default value (either ALLOW or DENY) assigned to it. They serve as a basis for all privilege sets 74 74 * and ensure, that there is a value set for all privileges. … … 705 705 706 706 /** 707 * Checks w ether a user has a certain privilege on the given content object.707 * Checks whether a user has a certain privilege on the given content object. 708 708 * Works on the currently authenticated user by default, but can take another 709 709 * user as an optional argument. … … 727 727 728 728 /** 729 * Checks w ether a user has a certain privilege on the given (via guid and class) content object.729 * Checks whether a user has a certain privilege on the given (via guid and class) content object. 730 730 * Works on the currently authenticated user by default, but can take another 731 731 * user as an optional argument. … … 822 822 823 823 /** 824 * Checks, w ether the given user have the privilege assigned to him in general.824 * Checks, whether the given user have the privilege assigned to him in general. 825 825 * Be aware, that this does not take any permissions overriden by content objects 826 826 * into account. Whenever possible, you should user the can_do() variant of this … … 1188 1188 1189 1189 /** 1190 * Check, w ether a user is member of a given group. By default, the query is run1190 * Check, whether a user is member of a given group. By default, the query is run 1191 1191 * against the currently authenticated user. 1192 1192 * … … 1259 1259 1260 1260 /** 1261 * Validates, w ether the given user have the privilege assigned to him in general.1261 * Validates, whether the given user have the privilege assigned to him in general. 1262 1262 * Be aware, that this does not take any permissions overriden by content objects 1263 1263 * into account. Whenever possible, you should user the can_do() variant of this … … 1408 1408 if (!$this->sessionmgr->_do_midgard_auth($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'])) 1409 1409 { 1410 // Wrong password: Recurse until lauth ok or user gives up1410 // Wrong password: Recurse until auth ok or user gives up 1411 1411 unset($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']); 1412 1412 $this->_http_basic_auth(); … … 1868 1868 $this->require_user_do('midcom:vgroup_register', 'You need the privilege "midcom:vgroup_register" to register any virtual group.'); 1869 1869 1870 // Check w ether we have a valid component URL here1870 // Check whether we have a valid component URL here 1871 1871 // Note, just trigger loading it is not an option, as this function might be 1872 1872 // called during component loading itself. trunk/midcom/midcom.core/midcom/services/auth/backend.php
r13314 r13590 53 53 /** 54 54 * This function, always called first in the order of execution, should check 55 * w ether we have a usable login session. It has to use the login session management55 * whether we have a usable login session. It has to use the login session management 56 56 * system To load a login session. At the end of the successful execution of this 57 57 * function, you have to populate the $session_id and $user members accordingly. trunk/midcom/midcom.core/midcom/services/auth/frontend/form.php
r13442 r13590 28 28 29 29 /** 30 * This call checks w ether the two form fields we have created are present, if yes30 * This call checks whether the two form fields we have created are present, if yes 31 31 * it reads and returns their values. 32 32 * trunk/midcom/midcom.core/midcom/services/cache/backend.php
r13349 r13590 105 105 * true, if we are in read-write mode, naturally. 106 106 * 107 * Therefore, this flag is also used for checking w ether the database is open107 * Therefore, this flag is also used for checking whether the database is open 108 108 * in general. 109 109 * … … 265 265 266 266 /** 267 * Checks, w ether the given key exists in the Database.267 * Checks, whether the given key exists in the Database. 268 268 * 269 269 * The data store is opened either read-only or read-write when this … … 327 327 function open($write = false) 328 328 { 329 // Check, w ether the DB is already open.329 // Check, whether the DB is already open. 330 330 if ($this->_open_for_reading) 331 331 { 332 // Check w ether the access permissions are correct, if yes, we ignore the332 // Check whether the access permissions are correct, if yes, we ignore the 333 333 // open request, otherwise we close the db. 334 334 if ($this->_open_for_writing == $write) … … 369 369 370 370 /** 371 * Checks, w ether the given key exists in the Database. If the data store has not yet371 * Checks, whether the given key exists in the Database. If the data store has not yet 372 372 * been opened for reading, it will be opened automatically prior to the call, 373 373 * and closed automatically again afterwards. trunk/midcom/midcom.core/midcom/services/cache/module.php
r13129 r13590 148 148 * Invalidate the cache completely, dropping all entries. The default implementation will 149 149 * drop all entries from all registered cache backends using 150 * midcom_services_cache_backend::remove_all(). Override this function, if this behav oir150 * midcom_services_cache_backend::remove_all(). Override this function, if this behavior 151 151 * doesn't suit your needs. 152 152 */ trunk/midcom/midcom.core/midcom/services/cache/module/content.php
r13517 r13590 75 75 76 76 /** 77 * Flag, indicating w ether the current page may be cached. If77 * Flag, indicating whether the current page may be cached. If 78 78 * false, the usual no-cache headers will be generated. 79 79 * … … 115 115 116 116 /** 117 * Internal flag indicating w ether the output buffering is active.117 * Internal flag indicating whether the output buffering is active. 118 118 * 119 119 * @var bool … … 376 376 /** 377 377 * This function holds the cache hit check meachnism. It seraches the requested 378 * URL in the cache database. If found, it checks, w ether the cache page has378 * URL in the cache database. If found, it checks, whether the cache page has 379 379 * expired. If not, the cached page is delivered to the client and processing 380 380 * ends. In all other cases this method simply returns. … … 739 739 740 740 /** 741 * Checks, w ether the browser supplied if-modified-since or if-none-match headers741 * Checks, whether the browser supplied if-modified-since or if-none-match headers 742 742 * match the passed etag/last modified timestamp. If yes, a 304 not modified header 743 743 * is emitted and true is returned. Otherwise the function will return false trunk/midcom/midcom.core/midcom/services/cache/module/nap.php
r13424 r13590 140 140 } 141 141 142 // Check, w ether we are talking to AIS142 // Check, whether we are talking to AIS 143 143 if ($topic->component == 'midcom.admin.content') 144 144 { trunk/midcom/midcom.core/midcom/services/cron.php
r13424 r13590 21 21 * it will be defined by the responsible component. 22 22 * - <i>Array handler_config</i> is the handler specific configuration of the cron job. This is optional 23 * and can therefore be an empty array. It is used to customize cron job behav oir on a manifest23 * and can therefore be an empty array. It is used to customize cron job behavior on a manifest 24 24 * level only (use your component configuration for more specific settings.) 25 25 * - <i>int recurrence</i> must be one of MIDCOM_CRON_* constants. trunk/midcom/midcom.core/midcom/services/dbclassloader.php
r12102 r13590 1064 1064 * Returns a list of loaded classes that operate on the given table name. The 1065 1065 * results are returned in the order the classes were registered, so it is rather 1066 * arbitrary. The only behav oir that can usually be counted on is to get the1066 * arbitrary. The only behavior that can usually be counted on is to get the 1067 1067 * MidCOM core baseclasses first, as they are already registered during framework 1068 1068 * startup. Especially the wrappers for the legacy MidgardXXX Classes are the very … … 1086 1086 1087 1087 /** 1088 * Simple helper to check w ether we are dealing with a legacy midgard object1088 * Simple helper to check whether we are dealing with a legacy midgard object 1089 1089 * or a subclass thereof. 1090 1090 * … … 1143 1143 1144 1144 /** 1145 * Simple helper to check w ether we are dealing with a MgdSchema object1145 * Simple helper to check whether we are dealing with a MgdSchema object 1146 1146 * or a subclass thereof. 1147 1147 * … … 1228 1228 1229 1229 /** 1230 * Simple helper to check w ether we are dealing with a MidCOM Database object1230 * Simple helper to check whether we are dealing with a MidCOM Database object 1231 1231 * or a subclass thereof. 1232 1232 * trunk/midcom/midcom.core/midcom/services/indexer/document.php
r13424 r13590 637 637 * field. 638 638 * 639 * Actual behav oir is dependent on the datatype. Text fields are639 * Actual behavior is dependent on the datatype. Text fields are 640 640 * accessed directly, for other fields, the CSV representation is 641 641 * used. … … 679 679 * field. 680 680 * 681 * Actual behav oir is dependent on the datatype. The system uses681 * Actual behavior is dependent on the datatype. The system uses 682 682 * the type's built-in html conversion callbacks 683 683 * … … 697 697 698 698 /** 699 * Checks w ether the given document is an instance of given document type.699 * Checks whether the given document is an instance of given document type. 700 700 * 701 701 * This is equivalent to the is_a object hirarchy check, except that it trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager.php
r13424 r13590 251 251 * Returns a textual representation of the corresponding field. 252 252 * 253 * Actual behav oir is dependent on the datatype. Text fields are253 * Actual behavior is dependent on the datatype. Text fields are 254 254 * accessed directly, for other fields, the CSV representation is 255 255 * used. trunk/midcom/midcom.core/midcom/services/js_css_merger.php
r13214 r13590 388 388 debug_push_class(__CLASS__, __FUNCTION__); 389 389 debug_add("called for path '{$path}'"); 390 debug_add('disabled until lwe figure out a way to rewrite include calls (which may contain variable parts...)');390 debug_add('disabled until we figure out a way to rewrite include calls (which may contain variable parts...)'); 391 391 debug_pop(); 392 392 return false; trunk/midcom/midcom.core/midcom/services/permalinks.php
r13424 r13590 55 55 * to. It operates in multiple phases: 56 56 * 57 * 1. Check, w ether the GUID is already known by NAP. In case we have the corresponding57 * 1. Check, whether the GUID is already known by NAP. In case we have the corresponding 58 58 * node/leaf loaded, use its linking infromation directly. 59 59 * 2. Look if we have a topic, in that case, we get the corresponding NAP node and use 60 60 * it to resolve the permalink. If that object is not retrieveable, the lookup 61 61 * fails. 62 * 3. We check w ether the object in question has a topic as one of its ancestors. If yes,62 * 3. We check whether the object in question has a topic as one of its ancestors. If yes, 63 63 * that topic and its corresponding component is used to lookup the GUID, which might 64 64 * fail. trunk/midcom/midcom.core/support/midcom_services_cron.sh
