예제 #1
0
  public static function is_user_editor() {

    if (!self::$is_user_editor) {
      self::$is_user_editor = in_array(self::$script, array("user-edit", "profile"));
    }

    return self::$is_user_editor;
  }