mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
fix deprecated constructor names
This commit is contained in:
parent
c81884e622
commit
baec50fe92
@ -58,7 +58,7 @@ class ajax_select_widget
|
||||
|
||||
private $debug = false;
|
||||
|
||||
function ajax_select_widget($ui='')
|
||||
function __construct($ui='')
|
||||
{
|
||||
|
||||
switch($ui)
|
||||
|
@ -66,7 +66,7 @@ class date_widget
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function date_widget($ui)
|
||||
function __construct($ui)
|
||||
{
|
||||
if ($ui == 'html')
|
||||
{
|
||||
|
@ -12,13 +12,14 @@
|
||||
*/
|
||||
|
||||
use EGroupware\Api\Etemplate\Widget;
|
||||
use EGroupware\Api\Etemplate;
|
||||
|
||||
/**
|
||||
* eTemplate widget baseclass
|
||||
*
|
||||
* @deprecated use Api\Etemplate\Widget
|
||||
*/
|
||||
class etemplate_widget extends Widget {}
|
||||
class etemplate_widget extends Etemplate\Widget {}
|
||||
|
||||
/**
|
||||
* eTemplate Extension: Entry widget
|
||||
|
@ -96,16 +96,6 @@ class link_widget
|
||||
*/
|
||||
const LIMIT_LINKS = 1000;
|
||||
|
||||
/**
|
||||
* Constructor of the extension
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function link_widget($ui='')
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* pre-processing of the extension
|
||||
*
|
||||
|
@ -48,7 +48,7 @@
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function manual_widget($ui)
|
||||
function __construct($ui)
|
||||
{
|
||||
$this->ui = $ui;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function select_widget($ui)
|
||||
function __construct($ui)
|
||||
{
|
||||
$this->ui = $ui;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ class select_widget
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function select_widget($ui='')
|
||||
function __construct($ui='')
|
||||
{
|
||||
foreach($this->monthnames as $k => $name)
|
||||
{
|
||||
|
@ -41,21 +41,12 @@
|
||||
*/
|
||||
var $human_name = 'Tabs'; // this is the name for the editor
|
||||
|
||||
/**
|
||||
* Constructor of the extension
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function tab_widget($ui)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* pre-processing of the extension
|
||||
*
|
||||
* This function is called before the extension gets rendered
|
||||
*
|
||||
* @param string $name form-name of the control
|
||||
* @param string $form_name form-name of the control
|
||||
* @param mixed &$value value / existing content, can be modified
|
||||
* @param array &$cell array with the widget, can be modified for ui-independent widgets
|
||||
* @param array &$readonlys names of widgets as key, to be made readonly
|
||||
|
@ -37,7 +37,7 @@ class tree_widget
|
||||
*
|
||||
* @param string $ui '' for html
|
||||
*/
|
||||
function tree_widget($ui)
|
||||
function __construct($ui)
|
||||
{
|
||||
$this->ui = $ui;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user