forked from extern/egroupware
php5.2+ requires the interfaces also to declare the default params (or not to use them in implementations)
This commit is contained in:
parent
a06732a3e2
commit
ec80b68626
@ -33,7 +33,7 @@ interface iface_egw_record
|
|||||||
*
|
*
|
||||||
* @param string $_identifier
|
* @param string $_identifier
|
||||||
*/
|
*/
|
||||||
public function __construct( $_identifier );
|
public function __construct( $_identifier='' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* magic method to set attributes of record
|
* magic method to set attributes of record
|
||||||
|
@ -40,7 +40,7 @@ interface iface_export_record
|
|||||||
* @return bool
|
* @return bool
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
public function __construct( $_handle, $_charset, array $_options );
|
public function __construct( $_handle, $_charset, array $_options=array() );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* exports a record into resource of handle
|
* exports a record into resource of handle
|
||||||
|
Loading…
Reference in New Issue
Block a user