r26243 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26242‎ | r26243 | r26244 >
Date:19:41, 29 September 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
Removed deprecated properties
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
@@ -39,35 +39,6 @@
4040 }
4141
4242 /**
43 - * Function that returns the localised label for a datatype.
44 - * @DEPRECATED
45 - */
46 - function getDatatypeLabel($msgid) {
47 - return $this->smwDatatypeLabels[$msgid];
48 - }
49 -
50 - /**
51 - * Return all labels that are available as names for built-in datatypes. Those
52 - * are exactly the types that users can access via [[has type::...]] (more
53 - * built-in types may exist for internal purposes but the user won't need to
54 - * know this).
55 - * @DEPRECATED
56 - */
57 - function getAllDatatypeLabels() {
58 - return $this->smwDatatypeLabels;
59 - }
60 -
61 - /**
62 - * Find the internal message id of some localised message string
63 - * for a datatype. If no type of the given name exists (maybe a
64 - * custom of compound type) then FALSE is returned.
65 - * @DEPRECATED
66 - */
67 - function findDatatypeMsgID($label) {
68 - return array_search($label, $this->smwDatatypeLabels);
69 - }
70 -
71 - /**
7243 * Function that returns the labels for the special relations and attributes.
7344 */
7445 function getSpecialPropertiesArray() {

Status & tagging log