Standard object type for a dotAdmin page. Inherits from InvFile
Check the url path $path is valid for this document. Return true or false.
Returns an array of breadcrumb trail items. This allows the template to build a breadcrumb trail to the current document.
Returns an array of InvNavLinks for the breadcrumb trail items. This allows the template to build a breadcrumb trail to the current document.
Return the full canonical URL (including the primary web domain) for this document. Primarily for use in a <link rel="canonical" href="[canonicalurl]" /> tag for SEO purposes.
Returns the id of the home node for the current document.
Fetch value of file variable $name encoded for html output. If the original value is a plain text string, it will be returned HTML escaped and with newlines replaced with <br> tags. If value is not set or does not exist, the method will return null. If $tag is passed, and the original value is a plain text string, it will be wrapped in the $tag as follows <$tag>$response</$tag>
Fetch value of file variable $name. Will be returned as a plain text string or and array. If value is not set or does not exist, will return null.
Fetch value of $index in the array file property $name. Will be returned as a plain text string. If value is not set or does not exist, will return null.
If the current document is a child of document $document_id, this method will return true.
If the current document is a child of node $node_id, this method will return true.
If the current document is a child of the URL path $path, this method will return true.
If the current document in the node index for the node which the user is currently viewing, this method will return true.
This method is designed for use in website templates to allow the template to modify its content when a node index is viewed by the user.
Opens a file of id $id. On success, returns true, If no such file exists, or on error, returns false.
Publishes document to website. On success, returns true, On error, returns false.