forked from extern/egroupware
fix for PHP Warning: Declaration of etemplate_request_cache::id() should be compatible with & etemplate_request::id()
This commit is contained in:
parent
597de72867
commit
a84a255bb7
@ -78,7 +78,7 @@ class etemplate_request_cache extends etemplate_request
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function id()
|
||||
public function &id()
|
||||
{
|
||||
//error_log(__METHOD__."() id=$this->id");
|
||||
return $this->id;
|
||||
@ -87,7 +87,7 @@ class etemplate_request_cache extends etemplate_request
|
||||
/**
|
||||
* Factory method to get a new request object or the one for an existing request
|
||||
*
|
||||
* @param string $id=null
|
||||
* @param string $id =null
|
||||
* @return etemplate_request|boolean the object or false if $id is not found
|
||||
*/
|
||||
static function read($id=null)
|
||||
|
@ -83,7 +83,7 @@ class etemplate_request_files extends etemplate_request
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function id()
|
||||
public function &id()
|
||||
{
|
||||
//error_log(__METHOD__."() id=$this->id");
|
||||
return $this->id;
|
||||
@ -92,7 +92,7 @@ class etemplate_request_files extends etemplate_request
|
||||
/**
|
||||
* Factory method to get a new request object or the one for an existing request
|
||||
*
|
||||
* @param string $id=null
|
||||
* @param string $id =null
|
||||
* @return etemplate_request|boolean the object or false if $id is not found
|
||||
*/
|
||||
static function read($id=null)
|
||||
|
@ -68,7 +68,7 @@ class etemplate_request_session extends etemplate_request
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function id()
|
||||
public function &id()
|
||||
{
|
||||
//error_log(__METHOD__."() id=$this->id");
|
||||
return $this->id;
|
||||
@ -77,7 +77,7 @@ class etemplate_request_session extends etemplate_request
|
||||
/**
|
||||
* Factory method to get a new request object or the one for an existing request
|
||||
*
|
||||
* @param string $id=null
|
||||
* @param string $id =null
|
||||
* @return etemplate_request|boolean the object or false if $id is not found
|
||||
*/
|
||||
static function read($id=null)
|
||||
|
Loading…
Reference in New Issue
Block a user