4.3.1.1 The PHP functions
To the HTML code, copied from the HTML editor, some PHP functions were added to the interface model so as to implement certain functions found in the Log interface. Chronologically, the PHP language code underwent an ongoing addition process to the interface model, as part of it depended on the creation of website sections, as well as the creation of page objects. However, and for organisational reasons, we preferred to refer to the functions to be used in the interface model from the beginning.
As a means of rendering navigation easier, the intention was to include an icon identifying the website area, as well as its name, on the upper bar on the right-hand side of the content area. This identification is to make navigation and the swift understanding of which area is being visited easier. And for the same reason, the intention was also to insert, on the left-hand side of the upper bar, identification of the path or route to the section to be visited, with a tree structure hyperlink to the area to be visited.
By using the Siteseed PHP functions, we added the following code in order to allow a preview of the interface model, an indication of the area and the aforementioned areas with their respective hyperlinks:
In order to set out, on the right, the name of the area to be visited and the icon associated to it, the following PHP code was used:
Finally this PHP was used to retrieve the highlight bar on the right:
Note: The highlight bar was created from a page object with id 8, so that the inclusion of the PHP code for the interface model implied the creation of the page object model previously referred to.
|
|