model/modx/processors/resource/create.php

Includes 
package
modx
$pagetitle
string
The page title.
$content
string
The HTML content. Used in conjunction with $ta.
$template
integer
(optional) The modTemplate to use with this resource. Defaults to 0, or a blank template.
$parent
integer
(optional) The parent resource ID. Defaults to 0.
$class_key
string
(optional) The class key. Defaults to modDocument.
$menuindex
integer
(optional) The menu order. Defaults to 0.
$variablesmodified
string
(optional) A collection of modified TVs. Along with $tv1, $tv2, etc.
$context_key
string
(optional) The context in which this resource is located. Defaults to web.
$alias
string
(optional) The alias for FURLs that this resource is designated to.
$content_type
integer
(optional) The content type. Defaults to text/html.
$published
boolean
(optional) The published status.
$pub_date
string
(optional) The date on which this resource should become published.
$unpub_date
string
(optional) The date on which this resource should become unpublished.
$publishedon
string
(optional) The date this resource was published. Defaults to time()
$publishedby
integer
(optional) The modUser who published this resource. Defaults to the current user.
$resource_groups
\json
(optional) A JSON array of resource groups to assign this resource to.
$hidemenu
boolean
(optional) If true, The resource will not show up in menu builders.
$isfolder
boolean
(optional) Whether or not the resource is a container of resources.
$richtext
boolean
(optional) If true, MODX will render the available RTE for editing this resource.
$donthit
boolean
(optional) (deprecated) If true, MODX will not log visits on this resource.
$cacheable
boolean
(optional) If false, the resource will not be cached.
$searchable
boolean
(optional) If false, the resource will not appear in searches.
$syncsite
boolean
(optional) If false, will not empty the cache on save.
array
subpackage
processors.resource

Description

Creates a resource.

Documentation was generated by DocBlox 0.11.2.