documentObject

Last edited by JP DeVries on Aug 10, 2013.

API:documentObject

API Quick reference
Variable name: documentObject
Modx versions: 0.9.x + Evolution
Variable type: array
Object parent: DocumentParser

Description

Contains the document object.

Usage / Examples

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

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 on GitHub (Requires GitHub account. Opens a new window/tab).