PHP Класс eZ\Bundle\EzPublishRestBundle\Tests\Functional\ContentTest

Наследование: extends TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Приватные методы

Метод Описание
loadContent ( string $restContentHref ) : array Returns the Content key from the decoded JSON of $restContentId's contentInfo.

Описание методов

testCopyContent() публичный метод

public testCopyContent ( $restContentHref ) : string
Результат string the copied content href

testCreateContent() публичный метод

public testCreateContent ( ) : string
Результат string REST content ID

testCreateDraftFromCurrentVersion() публичный метод

public testCreateDraftFromCurrentVersion ( string $restContentHref ) : string
$restContentHref string /content/objects/
Результат string the ID of the created version (/content/objects//versions/

testCreateDraftFromVersion() публичный метод

public testCreateDraftFromVersion ( $restContentHref ) : string
Результат string ContentVersion REST ID

testCreateRelation() публичный метод

public testCreateRelation ( $restContentVersionHref ) : string
Результат string created relation HREF (/content/objects//versions//relations/

testCreateView() публичный метод

public testCreateView ( )

testDeleteContent() публичный метод

public testDeleteContent ( $restContentHref )

testDeleteContentVersion() публичный метод

public testDeleteContentVersion ( string $restContentVersionHref )
$restContentVersionHref string /api/ezp/v2/content/objects//versions>/

testLoadContent() публичный метод

public testLoadContent ( $restContentHref )

testLoadContentVersion() публичный метод

public testLoadContentVersion ( string $restContentVersionHref )
$restContentVersionHref string

testLoadContentVersions() публичный метод

public testLoadContentVersions ( $restContentHref )

testLoadVersionRelation() публичный метод

public testLoadVersionRelation ( $restContentRelationHref )

testLoadVersionRelations() публичный метод

public testLoadVersionRelations ( $restContentVersionHref )

testPublishContent() публичный метод

public testPublishContent ( $restContentHref ) : string
Результат string REST content ID

testRedirectContent() публичный метод

public testRedirectContent ( $restContentHref )

testRedirectCurrentVersion() публичный метод

public testRedirectCurrentVersion ( $restContentHref )

testRedirectCurrentVersionRelations() публичный метод

public testRedirectCurrentVersionRelations ( $restContentHref )

testUpdateContentMetadata() публичный метод

public testUpdateContentMetadata ( $restContentHref )

testUpdateVersion() публичный метод

public testUpdateVersion ( string $restContentVersionHref )
$restContentVersionHref string /content/objects//versions>/