Changeset 14390
- Timestamp:
- 01/12/08 16:39:27 (9 months ago)
- Files:
-
- trunk/midcom/midcom.core/constants.php (modified) (10 diffs)
- trunk/midcom/midcom.core/midcom/application.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php (modified) (3 diffs)
- trunk/midcom/midcom.core/midcom/debug.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/backend.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document.php (modified) (4 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/filter.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/baseclasses/filter.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager/ajax.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager/paged.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/blobs.php (modified) (9 diffs)
- trunk/midcom/midcom.helper.replicator/exporter.php (modified) (10 diffs)
- trunk/midcom/midcom.helper.replicator/exporter/mirror.php (modified) (4 diffs)
- trunk/midcom/midcom.helper.replicator/exporter/staging2live.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.replicator/helpers.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.replicator/importer.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.replicator/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/midcom.helper.replicator/transporter.php (modified) (3 diffs)
- trunk/midcom/midgard.admin.asgard/reflector_tree.php (modified) (3 diffs)
- trunk/midcom/midgard.admin.sitegroup/creation/config/config.php (modified) (1 diff)
- trunk/midcom/net.nemein.ping/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/org.maemo.socialnews/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/org.openpsa.contacts/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/org.openpsa.directmarketing/midcom/interfaces.php (modified) (3 diffs)
- trunk/midcom/org.openpsa.documents/viewer.php (modified) (1 diff)
- trunk/midcom/org.openpsa.sales/midcom/interfaces.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/constants.php
r14140 r14390 10 10 // Constants for the MidCOM System 11 11 12 // MidCOM Property Keys 12 /**#@+ 13 * MidCOM Property Keys 14 */ 13 15 define ('MIDCOM_PROP_DLOAD', 0); /* DEPRECATED ??? */ 14 16 define ('MIDCOM_PROP_VERSION', 1); … … 17 19 define ('MIDCOM_PROP_ACL_PRIVILEGES', 4); 18 20 define ('MIDCOM_PROP_VGROUPS', 5); 19 20 // MidCOM Default Error Codes (-> HTTP) 21 /**#@-*/ 22 23 /**#@+ 24 *MidCOM Default Error Codes (-> HTTP) 25 */ 21 26 define ('MIDCOM_ERROK',200); 22 27 define ('MIDCOM_ERRNOTFOUND',404); … … 24 29 define ('MIDCOM_ERRAUTH',401); 25 30 define ('MIDCOM_ERRCRIT',500); 31 /**#@-*/ 26 32 27 33 // MidCOM NAP URL Information Constants 28 34 29 // MidCOM Meta Data Constants 35 /**#@+ 36 * MidCOM Meta Data Constants 37 */ 30 38 define ('MIDCOM_NAV_URL',0); 31 39 define ('MIDCOM_NAV_NAME',1); … … 59 67 define ('MIDCOM_META_EDITOR',102); /* DEPRECATED AS OF 2.4.0 */ 60 68 define ('MIDCOM_META_EDITED',103); /* DEPRECATED AS OF 2.4.0 */ 61 62 // MidCOM Component Context Keys 69 /**#@-*/ 70 71 /**#@+ 72 * MidCOM Component Context Keys 73 */ 63 74 define ('MIDCOM_CONTEXT_ANCHORPREFIX',0); 64 75 define ('MIDCOM_CONTEXT_SUBSTYLE',1); … … 73 84 define ('MIDCOM_CONTEXT_PERMALINKGUID', 11); 74 85 define ('MIDCOM_CONTEXT_URI', 12); 75 76 // INTERNAL Context Keys, not accessible from outside midcom_application. 86 /**#@-*/ 87 88 /** 89 * INTERNAL Context Keys, not accessible from outside midcom_application. 90 */ 77 91 define ('MIDCOM_CONTEXT_CUSTOMDATA', 1000); 78 92 79 // URL PARSER Object Types 93 /**#@+ 94 * URL PARSER Object Types 95 */ 80 96 define ('MIDCOM_HELPER_URLPARSER_TOPIC',0); 81 97 define ('MIDCOM_HELPER_URLPARSER_ARTICLE',1); … … 83 99 define ('MIDCOM_HELPER_URLPARSER_KEY',3); 84 100 define ('MIDCOM_HELPER_URLPARSER_VALUE',4); 85 86 // Debugger 101 /**#@-*/ 102 103 /**#@+ 104 * Debugger 105 */ 87 106 define ('MIDCOM_LOG_DEBUG', 4); 88 107 define ('MIDCOM_LOG_INFO', 3); … … 90 109 define ('MIDCOM_LOG_ERROR', 1); 91 110 define ('MIDCOM_LOG_CRIT', 0); 92 93 // Client Status Array Keys 111 /**#@-*/ 112 113 /**#@+ 114 * Client Status Array Keys 115 */ 94 116 define ('MIDCOM_CLIENT_MOZILLA',0); 95 117 define ('MIDCOM_CLIENT_IE',1); … … 99 121 define ('MIDCOM_CLIENT_MAC',11); 100 122 define ('MIDCOM_CLIENT_WIN',12); 101 102 // Request Types 123 /**#@-*/ 124 125 /**#@+ 126 * Request Types 127 */ 103 128 define ('MIDCOM_REQUEST_CONTENT',0); 104 129 define ('MIDCOM_REQUEST_CONTENTADM',1); 105 130 define ('MIDCOM_REQUEST_COMPONENTADM',2); 106 107 // Data Manager 131 /**#@-*/ 132 133 /**#@+ 134 * Data Manager 135 */ 108 136 define ('MIDCOM_DATAMGR_EDITING',0); 109 137 define ('MIDCOM_DATAMGR_SAVED',1); … … 114 142 define ('MIDCOM_DATAMGR_CREATEFAILED',6); 115 143 define ('MIDCOM_DATAMGR_SAVE_DELAYED',7); 116 117 // MidCOM Core Status Codes 144 /**#@-*/ 145 146 /**#@+ 147 * MidCOM Core Status Codes 148 */ 118 149 define ('MIDCOM_STATUS_PREPARE',0); 119 150 define ('MIDCOM_STATUS_CANHANDLE',1); … … 122 153 define ('MIDCOM_STATUS_CLEANUP',4); 123 154 define ('MIDCOM_STATUS_ABORT',5); 124 125 // MidCOM NAP Sorting Modes 155 /**#@-*/ 156 157 /**#@+ 158 * MidCOM NAP Sorting Modes 159 */ 126 160 define ('MIDCOM_NAVORDER_DEFAULT', 0); 127 161 define ('MIDCOM_NAVORDER_ARTICLESFIRST', 1); 128 162 define ('MIDCOM_NAVORDER_TOPICSFIRST', 2); 129 163 define ('MIDCOM_NAVORDER_SCORE', 3); 130 164 /**#@-*/ 131 165 132 166 /**#@+ trunk/midcom/midcom.core/midcom/application.php
r14385 r14390 208 208 * I18n service class 209 209 * 210 * @var midcom_ helper_i18n210 * @var midcom_services_i18n 211 211 */ 212 212 public $i18n = null; trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php
r14329 r14390 725 725 * It will call the corresponding event handler reading the topic configuration beforehand. 726 726 * 727 * @param midcom_services_indexer_document $document The document to check. This object is passed by727 * @param midcom_services_indexer_document &$document The document to check. This object is passed by 728 728 * reference and may therefore be modified to match the current security policy. 729 729 * @param MidgardTopic $topic The topic this document is assigned to. … … 951 951 * @param MidgardTopic $topic The topic to reindex. 952 952 * @param midgard_helper_config $config The configuration associated with this topic. 953 * @param midcom_service _indexer The indexer object to use for indexing. (Passed by reference!)953 * @param midcom_services_indexer The indexer object to use for indexing. (Passed by reference!) 954 954 * @return boolean Indicating success. 955 955 */ … … 972 972 * though this <i>should</i> be avoided if possible. 973 973 * 974 * @param midcom_services_indexer_document $document The document to check. This object is passed by974 * @param midcom_services_indexer_document &$document The document to check. This object is passed by 975 975 * reference and may therefore be modified to match the current security policy. 976 976 * @param midcom_helper_configuration $config The configuration associated with the topic. trunk/midcom/midcom.core/midcom/debug.php
r14329 r14390 244 244 * 245 245 * @param string $message The message to be logged 246 * @param mixed $variable The variable to be logged246 * @param mixed &$variable The variable to be logged 247 247 * @param int $loglevel The log level 248 248 */ … … 318 318 * 319 319 * @param string $message The message to be logged 320 * @param mixed $variable The variable of which the type should be logged320 * @param mixed &$variable The variable of which the type should be logged 321 321 * @param int $loglevel The log level 322 322 */ … … 395 395 * 396 396 * @param string $message The message to be logged 397 * @param mixed $variable The variable to be logged397 * @param mixed &$variable The variable to be logged 398 398 * @param int $loglevel The log level 399 399 */ … … 418 418 * 419 419 * @param string $message The message to be logged 420 * @param mixed $variable The variable of which the type should be logged420 * @param mixed &$variable The variable of which the type should be logged 421 421 * @param int $loglevel The log level 422 422 */ trunk/midcom/midcom.core/midcom/services/indexer/backend.php
r14329 r14390 38 38 function index ($documents) 39 39 { 40 die ('The method midcom_service _indexer_backend::index must be implemented.');40 die ('The method midcom_services_indexer_backend::index must be implemented.'); 41 41 } 42 42 … … 49 49 function delete ($RI) 50 50 { 51 die ('The method midcom_service _indexer_backend::remove must be implemented.');51 die ('The method midcom_services_indexer_backend::remove must be implemented.'); 52 52 } 53 53 … … 61 61 function delete_all() 62 62 { 63 die ('The method midcom_service _indexer_backend::remove_all must be implemented.');63 die ('The method midcom_services_indexer_backend::remove_all must be implemented.'); 64 64 } 65 65 … … 75 75 function query ($query, $filter) 76 76 { 77 die ('The method midcom_service _indexer_backend::query must be implemented.');77 die ('The method midcom_services_indexer_backend::query must be implemented.'); 78 78 } 79 79 trunk/midcom/midcom.core/midcom/services/indexer/document.php
r14381 r14390 26 26 * 27 27 * This class should not be instantiated directly, a new instance of this class 28 * can be obtained using the midcom_service _indexer class.28 * can be obtained using the midcom_services_indexer class. 29 29 * 30 30 * A number of predefined fields are available using member fields. These fields … … 289 289 if (! array_key_exists($name, $this->_fields)) 290 290 { 291 debug_push('midcom_service _indexer_document::get_field');291 debug_push('midcom_services_indexer_document::get_field'); 292 292 debug_add("Field {$name} not found in the document.", MIDCOM_LOG_INFO); 293 293 debug_pop(); … … 311 311 if (! array_key_exists($name, $this->_fields)) 312 312 { 313 debug_push('midcom_service _indexer_document::get_field_record');313 debug_push('midcom_services_indexer_document::get_field_record'); 314 314 debug_add("Field {$name} not found in the document.", MIDCOM_LOG_INFO); 315 315 debug_pop(); … … 734 734 * Tries to resolve created,revised,author,editor and creator for the document from Midgard object 735 735 * 736 * @param midgard_object $object object to use as source for the info736 * @param midgard_object &$object object to use as source for the info 737 737 */ 738 738 function read_metadata_from_object(&$object) trunk/midcom/midcom.core/midcom/services/indexer/filter.php
r3766 r14390 18 18 * @abstract Abstract indexer filter class 19 19 * @package midcom.services 20 * @see midcom_service _indexer20 * @see midcom_services_indexer 21 21 */ 22 22 trunk/midcom/midcom.helper.datamanager2/baseclasses/filter.php
r14130 r14390 49 49 * members. 50 50 * 51 * @param midcom_helper_datamanager2_formmanager $formmanager The formmanager we are bound to.51 * @param midcom_helper_datamanager2_formmanager &$formmanager The formmanager we are bound to. 52 52 * @param mixed $config The configuration we are operating on. 53 53 */ trunk/midcom/midcom.helper.datamanager2/formmanager.php
r14380 r14390 196 196 * constructor call, to allow for full reference safety. 197 197 * 198 * @param name The name of the form. This defaults to the name of the currently active component, which should198 * @param mixed $name The name of the form. This defaults to the name of the currently active component, which should 199 199 * suffice in most cases. 200 200 * @return boolean Indicating success. trunk/midcom/midcom.helper.datamanager2/formmanager/ajax.php
r14380 r14390 69 69 * ... 70 70 * 71 * @param name The name of the form. This defaults to the name of the currently active component, which should71 * @param mixed $name The name of the form. This defaults to the name of the currently active component, which should 72 72 * suffice in most cases. 73 73 * @return boolean Indicating success. trunk/midcom/midcom.helper.datamanager2/formmanager/paged.php
r14380 r14390 65 65 * ... 66 66 * 67 * @param name The name of the form. This defaults to the name of the currently active component, which should67 * @param mixed $name The name of the form. This defaults to the name of the currently active component, which should 68 68 * suffice in most cases. 69 69 * @return boolean Indicating success. trunk/midcom/midcom.helper.datamanager2/type/blobs.php
r14380 r14390 36 36 { 37 37 /** 38 * All attachments covered by this field. The array contains39 * midcom_baseclasses_database_attachment objects indexed by their identifier40 * within the field.38 * All attachments covered by this field. 39 * The array contains midcom_baseclasses_database_attachment objects indexed by their 40 * identifier within the field. 41 41 * 42 42 * See the $attachments_info member for a more general approach easily usable … … 49 49 50 50 /** 51 * This is the base URL used for attachment serving. It defaults to the global 52 * MidCOM attachment handler at the sites root. When constructing Attachment 53 * Info blocks, this URL is completed using "{$baseurl}{$guid}/{$filename}". 51 * This is the base URL used for attachment serving. 52 * 53 * It defaults to the global MidCOM attachment handler at the sites root. 54 * When constructing Attachment Info blocks, this URL is completed using 55 * "{$baseurl}{$guid}/{$filename}". 54 56 * 55 57 * @var string … … 60 62 /** 61 63 * This member is populated and synchronized with all known changes to the 62 * attachments listing. It contains a batch of metadata that makes presenting 63 * them easy. The information is kept in an array per attachment, again indexed 64 * attachments listing. 65 * 66 * It contains a batch of metadata that makes presenting them easy. The 67 * information is kept in an array per attachment, again indexed 64 68 * by their identifiers. The following keys are defined: 65 69 * … … 97 101 98 102 /** 99 * Set the base URL accordingly (this requires midcom_config access and is thus 100 * not possible using class member initializers. 103 * Set the base URL accordingly 104 * 105 * this requires midcom_config access and is thus not possible using class member initializers. 101 106 */ 102 107 function _on_configuring($config) … … 109 114 110 115 /** 111 * This function loads all known attachments from the storage object. It 112 * will leave the field empty in case the storage object is null. 116 * This function loads all known attachments from the storage object. 117 * 118 * It will leave the field empty in case the storage object is null. 113 119 */ 114 120 function convert_from_storage ($source) … … 154 160 155 161 /** 156 * This function sorts the attachment lists by filename. It has to be called 157 * after each attachment operation. It uses a user-defined ordering function 158 * for each of the two arrays to be sorted: _sort_attachments_callback() and 159 * _sort_attachments_info_callback(). 162 * This function sorts the attachment lists by filename. 163 * 164 * It has to be called after each attachment operation. It uses a 165 * user-defined ordering function for each of the two arrays to be sorted: 166 * _sort_attachments_callback() and _sort_attachments_info_callback(). 160 167 * 161 168 * @access protected … … 170 177 171 178 /** 172 * User-defined array sorting callback, used for sorting $attachments. See the 173 * usort() documentation for further details. 179 * User-defined array sorting callback, used for sorting $attachments. 180 * 181 * See the usort() documentation for further details. 174 182 * 175 183 * @access protected … … 184 192 185 193 /** 186 * User-defined array sorting callback, used for sorting $attachments_info. See the 187 * usort() documentation for further details. 194 * User-defined array sorting callback, used for sorting $attachments_info. 195 * 196 * See the usort() documentation for further details. 188 197 * 189 198 * @access protected … … 551 560 552 561 /** 553 * Updates the title field of the specified attachment. This will automatically update 554 * the attachment info as well. 562 * Updates the title field of the specified attachment. 563 * 564 * This will automatically update the attachment info as well. 555 565 * 556 566 * @param string $identifier The identifier of the new attachment. trunk/midcom/midcom.helper.replicator/exporter.php
r14328 r14390 16 16 * The subscription object the transporter has been instantiated for 17 17 * 18 * @var midcom_helper_replicat ion_subscription_dba18 * @var midcom_helper_replicator_subscription_dba 19 19 * @access protected 20 20 */ … … 30 30 * Initializes the class. The real startup is done by the initialize() call. 31 31 * 32 * @param midcom_helper_replicat ion_subscription_dba $subscription Subscription32 * @param midcom_helper_replicator_subscription_dba $subscription Subscription 33 33 */ 34 34 function midcom_helper_replicator_exporter($subscription) … … 50 50 * <b>This function must be called statically.</b> 51 51 * 52 * @param midcom_helper_replicat ion_subscription_dba $subscription Subscription52 * @param midcom_helper_replicator_subscription_dba $subscription Subscription 53 53 * @return midcom_helper_replicator_exporter A reference to the newly created exporter instance. 54 54 * @static … … 128 128 * Serialize attachment object 129 129 * 130 * @param midgard_attachment $object The attachment object to serialize130 * @param midgard_attachment &$attachment The attachment object to serialize 131 131 * @return array Array of exported attachments metadata and blob 132 132 */ … … 134 134 { 135 135 debug_push_class(__CLASS__, __FUNCTION__); 136 debug_add("called for attach ement {$attachment->guid}");136 debug_add("called for attachment {$attachment->guid}"); 137 137 $serializations = array(); 138 138 … … 188 188 * Serialize attachments of an object 189 189 * 190 * @param midgard_object $object The Object to export attachments of190 * @param midgard_object &$object The Object to export attachments of 191 191 * @return array Array of exported attachments as XML indexed by GUID 192 192 */ … … 241 241 * Serialize parameters of an object 242 242 * 243 * @param midgard_object $object The Object to export parameters of243 * @param midgard_object &$object The Object to export parameters of 244 244 * @return array Array of exported parameters as XML indexed by GUID 245 245 */ … … 295 295 * This will also serialize the attachments and parameters of the object. 296 296 * 297 * @param midgard_object $object The Object to export parameters of297 * @param midgard_object &$object The Object to export parameters of 298 298 * @return array Array of exported objects as XML indexed by GUID 299 299 */ … … 431 431 * contextual handling of dependencies. 432 432 * 433 * @param midgard_object $object The Object to export parameters of433 * @param midgard_object &$object The Object to export parameters of 434 434 * @return boolean Whether the object may be exported with this exporter 435 435 */ … … 469 469 * contextual handling of dependencies. 470 470 * 471 * @param midgard_object $object The Object to export parameters of471 * @param midgard_object &$object The Object to export parameters of 472 472 * @return array Array of exported objects as XML indexed by GUID 473 473 */ trunk/midcom/midcom.helper.replicator/exporter/mirror.php
r14322 r14390 85 85 * all content this will always return true. 86 86 * 87 * @param midgard_object $object The Object to export parameters of87 * @param midgard_object &$object The Object to export parameters of 88 88 * @return boolean Whether the object may be exported with this exporter 89 89 */ … … 162 162 * Export some children of the object 163 163 * 164 * @param midgard_object $object The Object to export parameters of164 * @param midgard_object &$object The Object to export parameters of 165 165 * @return array Array of exported objects as XML indexed by GUID 166 166 */ … … 186 186 * and walk the object's parent tree as needed. 187 187 * 188 * @param midgard_object $object The Object to export parameters of188 * @param midgard_object &$object The Object to export parameters of 189 189 * @return array Array of exported objects as XML indexed by GUID 190 190 */ … … 265 265 * object itself, but also its parent hierarchy. 266 266 * 267 * @param midgard_object $object The Object to export parameters of267 * @param midgard_object &$object The Object to export parameters of 268 268 * @return array Array of exported objects as XML indexed by GUID 269 269 */ trunk/midcom/midcom.helper.replicator/exporter/staging2live.php
r14084 r14390 43 43 * all content this will always return true. 44 44 * 45 * @param midgard_object $object The Object to export parameters of45 * @param midgard_object &$object The Object to export parameters of 46 46 * @return boolean Whether the object may be exported with this exporter 47 47 */ … … 283 283 * Export some children of the object 284 284 * 285 * @param midgard_object $object The Object to export parameters of285 * @param midgard_object &$object The Object to export parameters of 286 286 * @return array Array of exported objects as XML indexed by GUID 287 287 * @todo rethink child/parent handling trunk/midcom/midcom.helper.replicator/helpers.php
r14130 r14390 14 14 * it (otherwise properly) inside MidCOM application 15 15 * 16 * @param midgard_object $object reference to an object16 * @param midgard_object &$object reference to an object 17 17 * @return string object serialized (or false in case of failure) 18 18 */ … … 70 70 * it (otherwise properly) inside MidCOM application 71 71 * 72 * @param midgard_object $object reference to an object72 * @param midgard_object &$object reference to an object 73 73 * @param boolean $use_force whether to use force 74 74 * @return boolean indicating success/failure trunk/midcom/midcom.helper.replicator/importer.php
r14328 r14390 76 76 77 77 /** 78 * This is the checkpoint of the importer. This should be overridden in subclasses for more 79 * contextual handling of dependencies. 80 * 81 * @param midgard_object $object The Object to import 78 * This is the checkpoint of the importer. 79 * 80 * This should be overridden in subclasses for more contextual handling of dependencies. 81 * 82 * @param midgard_object &$object The Object to import 82 83 * @return boolean Whether the object may be imported with this importer 83 84 */ … … 88 89 89 90 /** 90 * This is the main entry point of the importer. This should be overridden in subclasses for more 91 * contextual handling of dependencies. 91 * This is the main entry point of the importer. 92 * 93 * This should be overridden in subclasses for more contextual handling of dependencies. 92 94 * 93 95 * @param string $xml XML replication content trunk/midcom/midcom.helper.replicator/midcom/interfaces.php
r14329 r14390 142 142 * 143 143 * @param array $args handler arguments 144 * @param object $handler reference to the cron_handler object calling this method.144 * @param object &$handler reference to the cron_handler object calling this method. 145 145 * @return boolean indicating success/failure 146 146 * @todo figure out how to handle deleted (not purged) object replication trunk/midcom/midcom.helper.replicator/transporter.php
r14328 r14390 16 16 * The subscription object the transporter has been instantiated for 17 17 * 18 * @var midcom_helper_replicat ion_subscription_dba18 * @var midcom_helper_replicator_subscription_dba 19 19 * @access protected 20 20 */ … … 32 32 * Initializes the class. The real startup is done by the initialize() call. 33 33 * 34 * @param midcom_helper_replicat ion_subscription_dba $subscription Subscription34 * @param midcom_helper_replicator_subscription_dba $subscription Subscription 35 35 */ 36 36 function midcom_helper_replicator_transporter($subscription) … … 52 52 * <b>This function must be called statically.</b> 53 53 * 54 * @param midcom_helper_replicat ion_subscription_dba $subscription Subscription54 * @param midcom_helper_replicator_subscription_dba $subscription Subscription 55 55 * @return midcom_helper_replicator_transporter A reference to the newly created transporter instance. 56 56 * @static trunk/midcom/midgard.admin.asgard/reflector_tree.php
r14327 r14390 249 249 * Statically callable method to count children of given object 250 250 * 251 * @param midgard_object $object object to get children for251 * @param midgard_object &$object object to get children for 252 252 * @param boolean $deleted whether to count (only) deleted or not-deleted objects 253 253 * @return array multidimensional array (keyed by classname) of objects or false on failure … … 298 298 * are available, check for is_callable/method_exists first ! 299 299 * 300 * @param midgard_object $object the object to get parent for300 * @param midgard_object &$object the object to get parent for 301 301 */ 302 302 function get_parent(&$object) … … 411 411 * Statically callable method to get children of given object 412 412 * 413 * @param midgard_object $object object to get children for413 * @param midgard_object &$object object to get children for 414 414 * @param boolean $deleted whether to get (only) deleted or not-deleted objects 415 415 * @return array multidimensional array (keyed by classname) of objects or false on failure trunk/midcom/midgard.admin.sitegroup/creation/config/config.php
r14328 r14390 70 70 /** 71 71 * Sets a value to null 72 * @param name of the value72 * @param string $valuename of the value 73 73 * @return boolean true if value was deleted. 74 74 */ trunk/midcom/net.nemein.ping/midcom/interfaces.php
r14381 r14390 74 74 * AT handler for handling subscription cycles. 75 75 * @param array $args handler arguments 76 * @param object $handler reference to the cron_handler object calling this method.76 * @param object &$handler reference to the cron_handler object calling this method. 77 77 * @return boolean indicating success/failure 78 78 */ trunk/midcom/org.maemo.socialnews/midcom/interfaces.php
r14329 r14390 68 68 * AT handler for handling recalculations 69 69 * @param array $args handler arguments 70 * @param object $handler reference to the cron_handler object calling this method.70 * @param object &$handler reference to the cron_handler object calling this method. 71 71 * @return boolean indicating success/failure 72 72 */ trunk/midcom/org.openpsa.contacts/midcom/interfaces.php
r14338 r14390 365 365 * AT handler for fetching Semantic Web data for person or group 366 366 * @param array $args handler arguments 367 * @param object $handler reference to the cron_handler object calling this method.367 * @param object &$handler reference to the cron_handler object calling this method. 368 368 * @return boolean indicating success/failure 369 369 */ trunk/midcom/org.openpsa.directmarketing/midcom/interfaces.php
r14338 r14390 57 57 * Test case for the AT service 58 58 * @param array $args handler arguments 59 * @param object $handler reference to the cron_handler object calling this method.59 * @param object &$handler reference to the cron_handler object calling this method. 60 60 * @return boolean Always true 61 61 */ … … 73 73 * Background message sending AT batch handler 74 74 * @param array $args handler arguments 75 * @param object $handler reference to the cron_handler object calling this method.75 * @param object &$handler reference to the cron_handler object calling this method. 76 76 * @return boolean indicating success/failure 77 77 */ … … 138 138 * For updating smart campaigns members in background 139 139 * @param array $args handler arguments 140 * @param object $handler reference to the cron_handler object calling this method.140 * @param object &$handler reference to the cron_handler object calling this method. 141 141 * @return boolean indicating success/failure 142 142 */ trunk/midcom/org.openpsa.documents/viewer.php
r14387 r14390 179 179 foreach ($this->_request_data['results'] as $document) 180 180 { 181 // $obj->RI will contain either document or attach ement GUID depending on match, ->source will always contain the document GUID181 // $obj->RI will contain either document or attachment GUID depending on match, ->source will always contain the document GUID 182 182 $this->_request_data['metadata'] = $this->_metadata_handler->_load_metadata($document->source); 183 183 if ($this->_request_data['metadata']) trunk/midcom/org.openpsa.sales/midcom/interfaces.php
r14329 r14390 256 256 * AT handler for handling subscription cycles. 257 257 * @param array $args handler arguments 258 * @param object $handler reference to the cron_handler object calling this method.258 * @param object &$handler reference to the cron_handler object calling this method. 259 259 * @return boolean indicating success/failure 260 260 */
