chamilo/chamilo-lms

View on GitHub
public/main/admin/system_announcements.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "form_actions" is not in valid camel caps format
Open

    $table->set_form_actions($form_actions);

Variable "announcement_id" is not in valid camel caps format
Open

                            $announcement_id,

Variable "show_announcement_list" is not in valid camel caps format
Open

        $show_announcement_list = true;

Variable "form_actions" is not in valid camel caps format
Open

    $form_actions['delete_selected'] = get_lang('Delete');

Variable "announcement_data" is not in valid camel caps format
Open

    $announcement_data = [];

Variable "tool_name" is not in valid camel caps format
Open

    $tool_name = get_lang('Portal news');

Variable "announcement_id" is not in valid camel caps format
Open

                if (false !== $announcement_id) {

Variable "action_todo" is not in valid camel caps format
Open

    $action_todo = true;

Variable "group_list" is not in valid camel caps format
Open

    $group_list = $userGroup->get_all();

Variable "group_list" is not in valid camel caps format
Open

        $group_list[0] = get_lang('All');

Variable "group_list" is not in valid camel caps format
Open

            $group_list

Variable "action_todo" is not in valid camel caps format
Open

        $action_todo = false;

Variable "action_todo" is not in valid camel caps format
Open

        $action_todo = true;

Variable "action_todo" is not in valid camel caps format
Open

if ($action_todo) {

Variable "group_list" is not in valid camel caps format
Open

    if (!empty($group_list)) {

Variable "per_page" is not in valid camel caps format
Open

    $table->per_page= 20;

Add a single space around assignment operators
Open

    $table->per_page= 20;

Variable "action_todo" is not in valid camel caps format
Open

        $action_todo = true;

Variable "show_announcement_list" is not in valid camel caps format
Open

if ($show_announcement_list) {

Add a single space around assignment operators
Open

            $row[] =Display::getMdiIcon(StateIcon::COMPLETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('The announcement is available'));

Variable "form_title" is not in valid camel caps format
Open

        $form_title = get_lang('Add news');

Variable "form_actions" is not in valid camel caps format
Open

    $form_actions = [];

Variable "announcement_id" is not in valid camel caps format
Open

                $announcement_id = SystemAnnouncementManager::add_announcement(

Variable "announcement_data" is not in valid camel caps format
Open

        $announcement_data[] = $row;

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_PLATFORM_ADMIN;

Variable "group_list" is not in valid camel caps format
Open

        $group_list = array_column($group_list, 'title', 'id');

Variable "group_list" is not in valid camel caps format
Open

        $group_list = array_column($group_list, 'title', 'id');

Variable "action_todo" is not in valid camel caps format
Open

$action_todo = false;

Variable "tool_name" is not in valid camel caps format
Open

$tool_name = null;

Variable "this_section" is not in valid camel caps format
Open

$_SESSION['this_section'] = $this_section;

Variable "form_title" is not in valid camel caps format
Open

    $form->addHeader($form_title);

Variable "announcement_data" is not in valid camel caps format
Open

    $table = new SortableTableFromArray($announcement_data);

Variable "total_number_of_items" is not in valid camel caps format
Open

    $table->total_number_of_items = count($announcement_data);

Variable "announcement_data" is not in valid camel caps format
Open

    $table->total_number_of_items = count($announcement_data);

Variable "tool_name" is not in valid camel caps format
Open

Display::display_header($tool_name);

Variable "show_announcement_list" is not in valid camel caps format
Open

$show_announcement_list = true;

Add a single space around assignment operators
Open

            $row[] =Display::getMdiIcon(StateIcon::WARNING, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('The announcement is not available'));

Variable "form_title" is not in valid camel caps format
Open

        $form_title = get_lang('Edit News');

Variable "show_announcement_list" is not in valid camel caps format
Open

        $show_announcement_list = false;

There are no issues that match your filters.

Category
Status