@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * |
| 44 | 44 | * @param array $options driverOptions for Doctrine |
| 45 | 45 | * |
| 46 | - * @return Connection|null Reference to the only instance of database class |
|
| 46 | + * @return \Doctrine\DBAL\Connection Reference to the only instance of database class |
|
| 47 | 47 | * |
| 48 | 48 | * @todo change driver to support other databases and support for port, unix_socket and driver options. |
| 49 | 49 | */ |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * |
| 40 | 40 | * @param string $text text string to filter |
| 41 | 41 | * |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function applyFilter($text) |
| 45 | 45 | { |
@@ -105,6 +105,12 @@ discard block |
||
| 105 | 105 | return $decorated; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param null|string $link |
|
| 110 | + * @param null|string $imageSrc |
|
| 111 | + * @param null|string $title |
|
| 112 | + * @param null|string $description |
|
| 113 | + */ |
|
| 108 | 114 | protected function mediaBox($link, $imageSrc, $title, $description) |
| 109 | 115 | { |
| 110 | 116 | $htmlTemplate = <<<'EOT' |
@@ -48,6 +48,11 @@ |
||
| 48 | 48 | return $dirlist; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | +/** |
|
| 52 | + * @param Xoops\Core\Database\Connection $db |
|
| 53 | + * @param string $table |
|
| 54 | + * @param string $field |
|
| 55 | + */ |
|
| 51 | 56 | function getDbValue($db, $table, $field, $condition = '') |
| 52 | 57 | { |
| 53 | 58 | $xoops = Xoops::getInstance(); |