Property | Type | Description | |
---|---|---|---|
$_copyRecursiveIds | array | ||
$_user | User |
Method | Description | |
---|---|---|
__construct ( null $user = null ) | ||
copyAsChild ( $target, $source, boolean $enableInheritance = false, boolean $resetIndex = false ) : |
||
copyContents ( $target, $source ) : mixed | ||
copyRecursive ( |
||
getByUrl ( $url ) : |
||
getUniqueKey ( $item, $nr ) | ||
gridDocumentData ( |
||
isValidType ( $type ) : boolean | ||
loadAllDocumentFields ( $doc ) : mixed | ||
pathExists ( $path, $type = null ) : boolean | ||
render ( |
static function to render a document outside of a view | |
rewriteIds ( $document, $rewriteConfig, $params = [] ) : |
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 |
public copyAsChild ( $target, $source, boolean $enableInheritance = false, boolean $resetIndex = false ) : |
||
$target | ||
$source | ||
$enableInheritance | boolean | |
$resetIndex | boolean | |
return |
public copyContents ( $target, $source ) : mixed | ||
$target | ||
$source | ||
return | mixed |
public copyRecursive ( |
||
$target | ||
$source | ||
return | copied document |
public static getByUrl ( $url ) : |
||
$url | ||
return |
public static gridDocumentData ( |
||
$document | ||
return | void |
public static isValidType ( $type ) : boolean | ||
$type | ||
return | boolean |
public static loadAllDocumentFields ( $doc ) : mixed | ||
$doc | ||
return | mixed |
public static pathExists ( $path, $type = null ) : boolean | ||
$path | ||
return | boolean |
public static rewriteIds ( $document, $rewriteConfig, $params = [] ) : |
||
$document | ||
$rewriteConfig | ||
return |
public static saveRecursive ( $document, integer $collectGarbageAfterIteration = 25, integer &$saved ) | ||
$document | ||
$collectGarbageAfterIteration | integer | |
$saved | integer |