How get a list of articles by issue?

I make a custom export plugin. I can:

  1. Get issue data:
$issueDao = DAORegistry::getDAO('IssueDAO');
$issue = $issueDao->getById($issueId, $context->getId());
  1. Get journal data:
$journalDao = DAORegistry::getDAO('JournalDAO');
$journal = $journalDao->getById($issue->getJournalId());

But, i’m not understand how get publications by issue? I can use SQL query, but i want use some kind of DAO. Tell my please how can do this?

Hi @safonovpro

Have a look at the IssueHandler.inc.php class in pages/issue. There’s a method called _setupIssueTemplate that works through the logic required using either the PublishedArticleDAO or the SectionDAO. It’s different in OJS 3.2 versus 3.1.2 and I’m not quite sure what version you’re using.

Cheers,
Jason

I’m using 3.2.0.2. Thanks for answer. I will try your recommendation.