chamilo/chamilo-lms

View on GitHub
public/main/lp/lp_add_audio.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$this_section = SECTION_COURSES;

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

$form->addElement('hidden', 'id', $lp_item_id);

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

$lp_item = new learnpathItem($lp_item_id);

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

    api_get_self().'?action=add_audio&id='.$lp_item_id.'&'.api_get_cidreq().'&lp_id='.$lpId,

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

$tpl->assign('filename', $lp_item->get_title().'_nano.wav');

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

$lp_item = new learnpathItem($lp_item_id);

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

if (!empty($lp_item->audio)) {

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

if (!$is_allowed_to_edit || $isStudentView) {

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

$is_allowed_to_edit = api_is_allowed_to_edit(null, true);

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

$show_learn_path = true;

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

$form->addLabel(null, sprintf(get_lang('Audio file for item %s'), $lp_item->get_title()).$audioLabel);

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

if (empty($lp_item_id)) {

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

if (!empty($lp_item->audio)) {

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

$lp_item_id = isset($_GET['id']) ? (int) $_GET['id'] : null;

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

$tpl->assign('lp_item_id', $lp_item_id);

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

    api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?action=add_audio&lp_id='.$lp->get_id().'&id='.$lp_item_id,

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

    api_get_self().'?view=build&id='.$lp_item_id.'&lp_id='.$lpId.'&action=add_audio&'.api_get_cidreq()

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

    $audioLabel = '<br />'.get_lang('FileName').': <b>'.$lp_item->audio.'<b/>';

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

    $urlFile = api_get_path(WEB_COURSE_PATH).$courseInfo['path'].'/document/'.$lp_item->audio.'?'.api_get_cidreq();

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

        'lp/lp_controller.php?lp_id='.$lp->get_id().'&action=add_audio&id='.$lp_item_id.'&delete_file=1&'.api_get_cidreq();

There are no issues that match your filters.

Category
Status