27 lines
533 B
Plaintext
27 lines
533 B
Plaintext
<?php
|
|
|
|
namespace IPS\{app}\extensions\core\UINode;
|
|
|
|
use IPS\Helpers\Form\FormAbstract;
|
|
use IPS\Node\Model;
|
|
use IPS\Output\UI\Node as UINode;
|
|
use function defined;
|
|
|
|
/* To prevent PHP errors (extending class does not exist) revealing path */
|
|
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
|
{
|
|
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* @brief Content UI extension: {class}
|
|
*/
|
|
class {class} extends UINode
|
|
{
|
|
|
|
/**
|
|
* @brief Class to extend
|
|
*/
|
|
public static ?string $class = '{node}';
|
|
} |