Permalink
Browse files

update setGroupPath() signature

  • Loading branch information...
1 parent e882c6f commit 06dccba399217b9a9db65dbb014f9055f0843dcd @cdujeu cdujeu committed Jul 13, 2016
@@ -587,7 +587,7 @@ public function getInferOptionsFromParent()
/**
* @param String $groupPath
*/
- public function setGroupPath($groupPath)
+ public function setGroupPath($groupPath, $update = true)
{
if(strlen($groupPath) > 1) $groupPath = rtrim($groupPath, "/");
$this->groupPath = $groupPath;
@@ -553,7 +553,7 @@ public function array_merge_recursive2($array1, $array2)
return $ret;
}
- public function setGroupPath($groupPath)
+ public function setGroupPath($groupPath, $update = true)
{
$this->groupPath = $groupPath;
}
@@ -38,8 +38,9 @@ public function getGroupPath();
/**
* @abstract
* @param String $groupPath
+ * @param bool $update Save use after setting groupPath
* @return void
*/
- public function setGroupPath($groupPath);
+ public function setGroupPath($groupPath, $update=true);
}

0 comments on commit 06dccba

Please sign in to comment.