00001 <?php
00022 class SMWSimpleWikiPageValue extends SMWWikiPageValue {
00023
00024 protected function parseDBkeys( $args ) {
00025 $this->m_dbkeyform = $args[0];
00026 $this->m_namespace = $this->m_fixNamespace;
00027 $this->m_interwiki = '';
00028 $this->m_sortkey = $this->m_dbkeyform;
00029 $this->m_textform = str_replace( '_', ' ', $this->m_dbkeyform );
00030 $this->m_id = false;
00031 $this->m_title = null;
00032 $this->m_prefixedtext = false;
00033 $this->m_caption = false;
00034 }
00035
00036 public function getDBkeys() {
00037 $this->unstub();
00038 return array( $this->m_dbkeyform );
00039 }
00040
00041 public function getSignature() {
00042 return 't';
00043 }
00044
00045 public function getValueIndex() {
00046 return 1;
00047 }
00048
00049 public function getLabelIndex() {
00050 return 1;
00051 }
00052
00053 }