Code Duplication    Length = 10-10 lines in 6 locations

Alpha/Controller/ArticleController.php 1 location

@@ 86-95 (lines=10) @@
83
     *
84
     * @since 1.0
85
     */
86
    public function __construct()
87
    {
88
        self::$logger = new Logger('ArticleController');
89
        self::$logger->debug('>>__construct()');
90
91
        // ensure that the super class constructor is called, indicating the rights group
92
        parent::__construct('Public');
93
94
        self::$logger->debug('<<__construct');
95
    }
96
97
    /**
98
     * Handle GET requests.

Alpha/Controller/AttachmentController.php 1 location

@@ 72-81 (lines=10) @@
69
     *
70
     * @since 1.0
71
     */
72
    public function __construct()
73
    {
74
        self::$logger = new Logger('AttachmentController');
75
        self::$logger->debug('>>__construct()');
76
77
        // ensure that the super class constructor is called, indicating the rights group
78
        parent::__construct('Public');
79
80
        self::$logger->debug('<<__construct');
81
    }
82
83
    /**
84
     * Handle GET requests.

Alpha/Controller/ExcelController.php 1 location

@@ 72-81 (lines=10) @@
69
     *
70
     * @since 1.0
71
     */
72
    public function __construct()
73
    {
74
        self::$logger = new Logger('ExcelController');
75
        self::$logger->debug('>>__construct()');
76
77
        // ensure that the super class constructor is called, indicating the rights group
78
        parent::__construct('Public');
79
80
        self::$logger->debug('<<__construct');
81
    }
82
83
    /**
84
     * Loads the BO indicated in the GET request and handles the conversion to Excel.

Alpha/Controller/ImageController.php 1 location

@@ 74-83 (lines=10) @@
71
     *
72
     * @since 1.0
73
     */
74
    public function __construct($visibility = 'Public')
75
    {
76
        self::$logger = new Logger('ImageController');
77
        self::$logger->debug('>>__construct()');
78
79
        // ensure that the super class constructor is called, indicating the rights group
80
        parent::__construct($visibility);
81
82
        self::$logger->debug('<<__construct');
83
    }
84
85
    /**
86
     * Handles get requests.

Alpha/Controller/IndexController.php 1 location

@@ 73-82 (lines=10) @@
70
     *
71
     * @since 1.0
72
     */
73
    public function __construct($visibility = 'Public')
74
    {
75
        self::$logger = new Logger('IndexController');
76
        self::$logger->debug('>>__construct()');
77
78
        // ensure that the super class constructor is called, indicating the rights group
79
        parent::__construct($visibility);
80
81
        self::$logger->debug('<<__construct');
82
    }
83
84
    /**
85
     * Handle GET requests.

Alpha/Controller/RecordSelectorController.php 1 location

@@ 70-79 (lines=10) @@
67
     *
68
     * @since 1.0
69
     */
70
    public function __construct()
71
    {
72
        self::$logger = new Logger('RecordSelectorController');
73
        self::$logger->debug('>>__construct()');
74
75
        // ensure that the super class constructor is called, indicating the rights group
76
        parent::__construct('Public');
77
78
        self::$logger->debug('<<__construct');
79
    }
80
81
    /**
82
     * Handles get requests.