Accessing article html for child theme

I am trying to set up a child theme to classic in 3.1. where I want to display the article text as html in the main article view. Setting up the child theme is ok but I am stuck in how to access the html from the html galley. Any pointers would be helpful. Article class doesn’t seem to have a method I could use for it.
Any help welcome. Many Thanks !

Hey @schlattk

Because OJS doesn’t store the article HTML content in the database, you’ll need to through the various file classes - have a look at in lib/pkp/classes/file to build the path to the latest revision of the file you want. From there you can use PHP’s native commands for retrieving file contents.