Changeset 14130
- Timestamp:
- 12/29/07 23:20:37 (8 months ago)
- Files:
-
- trunk/midcom/build/installMidcom.php (modified) (1 diff)
- trunk/midcom/build/installMidcomCore.php (modified) (1 diff)
- trunk/midcom/midcom.admin.settings/editor.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/application.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php (modified) (8 diffs)
- trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php (modified) (5 diffs)
- trunk/midcom/midcom.core/midcom/core/collector.php (modified) (14 diffs)
- trunk/midcom/midcom.core/midcom/core/privilege.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/querybuilder.php (modified) (5 diffs)
- trunk/midcom/midcom.core/midcom/exec/config-test.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/_styleloader.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/helper/nav.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/_sessioning.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/backend.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/cache/backend/dba.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/backend/flatfile.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/module/memcache.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/cache/module/phpscripts.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/dbclassloader.php (modified) (18 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/session.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager/helpers_select_lists.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/baseclasses/filter.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/images.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/mnrelation.php (modified) (1 diff)
- trunk/midcom/midcom.helper.replicator/helpers.php (modified) (6 diffs)
- trunk/midcom/midcom.helper.replicator/manager.php (modified) (1 diff)
- trunk/midcom/midgard.admin.acl/acl_editor.php (modified) (1 diff)
- trunk/midcom/net.fernmark.pedigree/handler/dog/admin.php (modified) (1 diff)
- trunk/midcom/net.fernmark.pedigree/handler/dog/create.php (modified) (1 diff)
- trunk/midcom/net.fernmark.pedigree/handler/result/admin.php (modified) (1 diff)
- trunk/midcom/net.fernmark.pedigree/handler/result/create.php (modified) (1 diff)
- trunk/midcom/net.nehmer.account/handler/view.php (modified) (1 diff)
- trunk/midcom/net.nehmer.blog/handler/admin.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.blog/handler/configuration.php (modified) (1 diff)
- trunk/midcom/net.nehmer.blog/handler/create.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.branchenbuch/handler/admin/manage.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/admin.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/handler/configuration.php (modified) (1 diff)
- trunk/midcom/net.nehmer.publications/navigation.php (modified) (1 diff)
- trunk/midcom/net.nehmer.static/handler/admin.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.static/handler/autoindex.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.static/handler/configuration.php (modified) (1 diff)
- trunk/midcom/net.nehmer.static/handler/create.php (modified) (4 diffs)
- trunk/midcom/net.nehmer.static/handler/view.php (modified) (1 diff)
- trunk/midcom/net.nehmer.static/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/net.nehmer.static/navigation.php (modified) (1 diff)
- trunk/midcom/net.nehmer.static/viewer.php (modified) (1 diff)
- trunk/midcom/net.nemein.calendar/style/archive-start.php (modified) (1 diff)
- trunk/midcom/net.nemein.discussion/handler/post.php (modified) (1 diff)
- trunk/midcom/net.nemein.downloads/handler/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.feedcollector/handler/create.php (modified) (1 diff)
- trunk/midcom/net.nemein.feedcollector/handler/manage.php (modified) (1 diff)
- trunk/midcom/net.nemein.netmon/handler/host/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.netmon/handler/host/create.php (modified) (1 diff)
- trunk/midcom/net.nemein.netmon/handler/hostgroup/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.netmon/handler/hostgroup/create.php (modified) (1 diff)
- trunk/midcom/net.nemein.quickpoll/handler/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.quickpoll/handler/archive.php (modified) (1 diff)
- trunk/midcom/net.nemein.quickpoll/handler/create.php (modified) (1 diff)
- trunk/midcom/net.nemein.reservations/handler/create.php (modified) (2 diffs)
- trunk/midcom/net.nemein.reservations/handler/reservation/create.php (modified) (2 diffs)
- trunk/midcom/net.nemein.wiki/handler/edit.php (modified) (1 diff)
- trunk/midcom/no.odindata.quickform/admin.php (modified) (7 diffs)
- trunk/midcom/no.odindata.quickform/formvar.php (modified) (1 diff)
- trunk/midcom/org.maemo.calendar/handler/event/create.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/application/admin.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/application/create.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/code/admin.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/code/create.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/device/admin.php (modified) (1 diff)
- trunk/midcom/org.maemo.devcodes/handler/device/create.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/handler/campaign/create.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/handler/message/create.php (modified) (1 diff)
- trunk/midcom/org.openpsa.interviews/handler/interview.php (modified) (1 diff)
- trunk/midcom/org.openpsa.products/handler/product/api.php (modified) (1 diff)
- trunk/midcom/org.openpsa.products/handler/product/search.php (modified) (1 diff)
- trunk/midcom/org.openpsa.products/navigation.php (modified) (1 diff)
- trunk/midcom/org.routamc.photostream/handler/admin.php (modified) (1 diff)
- trunk/midcom/org.routamc.photostream/navigation.php (modified) (1 diff)
- trunk/midcom/pl.olga.mnogosearch/handler/view.php (modified) (1 diff)
- trunk/midcom/pl.olga.mnogosearch/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/pl.olga.mnogosearch/navigation.php (modified) (1 diff)
- trunk/midcom/pl.olga.mnogosearch/viewer.php (modified) (1 diff)
- trunk/midcom/pl.olga.windguru/handler/admin.php (modified) (2 diffs)
- trunk/midcom/pl.olga.windguru/handler/create.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/build/installMidcom.php
r13424 r14130 169 169 } 170 170 /** 171 * returns a list of subdirectories and files as an asso siative171 * returns a list of subdirectories and files as an associative 172 172 * array 173 173 * dirname => dirname trunk/midcom/build/installMidcomCore.php
r13572 r14130 232 232 } 233 233 /** 234 * returns a list of subdirectories and files as an asso siative234 * returns a list of subdirectories and files as an associative 235 235 * array 236 236 * dirname => dirname trunk/midcom/midcom.admin.settings/editor.php
r14084 r14130 119 119 * Loads and prepares the schema database. 120 120 * 121 * Special treat ement is done for the name field, which is set readonly for non-admins121 * Special treatment is done for the name field, which is set readonly for non-admins 122 122 * if the simple_name_handling config option is set. (using an auto-generated urlname based 123 123 * on the title, if it is missing.) trunk/midcom/midcom.core/midcom/application.php
r14084 r14130 2291 2291 } 2292 2292 // This is necessary, as the internal date representation is not HTTP 2293 // standard comp ilant. :-(2293 // standard compliant. :-( 2294 2294 $lastmod = strtotime($snippet->revised); 2295 2295 trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php
r14087 r14130 230 230 * This is used during initialization when loading the default configurations 231 231 * from the filesystem ($prefix/config/$name.inc) and the snippetdirs 232 * ($GLOBALS['midcom_config']['midcom_sgconfig_basedir']/$component/$name). 232 * ($GLOBALS['midcom_config']['midcom_sgconfig_basedir']/$component/$name). 233 233 * They will be merged and placed into the 234 234 * component data store under a key with the same name then the snippet as … … 671 671 * Relays the get_node call to the NAP instance. 672 672 * 673 * @return Array A NAP comp ilant NODE structure.673 * @return Array A NAP compliant NODE structure. 674 674 */ 675 675 public function get_node() … … 682 682 * Relays the get_leaves call to the NAP instance. 683 683 * 684 * @return Array An Array of NAP comp ilant leaf structures.684 * @return Array An Array of NAP compliant leaf structures. 685 685 */ 686 686 public function get_leaves() … … 790 790 * indicating root page access. If the GUID is invalid, null will be returned. 791 791 * 792 * This call is re alyed to the component using the event handler _on_resolve_permalink().792 * This call is relayed to the component using the event handler _on_resolve_permalink(). 793 793 * Before that it will deduce the active configuration for the given topic. 794 794 * … … 960 960 961 961 /** 962 * Verif an indexer document's permissions. This is used for custom, advanced access control962 * Verify an indexer document's permissions. This is used for custom, advanced access control 963 963 * within a components domain. 964 964 * … … 966 966 * been prepared by the framework. 967 967 * 968 * Us ally, you want to limit the visibility of a968 * Usually, you want to limit the visibility of a 969 969 * document in the search result. You can do this by returning false in this function, the indexer 970 970 * will then skip this object before returning the resultset to the callee. … … 1006 1006 * indicating root page access. If the GUID is invalid, null will be returned. 1007 1007 * 1008 * This call is re alyed to the component using the event handler _on_resolve_permalink().1008 * This call is relayed to the component using the event handler _on_resolve_permalink(). 1009 1009 * Before that it will deduce the active configuration for the given topic. 1010 1010 * … … 1014 1014 * The hard way is setting the no_cache flag in cases where you need full flexibility, but 1015 1015 * this should be avoided for the sake of performance if somehow possible. The more 1016 * sophisticated alternative is therefore to selectiv ly invalidate all GUIDs that have1016 * sophisticated alternative is therefore to selectively invalidate all GUIDs that have 1017 1017 * their Permalink lookup affected. 1018 1018 * trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php
r13987 r14130 111 111 * Leaf listing function, the default implementation returns an empty array indicating 112 112 * no leaves. Note, that the active leaf index set by the other parts of the component 113 * must match one lea vout of this list.113 * must match one leaf out of this list. 114 114 * 115 115 * Here are some code fragments, that you usually connect through some kind of … … 165 165 * </code> 166 166 * 167 * @return Array NAP comp ilant list of leaves.167 * @return Array NAP compliant list of leaves. 168 168 */ 169 169 public function get_leaves() … … 199 199 * @param Array $toolbar Set this parameter in child classes calling this base method to add a toolbar to the default node listing. 200 200 * This parameter is not set by the framework and can safely be omitted in the average base class. 201 * @return Array NAP comp ilant node declaration201 * @return Array NAP compliant node declaration 202 202 */ 203 203 public function get_node($toolbar = null) … … 207 207 return null; 208 208 } 209 209 210 210 return array ( 211 211 MIDCOM_NAV_URL => '', … … 226 226 * everything in case you need to do some custom initializations as well. 227 227 * 228 * @param MidgardTopic $topic The topic to p ocess.228 * @param MidgardTopic $topic The topic to process. 229 229 * @param bool Indicating success. 230 230 */ trunk/midcom/midcom.core/midcom/core/collector.php
r13625 r14130 18 18 * and midcom_helper__dbfactory::exec_collector(). 19 19 * 20 * Normally you should never have to create an instance of this type dire ectly,20 * Normally you should never have to create an instance of this type directly, 21 21 * instead use the get_new_mc() method available in the MidCOM DBA API or the 22 22 * midcom_helper__dbfactory::new_collector() method which is still available. … … 133 133 else 134 134 { 135 // Validate the class, we check for a single callback representativ ly only135 // Validate the class, we check for a single callback representatively only 136 136 if (! in_array('_on_prepare_new_collector', get_class_methods($classname))) 137 137 { … … 161 161 $this->_mc = new midgard_collector($baseclass, $domain, $value); 162 162 $this->_real_class = $classname; 163 163 164 164 // MidCOM's collector always uses the GUID as the key for ACL purposes 165 165 $this->_mc->set_key_property('guid'); … … 175 175 176 176 /** 177 * The initialization routin executes the _on_prepare_new_collector callback on the class.177 * The initialization routine executes the _on_prepare_new_collector callback on the class. 178 178 * This cannot be done in the constructor due to the reference to $this that is used. 179 179 */ … … 219 219 return $this->_mc->execute(); 220 220 } 221 221 222 222 /** 223 223 * Resets some internal variables for re-execute … … 294 294 // TODO: Implement 295 295 } 296 296 297 297 // Register the GUID as loaded in this request 298 298 $_MIDCOM->cache->content->register($object_guid); … … 312 312 /** 313 313 * PONDER: Should we implement the moving window limit/offset handling here as well ? 314 * probably it's not worth the effort since we're not actually instantiating objects 314 * probably it's not worth the effort since we're not actually instantiating objects 315 315 * so many of the inefficencies related to that are avoided. 316 316 * @see midcom_core_querybuilder::execute_windowed … … 371 371 return $newresult; 372 372 } 373 373 374 374 function get_subkey($key, $property) 375 375 { … … 381 381 return $this->_mc->get_subkey($key, $property); 382 382 } 383 383 384 384 function get($key) 385 385 { … … 391 391 return $this->_mc->get($key); 392 392 } 393 393 394 394 function destroy() 395 395 { … … 488 488 489 489 /** 490 * Creates a new logical group within the query. They are set in par antheses in the final490 * Creates a new logical group within the query. They are set in parentheses in the final 491 491 * SQL and will thus be evaluated with precedence over the normal out-of-group constraints. 492 492 * 493 493 * While the call lets you decide whether all constraints within the group are AND'ed or OR'ed, 494 * only OR constraints make log cially sense in this context, which is why this proxy function494 * only OR constraints make logically sense in this context, which is why this proxy function 495 495 * sets 'OR' as the default operator. 496 496 * … … 543 543 544 544 /** 545 * Returns only objects that are avail ble in the specified language. This will545 * Returns only objects that are available in the specified language. This will 546 546 * disable the automatic fallback to the default language which would be in place 547 547 * otherwise. … … 554 554 $this->_mc->set_lang($language); 555 555 } 556 556 557 557 function set_key_property($property, $value = null) 558 558 { … … 563 563 return false; 564 564 } 565 565 566 566 function add_value_property($property) 567 567 { trunk/midcom/midcom.core/midcom/core/privilege.php
r14084 r14130 259 259 * - A check against the list of registered privileges to ensure the existence of the 260 260 * privilege itselef. 261 * - A check for a valid and existing assignee, this includes a class exist ance check for classname restrictions261 * - A check for a valid and existing assignee, this includes a class existence check for classname restrictions 262 262 * for SELF privileges. 263 263 * - A check for an existing content object GUID (this implicitly cheks for midgard:read as well). trunk/midcom/midcom.core/midcom/core/querybuilder.php
r14086 r14130 94 94 * and midcom_helper__dbfactory::exec_query_builder(). 95 95 * 96 * Normally you should never have to create an instance of this type dire ectly,96 * Normally you should never have to create an instance of this type directly, 97 97 * instead use the get_new_qb() method available in the MidCOM DBA API or the 98 98 * midcom_helper__dbfactory::new_query_builder() method which is still available. … … 225 225 else 226 226 { 227 // Validate the class, we check for a single callback representativ ly only227 // Validate the class, we check for a single callback representatively only 228 228 if (! in_array('_on_prepare_new_query_builder', get_class_methods($classname))) 229 229 { … … 261 261 262 262 /** 263 * The initialization routin executes the _on_prepare_new_querybuilder callback on the class.263 * The initialization routine executes the _on_prepare_new_querybuilder callback on the class. 264 264 * This cannot be done in the constructor due to the reference to $this that is used. 265 265 */ … … 769 769 770 770 /** 771 * Creates a new logical group within the query. They are set in par antheses in the final771 * Creates a new logical group within the query. They are set in parentheses in the final 772 772 * SQL and will thus be evaluated with precedence over the normal out-of-group constraints. 773 773 * 774 774 * While the call lets you decide whether all constraints within the group are AND'ed or OR'ed, 775 * only OR constraints make log cially sense in this context, which is why this proxy function775 * only OR constraints make logically sense in this context, which is why this proxy function 776 776 * sets 'OR' as the default operator. 777 777 * … … 824 824 825 825 /** 826 * Returns only objects that are avail ble in the specified language. This will826 * Returns only objects that are available in the specified language. This will 827 827 * disable the automatic fallback to the default language which would be in place 828 828 * otherwise. trunk/midcom/midcom.core/midcom/exec/config-test.php
r13424 r14130 387 387 if ($result != 0) 388 388 { 389 println('External Utility: ImageMagick', ERROR, 'The exist ance ImageMagick toolkit could not be verified, it is required for all kinds of image processing in MidCOM.');389 println('External Utility: ImageMagick', ERROR, 'The existence ImageMagick toolkit could not be verified, it is required for all kinds of image processing in MidCOM.'); 390 390 } 391 391 else trunk/midcom/midcom.core/midcom/helper/_styleloader.php
r14084 r14130 658 658 659 659 /** 660 * Gets the component styledir asso siated with the topics660 * Gets the component styledir associated with the topics 661 661 * component. 662 662 * trunk/midcom/midcom.core/midcom/helper/nav.php
r14087 r14130 307 307 * will treat topic and article guids specially: In both cases the system will 308 308 * translate it using the topic id into a node id and scan only that part of the 309 * tree non-recursiv ly.309 * tree non-recursively. 310 310 * 311 311 * A full scan of the NAP data is only done if another MidgardObject is used. trunk/midcom/midcom.core/midcom/services/_sessioning.php
r13625 r14130 130 130 * 131 131 * Returns null if the key 132 * is non-existent. Note, that this is not necessarily a valid non-exist ance132 * is non-existent. Note, that this is not necessarily a valid non-existence 133 133 * check, as the sessioning system does allow null values. Use the exists function 134 134 * if unsure. … … 160 160 * Removes the value associated with the specified key. Returns null if the key 161 161 * is non-existent or the value of the key just removed otherwise. Note, that 162 * this is not necessarily a valid non-exist ance check, as the sessioning162 * this is not necessarily a valid non-existence check, as the sessioning 163 163 * system does allow null values. Use the exists function if unsure. 164 164 * trunk/midcom/midcom.core/midcom/services/cache/backend.php
r14087 r14130 271 271 * 272 272 * @param string $key The key to check for. 273 * @return bool Indicating exist ance.273 * @return bool Indicating existence. 274 274 */ 275 275 function _exists($key) { die ("The method " . __CLASS__ . "::" . __FUNCTION__ . " must be implemented."); } … … 374 374 * 375 375 * @param string $key The key to check for. 376 * @return bool Indicating exist ance.376 * @return bool Indicating existence. 377 377 */ 378 378 function exists($key) trunk/midcom/midcom.core/midcom/services/cache/backend/dba.php
r13625 r14130 108 108 $this->_filename = "{$this->_cache_dir}{$this->_name}.{$this->_handler}"; 109 109 110 // Check for file exist ance by opening it once for write access.110 // Check for file existence by opening it once for write access. 111 111 if (! file_exists($this->_filename)) 112 112 { trunk/midcom/midcom.core/midcom/services/cache/backend/flatfile.php
r13625 r14130 47 47 $this->_dirname = "{$this->_cache_dir}{$this->_name}/"; 48 48 49 // Check for file exist ance.49 // Check for file existence. 50 50 if (! file_exists($this->_dirname)) 51 51 { trunk/midcom/midcom.core/midcom/services/cache/module/memcache.php
r13625 r14130 137 137 138 138 /** 139 * Checks for the exist ance of a key in the cache.139 * Checks for the existence of a key in the cache. 140 140 * 141 141 * @param string $data_group The Data Group to look in. 142 142 * @param string $key The key to look up. 143 * @return bool Indicating Existance143 * @return bool Indicating existence 144 144 */ 145 145 function exists($data_group, $key) trunk/midcom/midcom.core/midcom/services/cache/module/phpscripts.php
r13682 r14130 51 51 52 52 /** 53 * Initializes the cache module, verifying the exist ance of the script cache53 * Initializes the cache module, verifying the existence of the script cache 54 54 * directory. 55 55 */ trunk/midcom/midcom.core/midcom/services/dbclassloader.php
r14087 r14130 37 37 * An example declaration looks like this: 38 38 * 39 * < pre>39 * <code> 40 40 * Array 41 41 * ( … … 45 45 * 'midcom_class_name' => 'midcom_baseclasses_database_article' 46 46 * ) 47 * </ pre>47 * </code> 48 48 * 49 49 * As for the parameters: … … 55 55 * and dashes are allowed). 56 56 * 57 * <i>old_class_name</i> is a compatibil ty value as well, and should take the name of the57 * <i>old_class_name</i> is a compatibility value as well, and should take the name of the 58 58 * original Midgard class that was used to work, with this type. If there is no such type, 59 59 * set it to null which is the default if and only if this key is omitted in the declaration. 60 * If specified the class is checked for exist ance when the file is being loaded.60 * If specified the class is checked for existence when the file is being loaded. 61 61 * 62 62 * <i>new_class_name</i> is the MgdSchema class name from that you want to use. This argument … … 75 75 * is recommended that you take advantage of this feature for performance reasons: 76 76 * 77 * < pre>77 * <code> 78 78 * Array 79 79 * ( … … 84 84 * //... 85 85 * ), 86 * </ pre>86 * </code> 87 87 * 88 88 * Place a simple text file with exactly the declarations into the config directory of your … … 100 100 * subclass constructor looks like this: 101 101 * 102 * < pre>102 * <code> 103 103 * class midcom_baseclasses_database_article 104 104 * extends __midcom_baseclasses_database_article … … 111 111 * // ... 112 112 * } 113 * </ pre>113 * </code> 114 114 * 115 115 * Be sure to take and pass the $id parameter to the parent class, it will automatically load … … 125 125 * For example: 126 126 * 127 * < pre>127 * <code> 128 128 * class midcom_baseclasses_database_article 129 129 * extends __midcom_baseclasses_database_article … … 152 152 * } 153 153 * } 154 * </ pre>154 * </code> 155 155 * 156 156 * As you can see, this is not that hard. The only rule is that you always have to return either … … 202 202 203 203 /** 204 * Temporary variable during class co sntruction, stores the204 * Temporary variable during class construction, stores the 205 205 * class definition that is currently processed. 206 206 * … … 441 441 * member. 442 442 * 443 * It will translate component and filename into a full path and deliver es443 * It will translate component and filename into a full path and delivers 444 444 * the contents verbatim. 445 445 * … … 467 467 * @param string $component The name of the component that is assigned to handle the 468 468 * classes. 469 * @return string The code for these classes s ourrounded by php opening and closing tags.469 * @return string The code for these classes surrounded by php opening and closing tags. 470 470 */ 471 471 function _process_class_definition_list($definition_list, $definition_source, $component) … … 484 484 485 485 /** 486 * Generates a small block at the end of the script which register es the original definitions486 * Generates a small block at the end of the script which registers the original definitions 487 487 * with ourselves, so that we don't have to eval this all the time. 488 488 * … … 524 524 * require this information to be able to load the required components on-demand. 525 525 * 526 * @param Array $data The list of classes which have bee en loaded along with the metainformation.526 * @param Array $data The list of classes which have been loaded along with the metainformation. 527 527 */ 528 528 function _register_loaded_classes($data) … … 745 745 $target_property = $reflector->get_link_target($up_property); 746 746 /** 747 * Taken out from the generated code as this will cause infi te loop in ACL resolving, using direct QB in stead747 * Taken out from the generated code as this will cause infinite loop in ACL resolving, using direct QB in stead 748 748 * (when instantiating the parent ACLs will be checked in any case) 749 749 * … … 776 776 $target_class = $reflector->get_link_name($parent_property); 777 777 /** 778 * Taken out from the generated code as this will cause infi te loop in ACL resolving, using direct QB in stead778 * Taken out from the generated code as this will cause infinite loop in ACL resolving, using direct QB in stead 779 779 * (when instantiating the parent ACLs will be checked in any case) 780 780 * … … 983 983 } 984 984 985 // Add the generat eor metadata revision985 // Add the generator metadata revision 986 986 $revision = substr($this->_cvs_revision, 11, -2); 987 987 $this->_class_string .= " var \$__midcom_generator__ = 'midcom_services_dbclassloader';\n"; … … 1194 1194 * 1195 1195 * @param string $classname The name of the MidCOM DBA class that must be available. 1196 * @return bool Indicating success. False is retur ed only if you are requesting unknown1196 * @return bool Indicating success. False is returned only if you are requesting unknown 1197 1197 * classes and the like. Component loading failure will result in an HTTP 500, as 1198 1198 * always. trunk/midcom/midcom.core/midcom/services/indexer/document.php
r13945 r14130 603 603 604 604 /** 605 * This is a small helper that converts HTML to plain text (relativ ly simple):605 * This is a small helper that converts HTML to plain text (relatively simple): 606 606 * 607 607 * Basically, JavaScript blocks and trunk/midcom/midcom.core/midcom/services/session.php
r13625 r14130 95 95 * 96 96 * Returns null if the key 97 * is non-existent. Note, that this is not necessarily a valid non-exist ance97 * is non-existent. Note, that this is not necessarily a valid non-existence 98 98 * check, as the sessioning system does allow null values. Use the exists function 99 99 * if unsure. … … 136 136 * Removes the value associated with the specified key. Returns null if the key 137 137 * is non-existent or the value of the key just removed otherwise. Note, that 138 * this is not necessarily a valid non-exist ance check, as the sessioning138 * this is not necessarily a valid non-existence check, as the sessioning 139 139 * system does allow null values. Use the exists function if unsure. 140 140 * trunk/midcom/midcom.helper.datamanager/helpers_select_lists.php
r14084 r14130 79 79 80 80 /** 81 * Lists all groups recursiv ly, using four spaces to indent subgroups.81 * Lists all groups recursively, using four spaces to indent subgroups. 82 82 * 83 83 * A no-selection element is added ontop of the list having an empty trunk/midcom/midcom.helper.datamanager2/baseclasses/filter.php
r10966 r14130 70 70 /** 71 71 * Actual callback. Be aware, that QF might call this more then once for a single schema 72 * field, since it calls it recursiv ly and form-element-wise.72 * field, since it calls it recursively and form-element-wise. 73 73 * 74 74 * @param mixed $input The form values which should be filtered. trunk/midcom/midcom.helper.datamanager2/type/images.php
r14087 r14130 128 128 * 129 129 * The array is indexed by attachment identifier and contains Arrays containing image 130 * identifier and derived image name consecutiv ly (without any special indexes).130 * identifier and derived image name consecutively (without any special indexes). 131 131 * 132 132 * Updates are done on load of the types' data and on every attachment add/delete trunk/midcom/midcom.helper.datamanager2/type/mnrelation.php
r14082 r14130 47 47 * '_' matches exactly one character. 48 48 * 49 * When starting up, the type will only validate the exist ance of the mapping class. The49 * When starting up, the type will only validate the existence of the mapping class. The 50 50 * members specified will not be checked for performance reasons. In case something 51 51 * wrong is specified there, it will surface during runtime, as invalid mapping entries trunk/midcom/midcom.helper.replicator/helpers.php
r14105 r14130 1 1 <?php 2 2 /** 3 * @package midcom.helper.replicator4 * @author The Midgard Project, http://www.midgard-project.org5 * @version $Id: viewer.php 3975 2006-09-06 17:36:03Z bergie $6 * @copyright The Midgard Project, http://www.midgard-project.org7 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License8 */3 * @package midcom.helper.replicator 4 * @author The Midgard Project, http://www.midgard-project.org 5 * @version $Id: viewer.php 3975 2006-09-06 17:36:03Z bergie $ 6 * @copyright The Midgard Project, http://www.midgard-project.org 7 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License 8 */ 9 9 10 10 /** … … 13 13 * Manifests as "Wrong parameter count for serialize()" when you call 14 14 * it (otherwise properly) inside MidCOM application 15 * 16 * @package midcom.helper.replicator 15 * 17 16 * @param midgard_object $object reference to an object 18 17 * @return string object serialized (or false in case of failure) … … 29 28 * 1. API has changed between 1.8.2 and 1.8.3 30 29 * 2. see midcom_helper_replicator_serialize 31 * 32 * @package midcom.helper.replicator 30 * 33 31 * @param midgard_attachment $object reference to attachment object 34 32 * @return string blob serialized (or false in case of failure) … … 49 47 * Workaround for Zend bug regarding object handling inside me
