PHP Classes

File: src/Interfaces/Plugin.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Modals, alerts and confirmation dialogs for Jaxon  >  src/Interfaces/Plugin.php  >  Download  
File: src/Interfaces/Plugin.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Modals, alerts and confirmation dialogs for Jaxon
Display Ajax modal, alert and confirmation dialogs
Author: By
Last change: Changed license to BSD 3-Clause.
Moved the Alert interface from jaxon-dialogs to the jaxon-core package.
Date: 5 years ago
Size: 903 bytes
 

Contents

Class file image Download
<?php

/**
 * Plugin.php - Interface for javascript library adapters.
 *
 * @package jaxon-dialogs
 * @author Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @copyright 2016 Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
 * @link https://github.com/jaxon-php/jaxon-dialogs
 */

namespace Jaxon\Dialogs\Interfaces;

interface
Plugin
{
   
/**
     * Get the plugin name
     *
     * @return string
     */
   
public function getName();

   
/**
     * Get the javascript header code and file includes
     *
     * @return string
     */
   
public function getJs();

   
/**
     * Get the CSS header code and file includes
     *
     * @return string
     */
   
public function getCss();

   
/**
     * Get the javascript code to be printed into the page
     *
     * @return string
     */
   
public function getScript();
}

For more information send a message to info at phpclasses dot org.