• Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hooks

Namespaces

  • None
  • SIW
    • Admin
    • API
    • Async
    • Batch
    • Compatibility
    • Data
    • Elements
    • Email
    • External
    • Forms
    • Modules
    • Newsletter
    • Page_Builder
    • Plato
    • Widgets
    • WooCommerce
      • Admin
      • Checkout
      • Email
      • Export
      • Frontend
      • Import

Classes

  • Accordion
  • Carousel
  • Chart
  • Google_Maps
  • Interactive_Map
  • Interactive_Map_Destinations
  • Interactive_Map_ESC
  • Interactive_Map_Netherlands
  • Modal
  • Pie_Chart
  • Tablist
  • Taxonomy_Filter
  • World_Map

Class Modal

Class om een Modal te genereren

Namespace: SIW\Elements
Copyright: 2019-2020 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at elements/modal.php

Methods summary

public
# __construct( string $id = null )

Init

Init

Parameters

$id
protected
# enqueue_styles( )

Voegt styles toe

Voegt styles toe

protected
# enqueue_scripts( )

Voegt scripts toe

Voegt scripts toe

public array
# exclude_js_from_combine( array $excluded_files )

JS-bestanden uitsluiten van minification/concatenation

JS-bestanden uitsluiten van minification/concatenation

Parameters

$excluded_files

Returns

array
public
# render_modal( )

Rendert modal

Rendert modal

protected string
# generate_header( )

Genereert titel van de modal

Genereert titel van de modal

Returns

string
protected string
# generate_body( )

Genereert body van de modal

Genereert body van de modal

Returns

string
protected string
# generate_footer( )

Genereert footer van de modal

Genereert footer van de modal

Returns

string
public
# set_title( string $title )

Zet de titel van de modal

Zet de titel van de modal

Parameters

$title
public string
# generate_link( string $text, string $link = null )

Genereert link voor modal

Genereert link voor modal

Parameters

$text
$link

Returns

string
public
# set_content( string $content )

Zet inhoud van modal

Zet inhoud van modal

Parameters

$content
public string
# get_id( )

Geeft gegenereerde id van modal terug

Geeft gegenereerde id van modal terug

Returns

string

Constants summary

string MICROMODAL_VERSION

Versienummer

Versienummer

# '0.4.2'

Properties summary

protected string $id

ID van modal

ID van modal

#
protected string $title

Titel van de modal

Titel van de modal

#
protected string $content

Inhoud van de modal

Inhoud van de modal

#
SIW API documentation generated by ApiGen