Skip to content

Commit

Permalink
Add interface to request LO level attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Dec 9, 2021
1 parent 4e526a7 commit 0b4f505
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website_code/php/xmlInspector.php
Expand Up @@ -280,6 +280,18 @@ public function getPages()
{
return $this->pages;
}

public function getLOAttribute($attr)
{
if (isset($this->xml[$attr]))
{
return (string)$this->xml[$attr];
}
else
{
return false;
}
}
}

//$template = new XerteXMLInspector();
Expand Down

0 comments on commit 0b4f505

Please sign in to comment.