GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Manage lightbox scripts for GravityView. More...
Public Member Functions | |
__construct () | |
GravityView_Lightbox_Provider constructor. More... | |
set_provider ( $provider=null) | |
Activate the lightbox provider chosen in settings. More... | |
Static Public Member Functions | |
static | register ( $provider) |
Register lightbox providers. More... | |
Data Fields | |
const | DEFAULT_PROVIDER = 'fancybox' |
Static Private Attributes | |
static | $active_provider = null |
static | $providers = array() |
Manage lightbox scripts for GravityView.
TODO: Add a global setting for lightbox providers TODO: Add per-field settings
Definition at line 11 of file class-gravityview-lightbox.php.
__construct | ( | ) |
GravityView_Lightbox_Provider constructor.
Definition at line 21 of file class-gravityview-lightbox.php.
References gravityview().
|
static |
Register lightbox providers.
$provider |
Definition at line 73 of file class-gravityview-lightbox.php.
Referenced by GravityView_Lightbox_Provider_FancyBox\fileupload_link_atts().
set_provider | ( | $provider = null | ) |
Activate the lightbox provider chosen in settings.
string | null | $provider | GravityView_Lightbox_Provider::$slug of provider |
Definition at line 38 of file class-gravityview-lightbox.php.
References gravityview().
|
staticprivate |
Definition at line 16 of file class-gravityview-lightbox.php.
|
staticprivate |
Definition at line 14 of file class-gravityview-lightbox.php.
const DEFAULT_PROVIDER = 'fancybox' |
Definition at line 12 of file class-gravityview-lightbox.php.
Referenced by GravityView_Lightbox_Provider\is_active().