Blog

Retrieving an entry

Posted by:

You are here:
← All Topics

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

About the Author:

Im programmer working for an international company. I have programmed since i was 12 and i have done it professionally for 6 years. Programming for a company is fun and i have learned a lot of things but i have always been interested in running my own business so i decided to give it a shot doing what i do best, programming stuffs.
  Related Posts
  • No related posts found.