메소드 |
설명 |
|
__construct ( null $user = null ) |
|
|
copyAsChild ( $target, $source, boolean $enableInheritance = false, boolean $resetIndex = false ) : Document |
|
|
copyContents ( $target, $source ) : mixed |
|
|
copyRecursive ( Document $target, Document $source ) : Document |
|
|
getByUrl ( $url ) : Document |
|
|
getUniqueKey ( $item, $nr ) |
|
|
gridDocumentData ( Document $document ) : void |
|
|
isValidType ( $type ) : boolean |
|
|
loadAllDocumentFields ( $doc ) : mixed |
|
|
pathExists ( $path, $type = null ) : boolean |
|
|
render ( Document $document, array $params = [], boolean $useLayout = false ) : string |
static function to render a document outside of a view |
|
rewriteIds ( $document, $rewriteConfig, $params = [] ) : Document |
Rewrites id from source to target, $rewriteConfig contains
array(
"document" => array(
SOURCE_ID => TARGET_ID,
SOURCE_ID => TARGET_ID
),
"object" => array(. |
|
saveRecursive ( $document, integer $collectGarbageAfterIteration = 25, integer &$saved ) |
Save document and all child documents |
|