API Reference

Collections.getCollectionByName

Use this method to get the id of the collection with a specific title.


Syntax

INTEGER collections.getCollectionByName ( INTEGER vhost = NULL, mixed collectionName = NULL )

Arguments

NameTypeRequiredDefault valueDescription
vhostINTEGEROptionalNULLThe vhost ID that the collection belongs to.
collectionNamemixedOptionalNULL

Response

The response for the search.

NameTypeDescriptionDefault Values
resultINTUpon success, the response will be the id of the collection. if no such collection is found, then 0 is returned.INTEGER = success / 0 = no such collection was found

Sample Response

Code examples

0 comments

Be the first to comment on getCollectionByName.

Add a Comment

  • captcha