The articlesperson.php is the page which lists all articles writed by a Writer or by an Editor.
Usually User access this page from the page people.php withch lists all writers and editor of the magazine.
It is very useful for reader if you put in the top of the page the name of the writer followed by the
list of all his articles. For each article it is possible to see: the title, the author, the link to the
related comments page and the subject.
The subject can contain images.
Accessible data:
An example of code:
All articles by <?= $this->person->getName() ?>
<? foreach($this->articles as $article) : ?> <? $URL = URIMaker::article($article); ?> <? echo ""; ?> <?= $article->getTitle() ?>
<?= $article->getCreatedFormatted() ?> by <?= $article->auhorsNamesConcatenation() ?> | <? $URL = URIMaker::comment($article); $commentsNumber = count($article->commentsPublished()); ?> <? echo " comments ($commentsNumber) "; ?><?= $article->getSummary() ?><? endforeach; ?><?= $this->paginator->renderFullNav(URIMaker::articlesperson($this->person)) ?>