Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27236

Wrong implementation of methods in class ContentView

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 1.3.1, 1.8.1
    • None
    • ubuntu 14.04 MySQL 5.5, php 5.5,
      ubuntu 16.04 MariaDB 10 php 5.6

    Description

      class eZ\Publish\Core\MVC\Symfony\View\BaseView

      Programmer doesn't understand '+' on arrays and ```isset() ```
      on variables
      see methods hasParameter() and addParameters()
      Programmer should use array_key_exist() in hasParameter()

      Also why programmer wrote 'private' class attributes?!
      almost always use 'protected'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            radek.dev radek.dev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: