nur-sery/nur_src/v/base/TPlugin.php

21 lines
526 B
PHP
Raw Normal View History

2023-12-03 22:10:18 +04:00
<?php
namespace nur\v\base;
/**
* Trait TPlugin: implémentation réutilisable de IPlugin
*/
trait TPlugin {
function getCss() { return static::CSS; }
function isDynamicCss(): bool { return false; }
function printCss(): void {}
function getJs() { return static::JS; }
function isDynamicJs(): bool { return false; }
function printJs(): void {}
function haveJquery(): bool { return false; }
function printJquery(): void {}
function haveScript(): bool { return false; }
function printScript(): void {}
}