Fix incompatible signatures of inherited methods

This commit is contained in:
Kijin Sung 2015-12-08 14:07:42 +09:00
parent f6c226a0b7
commit 6473115ed3
9 changed files with 16 additions and 16 deletions

View file

@ -86,7 +86,7 @@ class ModuleObject extends Object
* @param string $type type of message (error, info, update)
* @return void
* */
function setMessage($message, $type = NULL)
function setMessage($message = 'success', $type = NULL)
{
parent::setMessage($message);
$this->setMessageType($type);
@ -370,7 +370,7 @@ class ModuleObject extends Object
* set the directory path of the layout directory
* @return string
* */
function getLayoutPath()
function getLayoutPath($layout_name = "", $layout_type = "P")
{
return $this->layout_path;
}