std:object
This template renders a StoreObject
, taking into account it’s type and the style requested. The HTML generated will depend on the style requested and the ‘render type’ set in the schema for this type of object.
Obtain a Template
object with P.template("std:object")
, or use the template:std:object()
template function.
There is also a std:object() template function, which may be easier to use.
View
key object
The StoreObject
to render.
key style
Optional. The style in which to render this object.
Name | Purpose |
generic |
Generic rendering |
generalview |
Standard view for display in a web page |
table |
Standard view rendered as an HTML table, most useful for generated files |
linkedheading |
Heading with icon and link to object |
searchresult |
Entry in search results |
searchresultmini |
Entry in mini search results |