mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +01:00
Explicit method visibility is supposed to satisfy PHP 5.4
This commit is contained in:
parent
aa4651272e
commit
36d930ad41
@ -122,7 +122,7 @@ class contact_widget extends etemplate_widget_transformer
|
|||||||
*
|
*
|
||||||
* @param string $xml or 'html' for old etemplate
|
* @param string $xml or 'html' for old etemplate
|
||||||
*/
|
*/
|
||||||
function __construct($xml)
|
public function __construct($xml)
|
||||||
{
|
{
|
||||||
if (is_a($xml, 'XMLReader') || $xml != '' && $xml != 'html')
|
if (is_a($xml, 'XMLReader') || $xml != '' && $xml != 'html')
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget
|
|||||||
* @param etemplate &$tmpl reference to the template we belong too
|
* @param etemplate &$tmpl reference to the template we belong too
|
||||||
* @return boolean true if extra label is allowed, false otherwise
|
* @return boolean true if extra label is allowed, false otherwise
|
||||||
*/
|
*/
|
||||||
function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
|
public function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
|
||||||
{
|
{
|
||||||
$cell['value'] =& $value;
|
$cell['value'] =& $value;
|
||||||
$cell['options'] =& $cell['size']; // old engine uses 'size' instead of 'options' for legacy options
|
$cell['options'] =& $cell['size']; // old engine uses 'size' instead of 'options' for legacy options
|
||||||
@ -147,7 +147,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget
|
|||||||
* @param array &$attrs attributes
|
* @param array &$attrs attributes
|
||||||
* @throws egw_exception_wrong_parameter if $action is of wrong type
|
* @throws egw_exception_wrong_parameter if $action is of wrong type
|
||||||
*/
|
*/
|
||||||
function action($attr, $action, array &$attrs)
|
protected function action($attr, $action, array &$attrs)
|
||||||
{
|
{
|
||||||
if (self::DEBUG) error_log(__METHOD__."('$attr', ".array2string($action).')');
|
if (self::DEBUG) error_log(__METHOD__."('$attr', ".array2string($action).')');
|
||||||
// action is an assignment
|
// action is an assignment
|
||||||
|
Loading…
Reference in New Issue
Block a user