mburger library

Classes

MBAddressElement
This class represents a MBurger address element.
MBAdmin
The manager of the MBAdmin section, you will use this class to create, edit or delete data in MBurger.
MBAdminPushSettings
This object is used to setup push notifications when creating or updating a section
MBAdminVisibilitySettings
This object is used to visibility of a section when creating or updating it.
MBAuth
The main class to handle MBurger authorization
MBAuthContractAcceptanceParameter
Use this class to set a contract as accepted/declined by the user in the registration/signup.
MBBlock
This class represent a MBurger Block.
MBCheckboxElement
This class represents a MBurger checkbox element.
MBColorElement
This class represents a MBurger color element.
MBContract
Represents a Legal contract in MBurger.
MBCustomElement
This class represents a MBurger custom element, with this you can populate an element using an external API.
MBDateElement
This class represents a MBurger date element.
MBDropdownElement
This class represents a MBurger dropdown element.
MBDropdownElementOption
An option for dropdown elements
MBElement
This class represents the base class for all MBurger elements. All the specialized elements are subclasses of this class.
MBElementsUtilities
Utility class for elements
MBFilterParameter
A parameter used to filter the elements that will be returned.
MBForceLocaleFallbackParameter
A parameter to force the locale fallback, if an element is empty the fallback will be returned instead
MBGeneralElement
This class represents a general MBurger element.
MBGeneralParameter
A general parameter with a key and a value
MBGeofenceParameter
A parameter used to filter the elements wit a geofence.
MBImage
An image of MBurger
MBImageFormatParameter
A parameter to request a particular format for the images
MBImagesElement
This class represents a MBurger images element.
MBManager
The manager of the MBurger SDK, you will use this class to make requests to MBurger.
MBMarkdownElement
This class represents a MBurger markdown element.
MBMedia
This class represents a media in MBurger.
MBMediaElement
This class represents a MBurger media element.
MBMultipartForm
This class represents an object that will be uploaded using multipart method
MBOriginalMediaParameter
A parameter to request original version of the images
MBPaginatedResponse<T>
This class represents a paginated response. In items there's the actual elements of the response, all other properties are additional information about number of elements returned.
MBPaginationParameter
A parameter used to paginate the elements that will be returned.
MBParameter
This abstract class represent a parameter passed to the MBurger api.
MBPollAnswer
An answer for an MBurger poll.
MBPollElement
This class represents a MBurger poll element, the property answers contains the answers the user can give to a the poll.
MBPollVoteResponse
The response returned by a vote poll from MBManager.votePoll.
MBProject
Represents a MBurger project.
MBRelation
This object represent a relation.
MBRelationElement
This class represents a MBurger relation element.
MBSection
This class represents an MBurger section.
MBShopifyCollection
MBShopifyCollectionElement
This class represents a MBurger shopify element.
MBSortParameter
A parameter used to sort the elements that will be returned.
MBTextElement
This class represents a MBurger text element. It is the counterpart of the 'text' and 'textarea' types on the dashboard
MBUploadableCheckboxElement
An uploadable element representing a checkbox.
MBUploadableDropdownElement
An uploadable element representing a dropdown element.
MBUploadableElement
MBUploadableElementsFactory
Used to create MBUploadableElement without specifiyng the locale for every item. The locale is initialized with the factory and passed to all the objects. You can also change the locale and use the same instance of a MBUploadableElementsFactory to create objects with a different locale.
MBUploadableImagesElement
An uploadable element representing some images.
MBUploadableMultipleElement
An uploadable element representing a multiple element.
MBUploadableRelationElement
An uploadable element representing a relation between sections.
MBUploadableTextElement
An uploadable element representing the text.
MBUser
An MBurger user
MBUserContractStatus
The status of a contract, accepted or declined by a user
MediaType
A class representing an HTTP media type, as used in Accept and Content-Type headers.

Enums

MBAdminVisibility
The possible visibility values for a section.
MBAuthSocialLoginType
The types of social login
MBElementType
The type of elements.
MBImageFormat
The images format available for MBurger
MBMediaType
The type of the media.
MBurgerChannel
The channel of MBurger that will be queried
MBUserAuthMode
The type of authentication used by the user

Exceptions / Errors

MBException
An exception of MBurger