Skip to content

AeriaOptions

simmontali edited this page Sep 9, 2019 · 2 revisions

⚠️ Warning: This page refers to Aeria v1, therefore the informations in it are deprecated and will not work on Aeria v3.

Con AeriaOptions è possibile creare una pagina di opzioni (checkbox list) come sottovoce del menu Settings


AeriaOptions


Esempio di implementazione (Registrazione)

AeriaOptions::register([
    'show-footer-menu' => 'Visualizza il menu nel footer',
    'show-flags' => 'Visualizza le bandierine lingua'
]);

==== Esempio di implementazione (Ottenere i valori) ====

$show = AeriaOptions::get('show-footer-menu');
Clone this wiki locally