PHP Classes

File: src/App/Dialog/Library/LibraryInterface.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   src/App/Dialog/Library/LibraryInterface.php   Download  
File: src/App/Dialog/Library/LibraryInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 4 months ago
Size: 1,263 bytes
 

Contents

Class file image Download
<?php

/**
 * DialogLibraryInterface.php - Interface for javascript dialog library adapters.
 *
 * @package jaxon-core
 * @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\App\Dialog\Library;

use
Jaxon\Plugin\Code\JsCode;

interface
LibraryInterface
{
   
/**
     * Get the library name
     *
     * @return string
     */
   
public function getName(): string;

   
/**
     * Get the library base URI
     *
     * @return string
     */
   
public function getUri(): string;

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

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

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

   
/**
     * Get the javascript codes to include into the page
     *
     * @return JsCode|null
     */
   
public function getJsCode(): ?JsCode;
}