documentObject

API Quick reference
Variable name: documentObject
CMS versions: 0.9.x + Evo
Variable type: array
Object parent:

API:documentObject

Description

Contains the document object.

Usage / Examples

<?php
echo ( '<pre>' );
print_r($modx->documentObject);
echo ( '</pre>' );
die;
?>

Related

See also, this page on Understanding the Document Object

Notes

Array
(
[id]
[type]
[contentType]
[pagetitle]
[longtitle]
[description]
[alias]
[link_attributes]
[published]
[pub_date]
[unpub_date]
[parent]
[isfolder]
[introtext]
[content]

[[Session]]
[richtext]
[template]
[menuindex]
[searchable]
[cacheable]
[createdby]
[createdon]
[editedby]
[editedon]
[deleted]
[deletedon]
[deletedby]
[publishedon]
[publishedby]
[menutitle]
[donthit]
[haskeywords]
[hasmetatags]
[privateweb]
[privatemgr]
[content_dispo]
[hidemenu]
)

Suggest an edit to this page.