forked from Public/pics
Address dynamic class property deprecation warnings
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
class AlbumButtonBox extends SubTemplate
|
||||
{
|
||||
private $buttons;
|
||||
|
||||
public function __construct($buttons)
|
||||
{
|
||||
$this->buttons = $buttons;
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
|
||||
class AlbumHeaderBox extends SubTemplate
|
||||
{
|
||||
private $back_link_title;
|
||||
private $back_link;
|
||||
private $description;
|
||||
private $title;
|
||||
|
||||
public function __construct($title, $description, $back_link, $back_link_title)
|
||||
{
|
||||
$this->title = $title;
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
class Alert extends SubTemplate
|
||||
{
|
||||
private $_type;
|
||||
private $_message;
|
||||
private $_title;
|
||||
|
||||
public function __construct($title = '', $message = '', $type = 'alert')
|
||||
{
|
||||
$this->_title = $title;
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
class DummyBox extends SubTemplate
|
||||
{
|
||||
private $_class;
|
||||
private $_content;
|
||||
private $_title;
|
||||
|
||||
public function __construct($title = '', $content = '', $class = '')
|
||||
{
|
||||
$this->_title = $title;
|
||||
|
||||
@@ -8,6 +8,15 @@
|
||||
|
||||
class FormView extends SubTemplate
|
||||
{
|
||||
private $content_below;
|
||||
private $content_above;
|
||||
private $data;
|
||||
private $missing;
|
||||
private $fields;
|
||||
private $request_method;
|
||||
private $request_url;
|
||||
private $title;
|
||||
|
||||
public function __construct(Form $form, $title = '')
|
||||
{
|
||||
$this->title = $title;
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
class MediaUploader extends SubTemplate
|
||||
{
|
||||
private Tag $tag;
|
||||
|
||||
public function __construct(Tag $tag)
|
||||
{
|
||||
$this->tag = $tag;
|
||||
|
||||
@@ -10,6 +10,7 @@ class Pagination extends SubTemplate
|
||||
{
|
||||
private $index;
|
||||
private static $unique_index_count = 0;
|
||||
private string $class;
|
||||
|
||||
public function __construct(PageIndex $index)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@ class PhotosIndex extends SubTemplate
|
||||
{
|
||||
protected $mosaic;
|
||||
protected $show_edit_buttons;
|
||||
protected $show_headers;
|
||||
protected $show_labels;
|
||||
protected $row_limit = 1000;
|
||||
protected $previous_header = '';
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
class TabularData extends SubTemplate
|
||||
{
|
||||
private Pagination $pager;
|
||||
private GenericTable $_t;
|
||||
|
||||
public function __construct(GenericTable $table)
|
||||
{
|
||||
$this->_t = $table;
|
||||
|
||||
Reference in New Issue
Block a user