X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAddonStorageBackend.md;h=950a2ad88d9dd6ab26a8f961106c635f61bc41ef;hb=8b6ace6629ab4fe229c4c35ff388efe320602a16;hp=896ea49bf7318383ef70d128e4fb7fc9934e5339;hpb=cc501439aff799bd7fb400eb8019d58c46786926;p=friendica.git diff --git a/doc/AddonStorageBackend.md b/doc/AddonStorageBackend.md index 896ea49bf7..950a2ad88d 100644 --- a/doc/AddonStorageBackend.md +++ b/doc/AddonStorageBackend.md @@ -23,6 +23,7 @@ interface IStorage public function getOptions(); public function saveOptions(array $data); public function __toString(); + public static function getName(); } ``` @@ -51,7 +52,7 @@ The info array for each option is defined as: 'type', define the field used in form, and the type of data. -one of 'checkbox', 'combobox', 'custom', 'datetime', 'input', 'intcheckbox', 'password', 'radio', 'richtext', 'select', 'select_raw', 'textarea', 'yesno' +one of 'checkbox', 'combobox', 'custom', 'datetime', 'input', 'intcheckbox', 'password', 'radio', 'richtext', 'select', 'select_raw', 'textarea' 'label', @@ -72,7 +73,6 @@ Optional. Depends on which 'type' this option is: - 'select': array `[ value => label ]` of choices - 'intcheckbox': value of input element - 'select_raw': prebuild html string of `