Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php |
— | — | @@ -110,18 +110,6 @@ |
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
114 | | - * Determine the datatype of the values that are described by this object. |
115 | | - * Most descriptins can only describe wiki pages, so this is the default, |
116 | | - * but some descriptions may refer to other datatypes, and overwrite this |
117 | | - * function accordingly. |
118 | | - * |
119 | | - * @return string |
120 | | - */ |
121 | | -// public function getTypeID() { |
122 | | -// return '_wpg'; |
123 | | -// } |
124 | | - |
125 | | - /** |
126 | 114 | * Recursively restrict query to a maximal size and depth as given. |
127 | 115 | * Returns a possibly changed description that should be used as a replacement. |
128 | 116 | * Reduce values of parameters to account for the returned descriptions size. |
— | — | @@ -177,16 +165,6 @@ |
178 | 166 | return $this; |
179 | 167 | } |
180 | 168 | |
181 | | - /** |
182 | | - * Return an empty type id since we cannot know the datatype of values that |
183 | | - * are described by this description. This type should not be relevant in |
184 | | - * any place, since description types are currently only necessary for |
185 | | - * processing an SMWSomeProperty object where the property does not specify |
186 | | - * the type. |
187 | | - */ |
188 | | -// public function getTypeID() { |
189 | | -// return ''; |
190 | | -// } |
191 | 169 | } |
192 | 170 | |
193 | 171 | /** |
— | — | @@ -462,10 +440,6 @@ |
463 | 441 | return 1; |
464 | 442 | } |
465 | 443 | |
466 | | -// public function getTypeID() { |
467 | | -// return $this->m_dataItem->getTypeID(); |
468 | | -// } |
469 | | - |
470 | 444 | } |
471 | 445 | |
472 | 446 | |
— | — | @@ -548,14 +522,6 @@ |
549 | 523 | return $depth; |
550 | 524 | } |
551 | 525 | |
552 | | -// public function getTypeID() { |
553 | | -// if ( count( $this->m_descriptions ) > 0 ) { // all subdescriptions should have the same type! |
554 | | -// return reset( $this->m_descriptions )->getTypeID(); |
555 | | -// } else { |
556 | | -// return ''; // unknown |
557 | | -// } |
558 | | -// } |
559 | | - |
560 | 526 | public function getQueryFeatures() { |
561 | 527 | $result = SMW_CONJUNCTION_QUERY; |
562 | 528 | |
— | — | @@ -718,14 +684,6 @@ |
719 | 685 | return $depth; |
720 | 686 | } |
721 | 687 | |
722 | | -// public function getTypeID() { |
723 | | -// if ( count( $this->m_descriptions ) > 0 ) { // all subdescriptions should have the same type! |
724 | | -// return reset( $this->m_descriptions )->getTypeID(); |
725 | | -// } else { |
726 | | -// return ''; // unknown |
727 | | -// } |
728 | | -// } |
729 | | - |
730 | 688 | public function getQueryFeatures() { |
731 | 689 | $result = SMW_DISJUNCTION_QUERY; |
732 | 690 | |