class/references_articles.php 1 location
|
@@ 348-355 (lines=8) @@
|
| 345 |
|
* @param bool $shortVersion |
| 346 |
|
* @return string |
| 347 |
|
*/ |
| 348 |
|
public function getUrl($shortVersion = false) |
| 349 |
|
{ |
| 350 |
|
if (!$shortVersion) { |
| 351 |
|
return REFERENCES_URL . 'reference.php?article_id=' . $this->getVar('article_id'); |
| 352 |
|
} else { |
| 353 |
|
return 'reference.php?article_id=' . $this->getVar('article_id'); |
| 354 |
|
} |
| 355 |
|
} |
| 356 |
|
|
| 357 |
|
/** |
| 358 |
|
* Retourne les éléments de l'annnonce formatés pour affichage |
class/references_categories.php 1 location
|
@@ 56-63 (lines=8) @@
|
| 53 |
|
* @param bool $shortVersion |
| 54 |
|
* @return string |
| 55 |
|
*/ |
| 56 |
|
public function getUrl($shortVersion = false) |
| 57 |
|
{ |
| 58 |
|
if (!$shortVersion) { |
| 59 |
|
return REFERENCES_URL . 'category.php?category_id=' . $this->getVar('category_id'); |
| 60 |
|
} else { |
| 61 |
|
return 'category.php?category_id=' . $this->getVar('category_id'); |
| 62 |
|
} |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
/** |
| 66 |
|
* Retourne les éléments de l'annnonce formatés pour affichage |