Changeset 14391
- Timestamp:
- 01/12/08 17:15:59 (8 months ago)
- Files:
-
- trunk/midcom/com.magnettechnologies.contactgrabber/config.php (modified) (1 diff)
- trunk/midcom/com.magnettechnologies.contactgrabber/lib/yahoo/config.php (modified) (1 diff)
- trunk/midcom/midcom.core/constants.php (modified) (2 diffs)
- trunk/midcom/midcom.core/midcom/services/dbclassloader.php (modified) (7 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/indexer/document.php (modified) (13 diffs)
- trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager2.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/js_css_merger.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager/datamanager.php (modified) (1 diff)
- trunk/midcom/midcom.helper.dm2config/config.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.branchenbuch/handler/addentry.php (modified) (3 diffs)
- trunk/midcom/net.nehmer.branchenbuch/handler/categories.php (modified) (2 diffs)
- trunk/midcom/net.nehmer.branchenbuch/handler/entries.php (modified) (1 diff)
- trunk/midcom/net.nemein.tag/handler.php (modified) (3 diffs)
- trunk/midcom/net.nemein.teams/admin.php (modified) (1 diff)
- trunk/midcom/net.nemein.teams/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/net.nemein.teams/navigation.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/com.magnettechnologies.contactgrabber/config.php
r14328 r14391 30 30 */ 31 31 32 // Write full path to this i stallation directory32 // Write full path to this installation directory 33 33 // example: '/home/user/public_html/contacts' (linux) 34 34 // trunk/midcom/com.magnettechnologies.contactgrabber/lib/yahoo/config.php
r14335 r14391 27 27 */ 28 28 29 // Write full path to this istallation directory29 // Write full path to thisinstallation directory 30 30 // example: '/home/user/public_html/contacts' (linux) 31 31 // trunk/midcom/midcom.core/constants.php
r14390 r14391 1 1 <?php 2 2 /** 3 * Constants for the MidCOM System 4 * 3 5 * @package midcom 4 6 * @author The Midgard Project, http://www.midgard-project.org … … 7 9 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License 8 10 */ 9 10 // Constants for the MidCOM System11 11 12 12 /**#@+ trunk/midcom/midcom.core/midcom/services/dbclassloader.php
r14381 r14391 211 211 212 212 /** 213 * List of all classes which have been loaded. This list only contains the class 214 * definitions that have been used to construct the actual helper classes. 213 * List of all classes which have been loaded. 214 * 215 * This list only contains the class definitions that have been used to 216 * construct the actual helper classes. 215 217 * 216 218 * @var Array … … 220 222 221 223 /** 222 * A mapping storing which component handles which class. This is used to ensure that 223 * all MidCOM DBA main classes are loaded when casting MgdSchema objects to DBA objects. 224 * Especially important for the generic by-GUID object getter. 224 * A mapping storing which component handles which class. 225 * 226 * This is used to ensure that all MidCOM DBA main classes are loaded when 227 * casting MgdSchema objects to DBA objects. Especially important for the 228 * generic by-GUID object getter. 225 229 * 226 230 * @var Array … … 238 242 239 243 /** 240 * this is the main class loader function. It takes a component/filename pair as244 * This is the main class loader function. It takes a component/filename pair as 241 245 * arguments, the first specifying the place to look for the latter. 242 246 * … … 312 316 313 317 /** 314 * This helper function validates a class definition list for correctness. Any 315 * error will be logged and false is returned.. 318 * This helper function validates a class definition list for correctness. 319 * 320 * Any error will be logged and false is returned. 316 321 * 317 322 * Where possible, missing elements are completed with sensible defaults. … … 417 422 /** 418 423 * Little helper which converts a component / filename combination into a fully 419 * qualified path/filename. The filename is assigned to the $_class_definition_filename 420 * member variable of this class. 424 * qualified path/filename. 425 * 426 * The filename is assigned to the $_class_definition_filename member variable of this class. 421 427 * 422 428 * @param string $component The name of the component for which the class file has to be loaded. The path must … … 438 444 /** 439 445 * This helper function loads a class definition file from the disk and 440 * returns its contents. The source must be stored in the $_class_definition_filename 446 * returns its contents. 447 * 448 * The source must be stored in the $_class_definition_filename 441 449 * member. 442 * 450 * 443 451 * It will translate component and filename into a full path and delivers 444 452 * the contents verbatim. … … 517 525 /** 518 526 * Simple helper that adds a list of classes to the loaded classes listing. 527 * 519 528 * This function is called from the cached files, which contain a copy of the 520 529 * class definition at their bottom to avoid eval'ing it again at each run. trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php
r14380 r14391 14 14 15 15 /** 16 * Solr implementation of the indexer backend. This works by communicating with solr 17 * over http requests. It uses the same tcphost and tcpport settings as the old TCP indexer used. 16 * Solr implementation of the indexer backend. 17 * 18 * This works by communicating with solr over http requests. It uses the same tcphost 19 * and tcpport settings as the old TCP indexer used. 18 20 * 19 21 * @package midcom.services trunk/midcom/midcom.core/midcom/services/indexer/document.php
r14390 r14391 62 62 * 63 63 * @access protected 64 * @var midcom_service _i18n64 * @var midcom_services_i18n 65 65 */ 66 66 var $_i18n = null; … … 77 77 78 78 /** 79 * The Resource Identifier of this document. Must be UTF-8 on assignment 80 * already. 79 * The Resource Identifier of this document. 80 * 81 * Must be UTF-8 on assignment already. 81 82 * 82 83 * This field is mandatory. … … 96 97 97 98 /** 98 * The GUID of the topic the document is assigned to. May be empty for 99 * non-midgard resources. 99 * The GUID of the topic the document is assigned to. 100 * 101 * May be empty for non-midgard resources. 100 102 * 101 103 * This field is mandatory. … … 106 108 107 109 /** 108 * The name of the component responsible for the document. May be empty for 109 * non-midgard resources. 110 * The name of the component responsible for the document. 111 * 112 * May be empty for non-midgard resources. 110 113 * 111 114 * This field is mandatory. … … 209 212 /** 210 213 * An additional tag indicating the source of the document for use by the 211 * component doing the indexing. This value is not indexed and should not be 212 * used by anybody except the component doing the indexing. 214 * component doing the indexing. 215 * 216 * This value is not indexed and should not be used by anybody except the 217 * component doing the indexing. 213 218 * 214 219 * This is optional. … … 219 224 220 225 /** 221 * The full path to the topic that houses the document. For external resources, 222 * this should be either a MidCOM topic, to which this resource is associated or 223 * some "directory" after which you could filter. You may also leave 224 * it empty prohibiting it to appear on any topic-specific search. 226 * The full path to the topic that houses the document. 227 * 228 * For external resources, this should be either a MidCOM topic, to which this 229 * resource is associated or some "directory" after which you could filter. 230 * You may also leave it empty prohibiting it to appear on any topic-specific search. 225 231 * 226 232 * The value should be fully qualified, as returned by MIDCOM_NAV_FULLURL, including … … 609 615 * 610 616 * Don't replace with an empty string but with a space, so that constructs like 611 * <li>torben</li><li>nehmer</li>are recognized correctly.617 * <li>torben</li><li>nehmer</li> are recognized correctly. 612 618 * While this might result in double-spaces between words, this is better then 613 619 * loosing the word boundaries entirely. … … 684 690 * base class. 685 691 * 686 * @param midcom_helper_datamanager2_datamanager $datamanager A692 * @param midcom_helper_datamanager2_datamanager &$datamanager A 687 693 * reference to the datamanager2 instance. 688 694 * @param string $name The name of the field that should be queried … … 698 704 * Checks whether the given document is an instance of given document type. 699 705 * 700 * This is equivalent to the is_a object hi rarchy check, except that it706 * This is equivalent to the is_a object hierarchy check, except that it 701 707 * works with MidCOM documents. 702 708 * … … 704 710 * @see _set_type() 705 711 * @param string $document_type The base type to search for. 706 * @return boolean Indicati ong relationship.712 * @return boolean Indicating relationship. 707 713 */ 708 714 function is_a($document_type) … … 822 828 * Heuristics to determine how to convert given timestamp to local unixtime 823 829 * 824 * @see $this->read_metadata_from_object830 * @see read_metadata_from_object() 825 831 * @param string $stamp ISO or unix datetime 826 832 * @return unixtime … … 840 846 * Get person by given ID, caches results. 841 847 * 842 * @see $this->read_metadata_from_object848 * @see read_metadata_from_object() 843 849 * @param string $id GUID or ID to get person for 844 850 * @return midcom_db_person object … … 866 872 * Gets person name for given ID (in case it's imploded_wrapped of multiple GUIDs it will use the first) 867 873 * 868 * @see $this->read_metadata_from_object874 * @see read_metadata_from_object() 869 875 * @param string $id GUID or ID to get person for 870 876 * @return string $author->name trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager2.php
r13625 r14391 117 117 118 118 /** 119 * The constructor initializes the mem ebervariables and invokes119 * The constructor initializes the member variables and invokes 120 120 * _process_datamanager, which will read and process the information 121 121 * out of that instance. 122 122 * 123 123 * The document is ready for indexing after construction. On any 124 * critical error, generate_error is ttriggered.125 * 126 * @param midcom_helper_datamanager2_datamanager $datamanager The fully initialized datamanager2 instance to use124 * critical error, generate_error is triggered. 125 * 126 * @param midcom_helper_datamanager2_datamanager &$datamanager The fully initialized datamanager2 instance to use 127 127 */ 128 128 function midcom_services_indexer_document_datamanager2(&$datamanager) trunk/midcom/midcom.core/midcom/services/js_css_merger.php
r14087 r14391 629 629 * @param string $cache_id key to use in cache, must be generated with generate_cache_id 630 630 * @param string $data data to store in cache 631 * @see $this->generate_cache_id631 * @see generate_cache_id() 632 632 */ 633 633 function store($cache_id, $data) trunk/midcom/midcom.helper.datamanager/datamanager.php
r14381 r14391 1815 1815 * This method populates the Array $data with the current field information. 1816 1816 * 1817 * @see $ midcom_helper_datamanager::data1817 * @see $data 1818 1818 * @access private 1819 1819 */ trunk/midcom/midcom.helper.dm2config/config.php
r14385 r14391 27 27 * </code> 28 28 * 4. Remember to include midcom.helper.dm2config as a requirement in 29 * _config/manifest.inc_and to set it in $this->_autoload_libraries in30 * _midcom/interfaces.php_29 * <i>config/manifest.inc</i> and to set it in $this->_autoload_libraries in 30 * <i>midcom/interfaces.php</i> 31 31 * 32 32 * @package midcom.helper.dm2config … … 113 113 * @param string $handler_id Name of the handler 114 114 * @param Array $args Variable arguments 115 * @param Array $data Miscellaneous output data115 * @param Array &$data Miscellaneous output data 116 116 * @return boolean Indicating success 117 117 */ trunk/midcom/net.nehmer.branchenbuch/handler/addentry.php
r14385 r14391 275 275 * Internal Helper encapsulating the index call. 276 276 * 277 * @param midcom_helper_datamanager2_datamanager $datamanager The DM2 instance to index.277 * @param midcom_helper_datamanager2_datamanager &$datamanager The DM2 instance to index. 278 278 */ 279 279 function _index(&$datamanager) … … 290 290 291 291 /** 292 * This is a helper which adds the spec fied catgory to the _category_list. It computes292 * This is a helper which adds the specified category to the _category_list. It computes 293 293 * all members that could be helpful for display. 294 294 * … … 296 296 * @param string $parent_prefix The string to use as prefix in front of the name to generate 297 297 * the full category name. This is faster then using the get_full_name function of the 298 * branchen class. If you need any separators like ': ', you ne dd to add them yourself.298 * branchen class. If you need any separators like ': ', you need to add them yourself. 299 299 */ 300 300 function _add_category_to_list($category, $parent_prefix = '') trunk/midcom/net.nehmer.branchenbuch/handler/categories.php
r14385 r14391 186 186 187 187 /** 188 * This is a helper which adds the spec fied catgory to the _category_list. It computes188 * This is a helper which adds the specified category to the _category_list. It computes 189 189 * all members that could be helpful for display. 190 190 * … … 195 195 * @param string $parent_prefix The string to use as prefix in front of the name to generate 196 196 * the full category name. This is faster then using the get_full_name function of the 197 * branchen class. If you need any separators like ': ', you ne dd to add them yourself.197 * branchen class. If you need any separators like ': ', you need to add them yourself. 198 198 */ 199 199 function _add_category_to_list($category, $listalpha, $parent_prefix = '') trunk/midcom/net.nehmer.branchenbuch/handler/entries.php
r14385 r14391 130 130 * Internal Helper encapsulating the index call. 131 131 * 132 * @param midcom_helper_datamanager2_datamanager $datamanager The DM2 instance to index.132 * @param midcom_helper_datamanager2_datamanager &$datamanager The DM2 instance to index. 133 133 */ 134 134 function _index(&$datamanager) trunk/midcom/net.nemein.tag/handler.php
r14381 r14391 418 418 * Reads machine tag string from content and returns it, the string is removed from content on the fly 419 419 * 420 * @param string $content reference to content420 * @param string &$content reference to content 421 421 * @return string string of tags, empty for no tags 422 422 */ … … 442 442 * Gets list of machine tags linked to the object with a context 443 443 * 444 * @return array of ma ching tags and values, tag is key, value is value444 * @return array of matching tags and values, tag is key, value is value 445 445 */ 446 446 function get_object_machine_tags_in_context(&$object, $context) … … 622 622 * 623 623 * @see net_nemein_tag_handler::tag_object() 624 * @param string $from_string string to parse tags from625 * @return array of correct format624 * @param string $from_string String to parse tags from 625 * @return array Array of correct format 626 626 */ 627 627 function string2tag_array($from_string) trunk/midcom/net.nemein.teams/admin.php
r11965 r14391 1 1 <?php 2 2 /** 3 * @package net.nemein.team 3 * @package net.nemein.teams 4 4 * @author The Midgard Project, http://www.midgard-project.org 5 5 * @copyright The Midgard Project, http://www.midgard-project.org trunk/midcom/net.nemein.teams/midcom/interfaces.php
r13109 r14391 1 1 <?php 2 2 /** 3 * @package net.nemein.team 3 * @package net.nemein.teams 4 4 * @author The Midgard Project, http://www.midgard-project.org 5 5 * @copyright The Midgard Project, http://www.midgard-project.org trunk/midcom/net.nemein.teams/navigation.php
r14086 r14391 9 9 10 10 /** 11 * net.nemein.team NAP interface class11 * net.nemein.teams NAP interface class 12 12 * 13 13 * See the individual member documentations about special NAP options in use.
