Method | Description | |
---|---|---|
testCopyContent ( $restContentHref ) : string | ||
testCreateContent ( ) : string | ||
testCreateDraftFromCurrentVersion ( string $restContentHref ) : string | ||
testCreateDraftFromVersion ( $restContentHref ) : string | ||
testCreateRelation ( $restContentVersionHref ) : string | ||
testCreateView ( ) | ||
testDeleteContent ( $restContentHref ) | ||
testDeleteContentVersion ( string $restContentVersionHref ) | ||
testLoadContent ( $restContentHref ) | ||
testLoadContentVersion ( string $restContentVersionHref ) | ||
testLoadContentVersions ( $restContentHref ) | ||
testLoadVersionRelation ( $restContentRelationHref ) | ||
testLoadVersionRelations ( $restContentVersionHref ) | ||
testPublishContent ( $restContentHref ) : string | ||
testRedirectContent ( $restContentHref ) | ||
testRedirectCurrentVersion ( $restContentHref ) | ||
testRedirectCurrentVersionRelations ( $restContentHref ) | ||
testUpdateContentMetadata ( $restContentHref ) | ||
testUpdateVersion ( string $restContentVersionHref ) |
Method | Description | |
---|---|---|
loadContent ( string $restContentHref ) : array | Returns the Content key from the decoded JSON of $restContentId's contentInfo. |
public testCopyContent ( $restContentHref ) : string | ||
return | string | the copied content href |
public testCreateContent ( ) : string | ||
return | string | REST content ID |
public testCreateDraftFromCurrentVersion ( string $restContentHref ) : string | ||
$restContentHref | string | /content/objects/ |
return | string | the ID of the created version (/content/objects/ |
public testCreateDraftFromVersion ( $restContentHref ) : string | ||
return | string | ContentVersion REST ID |
public testCreateRelation ( $restContentVersionHref ) : string | ||
return | string | created relation HREF (/content/objects/ |
public testDeleteContentVersion ( string $restContentVersionHref ) | ||
$restContentVersionHref | string | /api/ezp/v2/content/objects/ |
public testLoadContentVersion ( string $restContentVersionHref ) | ||
$restContentVersionHref | string |
public testLoadVersionRelations ( $restContentVersionHref ) |
public testPublishContent ( $restContentHref ) : string | ||
return | string | REST content ID |
public testRedirectCurrentVersionRelations ( $restContentHref ) |
public testUpdateVersion ( string $restContentVersionHref ) | ||
$restContentVersionHref | string | /content/objects/ |