version 1.2, 2010/03/08 16:19:22
|
version 1.3, 2010/03/09 21:08:33
|
Line 68 class DbPackage {
|
Line 68 class DbPackage {
|
public function getLongTitle() { |
public function getLongTitle() { |
return $this->getTitle(); |
return $this->getTitle(); |
} |
} |
|
public function getInfo() { |
|
return $this->tour->Info; |
|
} |
|
public function hasEditor() { |
|
return $this->tour->Editors?TRUE:FALSE; |
|
} |
|
public function hasInfo() { |
|
return $this->tour->Editors?TRUE:FALSE; |
|
} |
|
|
|
public function getEditor() { |
|
return $this->tour->Editors; |
|
} |
|
|
|
public function getEditorHtml() { |
|
$ed = $this->tour->Editors; |
|
if (preg_match('/\,/', $ed)) { |
|
$ob = 'Редакторы: '; |
|
} else { |
|
$ob = 'Редактор: '; |
|
} |
|
return $ob.$ed; |
|
} |
} |
} |