Problem in Manual V2.2.2

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Documentation (D)
    • None
    • Environment:

      According to the manual on the link -> https://www.zabbix.com/documentation/2.2/manual/web_interface/theming
      I'm having the following problem in the code below.

      public function getThemes()

      { return array_merge(parent::getThemes(), array( 'mytheme' => _('My theme') )); }

      Follow the code of version 2.0 and got no problems. Follows the code.

      public static function getThemes()

      { return array_merge(parent::getThemes(), array( 'mytheme' => _('My theme') )); }

      =====

      DIFF >>> public STATIC <<<-

      I'm not quite sure if it may have something to do with the version of my PHP.

      Thanks

            Assignee:
            Martins Valkovskis
            Reporter:
            Eduardo Wutzl da Silva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: