Permalink
Browse files

XCube_DelegateUtils methods as `public static`

  • Loading branch information...
nao-pon committed Apr 14, 2015
1 parent 496e71d commit 12d129f48d0bf9b962c68b6a70e1643daac65fab
Showing with 4 additions and 4 deletions.
  1. +4 −4 html/core/XCube_Delegate.class.php
@@ -538,7 +538,7 @@ function XCube_DelegateUtils()
{
}
static function call()
public static function call()
{
$args = func_get_args();
$num = func_num_args();
@@ -613,7 +613,7 @@ static function call()
* @param 2nd and more : Delegate function parameters
* @return bool
*/
function raiseEvent()
public static function raiseEvent()
{
if (func_num_args()) {
$args = func_get_args();
@@ -633,7 +633,7 @@ function raiseEvent()
* @param 3rd and more - Optional function paramaters
* @return string
*/
function applyStringFilter()
public static function applyStringFilter()
{
$args = func_get_args();
$num = func_num_args();
@@ -662,7 +662,7 @@ function applyStringFilter()
* @attention
* Only XCube_Delegate, XCube_DelegateManager and sub-classes of them should use this method.
*/
function _compareCallback($callback1, $callback2)
public static function _compareCallback($callback1, $callback2)
{
if (!is_array($callback1) && !is_array($callback2) && ($callback1 === $callback2)) {
return true;

0 comments on commit 12d129f

Please sign in to comment.