Retrieving an entry

Posted by:

Important: The entry API is only available in the full version.

You can retrieve an entry with PHP using the following command:

AllInOneForms()->Entry()->Get($entryId,$mode);

$entryId: The id of the entry that you want to retrieve

$mode: Optional. The format in which you want to receive the entry, there are three modes:

raw: This is the default option. Returns an AIOEntry class. This class is just a basic placeholder that contains all the information of the entry with no additional extra features.

form: Returns a formbuilder class with the entry, this class also contains all the entry information but can do more advanced stuff like searching for a specific field within the form. This class will be explained in another tutorial

entry: This class will return a formentryeditor class, this class inherits from the formbuilder class but it is also able to edit the entry, this class will also be explained in another tutorial.

0