The function display_addcategory_form() has an NPath complexity of 288. The configured NPath complexity threshold is 200. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The function handle_multiple_actions() has an NPath complexity of 24300. The configured NPath complexity threshold is 200. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The function display_add_form() has an NPath complexity of 2336256. The configured NPath complexity threshold is 200. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The function store_add_dropbox() has an NPath complexity of 65415168. The configured NPath complexity threshold is 200. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
Missing class import via use statement (line '67', column '28'). Open
$dropboxfile = new Dropbox_Person($_user['user_id'], $is_courseAdmin, $is_courseTutor);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '199', column '17'). Open
$form = new FormValidator(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '1014', column '31'). Open
$dropbox_person = new Dropbox_Person(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '519', column '27'). Open
$dropbox_person = new Dropbox_Person(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Remove error control operator '@' on line 1059. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Missing class import via use statement (line '473', column '17'). Open
$form = new FormValidator(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '528', column '17'). Open
$form = new FormValidator(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '1098', column '23'). Open
$result = new Dropbox_SentWork(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '655', column '22'). Open
$userGroup = new UserGroupModel();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '171', column '28'). Open
$dropboxfile = new Dropbox_Person($user_id, $is_courseAdmin, $is_courseTutor);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '725', column '25'). Open
$multipleForm = new FormValidator(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Remove error control operator '@' on line 789. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 1349. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Missing class import via use statement (line '1334', column '16'). Open
$zip = new PclZip($temp_zip_file);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method handle_multiple_actions uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$part = 'sent';
$to_cat_id = str_replace('move_sent_', '', $_POST['action']);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_addcategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return get_lang('Error');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid assigning values to variables in if clauses and the like (line '850', column '9'). Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
IfStatementAssignment
Since: 2.7.0
Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.
Example
class Foo
{
public function bar($flag)
{
if ($foo = 'bar') { // possible typo
// ...
}
if ($baz = 0) { // always false
// ...
}
}
}
Source http://phpmd.org/rules/cleancode.html#ifstatementassignment
The method store_add_dropbox uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Check if all the recipients are valid
$thisIsAMailing = false;
$thisIsJustUpload = false;
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_addcategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$params = [
'title' => $_POST['category_name'],
'received' => $received,
'sent' => $sent,
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method display_add_form uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$complete_user_list_for_dropbox = CourseManager::get_teacher_list_from_course_code(
$course_info['code'],
false
);
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid assigning values to variables in if clauses and the like (line '819', column '11'). Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
IfStatementAssignment
Since: 2.7.0
Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.
Example
class Foo
{
public function bar($flag)
{
if ($foo = 'bar') { // possible typo
// ...
}
if ($baz = 0) { // always false
// ...
}
}
}
Source http://phpmd.org/rules/cleancode.html#ifstatementassignment
The method store_move uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return_message = get_lang('The file(s) can not be moved.');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method handle_multiple_actions uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
foreach ($_POST as $key => $value) {
if (strstr($value, $part.'_') && 'view_received_category' != $key && 'view_sent_category' != $key) {
$checked_files = true;
$checked_file_ids[] = intval(substr($value, strrpos($value, '_')));
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_add_dropbox uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Update
$work->title = $dropbox_title;
$work->filename = $dropbox_filename;
$work->filesize = $dropbox_filesize;
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method feedback_form uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= get_lang('All users have deleted the file so nobody will see the feedback you are adding.');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method display_add_form uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$courseCoachList[] = $coach;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method delete_category uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return get_lang('Error');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_add_dropbox uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else { // rename file to login_filename_uniqueId format
$dropbox_filename = $_user['username']."_".$dropbox_filename."_".uniqid('');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_addcategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return ['type' => 'error', 'message' => get_lang('This category already exists, please use a different name')];
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method display_add_form uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ('true' == api_get_setting('dropbox_allow_student_to_student') || STUDENT != $_user['status']) {
$complete_user_list_for_dropbox = CourseManager::get_user_list_from_course_code(
$course_info['code'],
api_get_session_id(),
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method check_number_feedback uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return 0;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method store_feedback uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$table = Database::get_course_table(TABLE_DROPBOX_FEEDBACK);
$params = [
'c_id' => $course_id,
'file_id' => $_GET['id'],
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method generate_html_overview uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= $value[$column_value];
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method check_number_feedback uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return 0;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused local variables such as '$found'. Open
$found = true; // note: do we still need this?
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$checked_files'. Open
$checked_files = true;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$p_event'. Open
function my_pre_add_callback($p_event, &$p_header)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$column_key'. Open
foreach ($column as $column_key => $column_value) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$columns_array_key'. Open
foreach ($columns_array as $columns_array_key => $columns_array_value) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
The parameter $or_die is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $user_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $category_name is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $extra_params is not named in camelCase. Open
function display_move_form(
$part,
$id,
$target = [],
$extra_params = [],
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $file_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $p_header is not named in camelCase. Open
function my_pre_add_callback($p_event, &$p_header)
{
$files = Session::read('dropbox_files_to_download');
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $p_event is not named in camelCase. Open
function my_pre_add_callback($p_event, &$p_header)
{
$files = Session::read('dropbox_files_to_download');
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $user_id is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $dont_show_columns is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $make_link is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Variable "is_courseAdmin" is not in valid camel caps format Open
$is_courseAdmin = api_is_course_admin();
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
$checked_file_ids = $_POST['id'];
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$is_courseTutor = api_is_course_tutor();
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
$checked_file_ids[] = intval(substr($value, strrpos($value, '_')));
- Exclude checks
Variable "checked_files" is not in valid camel caps format Open
$checked_files = true;
- Exclude checks
Consider putting global function "handle_multiple_actions" in a static class Open
function handle_multiple_actions()
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
$checked_file_ids = $_POST['id'];
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
if (!is_array($checked_file_ids) || 0 == count($checked_file_ids)) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($_user['user_id'], $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
c_id = $course_id AND
- Exclude checks
Variable "_user" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id='".$_user['user_id']."' $condition_session";
- Exclude checks
Variable "return_array" is not in valid camel caps format Open
return $return_array;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Missing parameter name Open
* @param $view
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
$userId = $current_user['user_id'];
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
$current_user_id = $current_user['user_id'];
- Exclude checks
Variable "full_name" is not in valid camel caps format Open
$options['user_'.$current_user_id] = $full_name;
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
if (($dropbox_person->isCourseTutor || $dropbox_person->isCourseAdmin)
- Exclude checks
Variable "complete_group_list_for_dropbox" is not in valid camel caps format Open
if (count($complete_group_list_for_dropbox) > 0) {
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
foreach ($checked_file_ids as $key => $value) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if ($cat['user_id'] != $user_id && !api_is_platform_admin($user_id)) {
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
$return_message = get_lang('The folder has been deleted');
- Exclude checks
Variable "_user" is not in valid camel caps format Open
'user_id' => $_user['user_id'],
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = [];
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
$options['user_'.$current_user_id] = $full_name;
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
if (!is_array($checked_file_ids) || 0 == count($checked_file_ids)) {
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
zip_download($checked_file_ids);
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
$is_courseAdmin = api_is_course_admin();
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
$return_message = get_lang('The folder has been deleted');
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Consider putting global function "display_add_form" in a static class Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
- Exclude checks
Variable "id_field" is not in valid camel caps format Open
$id_field = 'file_id';
- Exclude checks
Variable "entries_table" is not in valid camel caps format Open
$entries_table = Database::get_course_table(TABLE_DROPBOX_FILE);
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
api_get_self().'?view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&'.$extra_params
- Exclude checks
Variable "condition_session" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id='".$_user['user_id']."' $condition_session";
- Exclude checks
Consider putting global function "display_addcategory_form" in a static class Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = TableSort::sort_table($complete_user_list_for_dropbox, 'lastcommafirst');
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($_user['user_id'], $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "_user" is not in valid camel caps format Open
WHERE c_id = $course_id AND dest_user_id = ".intval($_user['user_id'])."
- Exclude checks
Missing parameter name Open
* @param $viewReceivedCategory
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$is_courseTutor = api_is_course_tutor();
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
$course_info['code'],
- Exclude checks
Variable "_user" is not in valid camel caps format Open
if ('true' == api_get_setting('dropbox_allow_student_to_student') || STUDENT != $_user['status']) {
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
foreach ($complete_user_list_for_dropbox as $k => $e) {
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox[$k] = $e + [
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
$current_user_id = '';
- Exclude checks
Variable "current_group" is not in valid camel caps format Open
$options['group_'.$current_group['iid']] = 'G: '.$current_group['name'].' - '.$current_group['number_of_members'].' '.get_lang('Users');
- Exclude checks
Consider putting global function "removeUnusedFiles" in a static class Open
function removeUnusedFiles()
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($_user['user_id'], $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($user_id, $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
return $return_message;
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
$extra_params = [],
- Exclude checks
Variable "return_array" is not in valid camel caps format Open
$return_array[$row['cat_id']] = $row;
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
$course_info['code'],
- Exclude checks
Variable "complete_user_list2" is not in valid camel caps format Open
$complete_user_list2 = CourseManager::get_coach_list_from_course_code(
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox,
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
|| 5 != $current_user['status'] // Always allow teachers.
- Exclude checks
Variable "current_group" is not in valid camel caps format Open
if ($current_group['number_of_members'] > 0) {
- Exclude checks
Variable "to_cat_id" is not in valid camel caps format Open
store_move($value, $to_cat_id, $part);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND cat_id='".intval($id)."' AND $sentreceived='1'";
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
$return_message = get_lang('The file(s) can not be moved.');
- Exclude checks
Missing parameter name Open
* @param $filter default '', when we need only the categories of the sent or the received part
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Expected 18 spaces after parameter type; 1 found Open
* @param int $id
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
$dropbox_person = new Dropbox_Person(
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
$course_info['code'],
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
$current_user_id = $current_user['user_id'];
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
if (($dropbox_person->isCourseTutor || $dropbox_person->isCourseAdmin)
- Exclude checks
Variable "current_group" is not in valid camel caps format Open
foreach ($complete_group_list_for_dropbox as $current_group) {
- Exclude checks
Variable "current_group" is not in valid camel caps format Open
$options['group_'.$current_group['iid']] = 'G: '.$current_group['name'].' - '.$current_group['number_of_members'].' '.get_lang('Users');
- Exclude checks
Consider putting global function "get_dropbox_category" in a static class Open
function get_dropbox_category($id)
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox,
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = CourseManager::get_user_list_from_course_code(
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = CourseManager::get_teacher_list_from_course_code(
- Exclude checks
Consider putting global function "getDropboxConf" in a static class Open
function getDropboxConf()
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
function delete_category($action, $id, $user_id = null)
- Exclude checks
Variable "id_field" is not in valid camel caps format Open
$dropboxfile->deleteReceivedWork($row[$id_field]);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id='".$_user['user_id']."' $condition_session";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
c_id = $course_id AND
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id,
- Exclude checks
Variable "category_name" is not in valid camel caps format Open
if (empty($category_name)) {
- Exclude checks
Variable "category_name" is not in valid camel caps format Open
$category_name = $row['title'];
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
$dropbox_person->isCourseTutor
- Exclude checks
Variable "complete_group_list_for_dropbox" is not in valid camel caps format Open
foreach ($complete_group_list_for_dropbox as $current_group) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = api_get_user_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if ($cat['user_id'] != $user_id && !api_is_platform_admin($user_id)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
$is_courseAdmin = api_is_course_admin();
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
$course_info['code'],
- Exclude checks
Consider putting global function "delete_category" in a static class Open
function delete_category($action, $id, $user_id = null)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($user_id, $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "id_field" is not in valid camel caps format Open
$dropboxfile->deleteSentWork($row[$id_field]);
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Missing parameter name Open
* @param int The category ID
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
session_id='$session_id'";
- Exclude checks
Missing parameter name Open
* @param $viewSentCategory
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$is_courseTutor
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
foreach ($complete_user_list_for_dropbox as $current_user) {
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
) && $current_user['user_id'] != $_user['user_id']) { // Don't include yourself.
- Exclude checks
Variable "current_group" is not in valid camel caps format Open
$options['group_'.$current_group['iid']] = 'G: '.$current_group['name'].' - '.$current_group['number_of_members'].' '.get_lang('Users');
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
$is_courseTutor = api_is_course_tutor();
- Exclude checks
Consider putting global function "display_move_form" in a static class Open
function display_move_form(
- Exclude checks
Consider putting global function "get_dropbox_categories" in a static class Open
function get_dropbox_categories($filter = '')
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
'c_id' => $course_id,
- Exclude checks
Variable "complete_user_list2" is not in valid camel caps format Open
foreach ($complete_user_list2 as $coach) {
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = TableSort::sort_table($complete_user_list_for_dropbox, 'lastcommafirst');
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
if ($current_user['user_id'] == $current_user_id) {
- Exclude checks
Variable "to_cat_id" is not in valid camel caps format Open
$to_cat_id = str_replace('move_sent_', '', $_POST['action']);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND cat_id='".intval($id)."'";
- Exclude checks
Variable "_user" is not in valid camel caps format Open
user_id='".$_user['user_id']."' AND
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
'session_id' => $session_id,
- Exclude checks
Variable "category_name" is not in valid camel caps format Open
$defaults['category_name'] = Security::remove_XSS($category_name);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
$course_info = api_get_course_info();
- Exclude checks
Variable "_user" is not in valid camel caps format Open
if ('true' == api_get_setting('dropbox_allow_student_to_student') || STUDENT != $_user['status']) {
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
foreach ($complete_user_list_for_dropbox as $current_user) {
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
|| $dropbox_person->isCourseAdmin
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
|| 1 == $current_user['is_tutor'] // Always allow tutors.
- Exclude checks
Variable "full_name" is not in valid camel caps format Open
$full_name = $userInfo['complete_name'].$groupNameListToString;
- Exclude checks
Variable "to_cat_id" is not in valid camel caps format Open
$to_cat_id = str_replace('move_received_', '', $_POST['action']);
- Exclude checks
Variable "checked_file_ids" is not in valid camel caps format Open
foreach ($checked_file_ids as $value) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$dropboxfile = new Dropbox_Person($user_id, $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND dest_user_id = ".intval($_user['user_id'])."
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
$return_message = get_lang('The sent file has been moved');
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND cat_id='".$id."'";
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "category_name" is not in valid camel caps format Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = CourseManager:: get_user_list_from_course_code(
- Exclude checks
Variable "_user" is not in valid camel caps format Open
) && $current_user['user_id'] != $_user['user_id']) { // Don't include yourself.
- Exclude checks
Variable "id_field" is not in valid camel caps format Open
$id_field = 'id';
- Exclude checks
Variable "_user" is not in valid camel caps format Open
uploader_id = ".intval($_user['user_id'])." AND
- Exclude checks
Variable "condition_session" is not in valid camel caps format Open
$condition_session = api_get_session_condition($session_id);
- Exclude checks
Variable "entries_table" is not in valid camel caps format Open
$entries_table = Database::get_course_table(TABLE_DROPBOX_POST);
- Exclude checks
Variable "entries_table" is not in valid camel caps format Open
$sql = "SELECT * FROM ".$entries_table."
- Exclude checks
Consider putting global function "store_move" in a static class Open
function store_move($id, $target, $part)
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
$return_message = get_lang('The received file has been moved.');
- Exclude checks
Variable "return_message" is not in valid camel caps format Open
return $return_message;
- Exclude checks
Variable "return_array" is not in valid camel caps format Open
$return_array = [];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$condition_session = api_get_session_condition($session_id);
- Exclude checks
Consider putting global function "store_addcategory" in a static class Open
function store_addcategory()
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['user_id'],
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND cat_id = ".$id;
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
$is_courseAdmin,
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = array_merge(
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
$complete_user_list_for_dropbox = array_merge(
- Exclude checks
Variable "complete_user_list_for_dropbox" is not in valid camel caps format Open
if (!empty($complete_user_list_for_dropbox)) {
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
if ($current_user['user_id'] == $current_user_id) {
- Exclude checks
Variable "complete_group_list_for_dropbox" is not in valid camel caps format Open
$complete_group_list_for_dropbox = GroupManager::get_group_list(null, $course);
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$options['user_'.$_user['user_id']] = get_lang('---Just upload---');
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND id ='".$res['id']."'";
- Exclude checks
Variable "dropbox_filetype" is not in valid camel caps format Open
$dropbox_filetype = $file['type'];
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = php2phps($dropbox_filename);
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
if (!in_array($usr['user_id'], $new_work_recipients) && $usr['user_id'] != $_user['user_id']) {
- Exclude checks
Variable "recipient_id" is not in valid camel caps format Open
foreach ($new_work_recipients as $recipient_id) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (person.file_id=file.id AND file.c_id = $course_id AND person.c_id = $course_id)
- Exclude checks
Variable "temp_zip_file" is not in valid camel caps format Open
$temp_zip_file = api_get_path(SYS_ARCHIVE_PATH).api_get_unique_id().".zip";
- Exclude checks
Variable "_course" is not in valid camel caps format Open
api_get_path(SYS_COURSE_PATH).$_course['path'].'/dropbox/'.$value['filename'],
- Exclude checks
Consider putting global function "generate_html_overview" in a static class Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user = api_get_user_info();
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = api_replace_dangerous_char($dropbox_filename);
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = $w->filename;
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
$new_work_recipients[] = $usr['user_id'];
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['firstName'],
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['mail']
- Exclude checks
Consider putting global function "my_pre_add_callback" in a static class Open
function my_pre_add_callback($p_event, &$p_header)
- Exclude checks
Consider putting global function "getUserOwningThisMailing" in a static class Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
- Exclude checks
Variable "file_id" is not in valid camel caps format Open
$file_id = (int) $file_id;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$_course = api_get_course_info();
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = php2phps($dropbox_filename);
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
if (!filter_extension($dropbox_filename)) {
- Exclude checks
Variable "dropbox_title" is not in valid camel caps format Open
$dropbox_title = $dropbox_filename;
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
api_get_path(SYS_COURSE_PATH).$_course['path'].'/dropbox/'.$dropbox_filename
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['lastName'],
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['user_id'],
- Exclude checks
Variable "dropbox_filesize" is not in valid camel caps format Open
$dropbox_filesize,
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
$new_work_recipients
- Exclude checks
Variable "dropbox_filesize" is not in valid camel caps format Open
$work->filesize = $dropbox_filesize;
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
return $number_users_who_see_file > 0 || $count > 0;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$_course = api_get_course_info();
- Exclude checks
Variable "dont_show_columns" is not in valid camel caps format Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
- Exclude checks
Variable "columns_array_value" is not in valid camel caps format Open
$column[] = $columns_array_value;
- Exclude checks
Consider putting global function "store_add_dropbox" in a static class Open
function store_add_dropbox($file = [], $work = null)
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$_course['code'],
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = api_replace_dangerous_char($dropbox_filename);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
function user_can_download_file($id, $user_id)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND file_id = ".$id;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (post.file_id = file.id AND post.c_id = $course_id AND file.c_id = $course_id)
- Exclude checks
Variable "temp_zip_file" is not in valid camel caps format Open
$result = DocumentManager::file_send_for_download($temp_zip_file, true, $name);
- Exclude checks
Consider putting global function "removeMoreIfMailing" in a static class Open
function removeMoreIfMailing($file_id)
- Exclude checks
Variable "upload_ok" is not in valid camel caps format Open
$upload_ok = process_uploaded_file($file, true);
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
foreach ($dropbox_person->sentWork as $w) {
- Exclude checks
Variable "recipent_temp" is not in valid camel caps format Open
$recipent_temp = api_get_user_info($recipient_id);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND file_id = ".$id;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (post.file_id = file.id AND post.c_id = $course_id AND file.c_id = $course_id)
- Exclude checks
Variable "make_link" is not in valid camel caps format Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$_course = api_get_course_info();
- Exclude checks
Variable "file_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND p.file_id = '".$file_id."'";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND uploader_id='".$mailingPseudoId."'";
- Exclude checks
Variable "dropbox_filesize" is not in valid camel caps format Open
if ($dropbox_filesize <= 0 || $dropbox_filesize > $maxFileSize) {
- Exclude checks
Variable "recipient_id" is not in valid camel caps format Open
$recipent_temp = api_get_user_info($recipient_id);
- Exclude checks
Variable "_user" is not in valid camel caps format Open
)."\n".get_lang('e-mail')." : ".$_user['mail'],
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename,
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
$number_users_who_see_file = check_if_file_exist($_GET['id']);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id = $user_id AND file_id = ".$id;
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
$number_users_who_see_file = Database::num_rows($result);
- Exclude checks
Variable "p_header" is not in valid camel caps format Open
function my_pre_add_callback($p_event, &$p_header)
- Exclude checks
Variable "columns_array_value" is not in valid camel caps format Open
$return .= "\n\t<th>".$columns_array_value."</th>";
- Exclude checks
Variable "_course" is not in valid camel caps format Open
@unlink(api_get_path(SYS_COURSE_PATH).$_course['path'].'/dropbox/'.$res['filename']);
- Exclude checks
Variable "file_id" is not in valid camel caps format Open
$file_id = (int) $file_id;
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = add_ext_on_mime($dropbox_filename, $dropbox_filetype);
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
$dropbox_person = new Dropbox_Person(
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$dropbox_filename = $_user['username']."_".$dropbox_filename."_".uniqid('');
- Exclude checks
Variable "columns_array_value" is not in valid camel caps format Open
if (!in_array($columns_array_value, $dont_show_columns)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = $_course['real_id'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id='".$mailingPseudoId."'";
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
foreach ($new_work_recipients as $recipient_id) {
- Exclude checks
Missing function doc comment Open
function user_can_download_file($id, $user_id)
- Exclude checks
You must use "/**" style comments for a function comment Open
function check_if_file_exist($id)
- Exclude checks
Variable "temp_zip_file" is not in valid camel caps format Open
$zip = new PclZip($temp_zip_file);
- Exclude checks
Variable "columns_array" is not in valid camel caps format Open
$columns_array = array_keys($value);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "dropbox_overwrite" is not in valid camel caps format Open
$dropbox_overwrite = true;
- Exclude checks
Variable "_user" is not in valid camel caps format Open
if (($w->recipients[0]['id'] == $_user['user_id']) xor $thisIsJustUpload) {
- Exclude checks
Variable "recipent_temp" is not in valid camel caps format Open
$recipent_temp['firstname'].' '.$recipent_temp['lastname'],
- Exclude checks
Variable "upload_date" is not in valid camel caps format Open
$work->upload_date = api_get_utc_datetime();
- Exclude checks
Missing parameter name Open
* @param an array containing all the feedback about the given message
- Exclude checks
Consider putting global function "user_can_download_file" in a static class Open
function user_can_download_file($id, $user_id)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Variable "p_header" is not in valid camel caps format Open
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (f.id = p.file_id AND f.c_id = $course_id AND p.c_id = $course_id)
- Exclude checks
Variable "dropbox_title" is not in valid camel caps format Open
$work->title = $dropbox_title;
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
if ($number_users_who_see_file) {
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
$number_users_who_see_file = Database::num_rows($result);
- Exclude checks
Consider putting global function "zip_download" in a static class Open
function zip_download($fileList)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
p.c_id = $course_id
- Exclude checks
Variable "dropbox_overwrite" is not in valid camel caps format Open
$dropbox_overwrite = false;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
api_get_path(SYS_COURSE_PATH).$_course['path'].'/dropbox/'.$dropbox_filename
- Exclude checks
Variable "recipent_temp" is not in valid camel caps format Open
$recipent_temp['firstname'].' '.$recipent_temp['lastname'],
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND dest_user_id = $user_id AND file_id = ".$id;
- Exclude checks
Variable "p_event" is not in valid camel caps format Open
function my_pre_add_callback($p_event, &$p_header)
- Exclude checks
Variable "dropbox_filesize" is not in valid camel caps format Open
$dropbox_filesize = $file['size'];
- Exclude checks
Variable "dropbox_filesize" is not in valid camel caps format Open
if ($dropbox_filesize <= 0 || $dropbox_filesize > $maxFileSize) {
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = add_ext_on_mime($dropbox_filename, $dropbox_filetype);
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['user_id'],
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['firstName'],
- Exclude checks
Variable "dropbox_title" is not in valid camel caps format Open
$dropbox_title,
- Exclude checks
Consider putting global function "store_feedback" in a static class Open
function store_feedback()
- Exclude checks
Variable "columns_array_key" is not in valid camel caps format Open
foreach ($columns_array as $columns_array_key => $columns_array_value) {
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$course_id = $_course['real_id'];
- Exclude checks
Variable "or_die" is not in valid camel caps format Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (f.id = p.file_id AND f.c_id = $course_id AND p.c_id = $course_id)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "dropbox_filetype" is not in valid camel caps format Open
$dropbox_filename = add_ext_on_mime($dropbox_filename, $dropbox_filetype);
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
$new_work_recipients[] = substr($rec, strlen('user_'));
- Exclude checks
Variable "_user" is not in valid camel caps format Open
if (!in_array($usr['user_id'], $new_work_recipients) && $usr['user_id'] != $_user['user_id']) {
- Exclude checks
Variable "b_send_mail" is not in valid camel caps format Open
$b_send_mail = api_get_course_setting('email_alert_on_new_doc_dropbox');
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$work->filename = $dropbox_filename;
- Exclude checks
Consider putting global function "format_feedback" in a static class Open
function format_feedback($feedback)
- Exclude checks
Missing parameter name Open
* @param $url url string
- Exclude checks
Consider putting global function "feedback_form" in a static class Open
function feedback_form($url)
- Exclude checks
Consider putting global function "check_if_file_exist" in a static class Open
function check_if_file_exist($id)
- Exclude checks
Variable "columns_array_value" is not in valid camel caps format Open
foreach ($columns_array as $columns_array_key => $columns_array_value) {
- Exclude checks
Variable "or_die" is not in valid camel caps format Open
exit(get_lang('An error has occured. Please contact your system administrator.').' (code '.$or_die.')');
- Exclude checks
Variable "file_id" is not in valid camel caps format Open
function removeMoreIfMailing($file_id)
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = $file['name'];
- Exclude checks
Variable "dropbox_filetmpname" is not in valid camel caps format Open
$dropbox_filetmpname = $file['tmp_name'];
- Exclude checks
Variable "dropbox_filetmpname" is not in valid camel caps format Open
if (!is_uploaded_file($dropbox_filetmpname)) { // check user fraud : no clean error msg.
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_title = $dropbox_filename;
- Exclude checks
Variable "dropbox_overwrite" is not in valid camel caps format Open
if ($dropbox_overwrite && empty($work)) {
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
if ($w->title == $dropbox_filename) {
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = $_user['username']."_".$dropbox_filename."_".uniqid('');
- Exclude checks
Variable "_user" is not in valid camel caps format Open
$_user['lastName'],
- Exclude checks
Variable "uploader_id" is not in valid camel caps format Open
$work->uploader_id = api_get_user_id();
- Exclude checks
Consider putting global function "feedback" in a static class Open
function feedback($array, $url)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Variable "number_users_who_see_file" is not in valid camel caps format Open
return $number_users_who_see_file > 0 || $count > 0;
- Exclude checks
Variable "temp_zip_file" is not in valid camel caps format Open
@unlink($temp_zip_file);
- Exclude checks
Variable "columns_array" is not in valid camel caps format Open
foreach ($columns_array as $columns_array_key => $columns_array_value) {
- Exclude checks
Variable "column_key" is not in valid camel caps format Open
foreach ($column as $column_key => $column_value) {
- Exclude checks
Variable "recipent_temp" is not in valid camel caps format Open
$recipent_temp['email'],
- Exclude checks
Variable "last_upload_date" is not in valid camel caps format Open
$work->last_upload_date = api_get_utc_datetime();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND dest_user_id = $user_id AND file_id = ".$id;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
'c_id' => $course_id,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ON (person.file_id=file.id AND file.c_id = $course_id AND person.c_id = $course_id)
- Exclude checks
Variable "dont_show_columns" is not in valid camel caps format Open
if (!in_array($columns_array_value, $dont_show_columns)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
f.c_id = $course_id
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND file_id = '".$res['id']."'";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND p.file_id = '".$file_id."'";
- Exclude checks
Variable "upload_ok" is not in valid camel caps format Open
if (!$upload_ok) {
- Exclude checks
Variable "dropbox_filename" is not in valid camel caps format Open
$dropbox_filename = $_user['username']."_".$dropbox_filename."_".uniqid('');
- Exclude checks
Variable "new_work_recipients" is not in valid camel caps format Open
$new_work_recipients = [];
- Exclude checks
Variable "dropbox_filetmpname" is not in valid camel caps format Open
$dropbox_filetmpname,
- Exclude checks
Variable "b_send_mail" is not in valid camel caps format Open
if ($b_send_mail && empty($work)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
WHERE c_id = $course_id AND user_id = $user_id AND file_id = ".$id;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "p_header" is not in valid camel caps format Open
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Exclude checks
Consider putting global function "get_mail_id_base" in a static class Open
function get_mail_id_base()
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
foreach ($column as $column_key => $column_value) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
$return .= '<a href="'.$value[$column_value].'">'.$value[$column_value].'</a>';
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
$return .= $value[$column_value];
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
if (!in_array($column_value, $dont_show_columns)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
- Exclude checks
Variable "table_last_access" is not in valid camel caps format Open
$sql = "SELECT access_date FROM $table_last_access
- Exclude checks
Variable "dont_show_columns" is not in valid camel caps format Open
if (!in_array($column_value, $dont_show_columns)) {
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
$return .= '<a href="'.$value[$column_value].'">'.$value[$column_value].'</a>';
- Exclude checks
Consider putting global function "get_total_number_feedback" in a static class Open
function get_total_number_feedback()
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
WHERE c_id = $course_id
- Exclude checks
Consider putting global function "check_number_feedback" in a static class Open
function check_number_feedback($key, $array)
- Exclude checks
Variable "table_last_access" is not in valid camel caps format Open
$table_last_access = Database::get_main_table('track_e_lastaccess');
- Exclude checks
Variable "column_value" is not in valid camel caps format Open
if (in_array($column_value, $make_link)) {
- Exclude checks
Missing parameter name Open
* @param $courseId the course_id
- Exclude checks
Missing parameter name Open
* @param $user_id the id of the user
- Exclude checks
Consider putting global function "get_last_tool_access" in a static class Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = api_get_user_id();
- Exclude checks
Variable "make_link" is not in valid camel caps format Open
if (in_array($column_value, $make_link)) {
- Exclude checks
Missing parameter name Open
* @param $tool string the tool constant
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
access_user_id = ".intval($user_id)." AND
- Exclude checks
Arguments with default values must be at the end of the argument list Open
$viewReceivedCategory,
- Exclude checks
The variable $checked_files is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $entries_table is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $id_field is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_dropbox_category($id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list2 is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_info is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_array is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filetmpname is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipient_id is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipent_temp is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $id_field is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $entries_table is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_params is not named in camelCase. Open
function display_move_form(
$part,
$id,
$target = [],
$extra_params = [],
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_array is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipient_id is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipent_temp is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function feedback_form($url)
{
$return = '<div class="feeback-form">';
$number_users_who_see_file = check_if_file_exist($_GET['id']);
if ($number_users_who_see_file) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user_id is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user_id is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filetype is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upload_ok is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipent_temp is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $to_cat_id is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_array is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_info is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_name is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_title is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_info is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $condition_session is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_group is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_group is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_group is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_overwrite is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upload_ok is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_title is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_overwrite is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_info is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_group is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filetype is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_title is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filesize is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_dropbox_category($id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list2 is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $or_die is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $id_field is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $id_field is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $condition_session is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_info is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filesize is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_group_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filesize is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseAdmin is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $entries_table is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_name is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function getUserOwningThisMailing($mailingPseudoId, $owner = 0, $or_die = '')
{
$course_id = api_get_course_int_id();
$mailingPseudoId = (int) $mailingPseudoId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_work_recipients is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_courseTutor is not named in camelCase. Open
function delete_category($action, $id, $user_id = null)
{
$course_id = api_get_course_int_id();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_message is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_name is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_name is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_group_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $b_send_mail is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $to_cat_id is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_move($id, $target, $part)
{
$_user = api_get_user_info();
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_dropbox_categories($filter = '')
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
$return_array = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_name is not named in camelCase. Open
function display_addcategory_form($category_name = '', $id = 0, $action = '')
{
$course_id = api_get_course_int_id();
$title = get_lang('Add a new folder');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filetmpname is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $b_send_mail is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_user is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $checked_file_ids is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $to_cat_id is not named in camelCase. Open
function handle_multiple_actions()
{
$_user = api_get_user_info();
$is_courseAdmin = api_is_course_admin();
$is_courseTutor = api_is_course_tutor();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_addcategory()
{
$course_id = api_get_course_int_id();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user_id is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user_id is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_person is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filetmpname is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function feedback_form($url)
{
$return = '<div class="feeback-form">';
$number_users_who_see_file = check_if_file_exist($_GET['id']);
if ($number_users_who_see_file) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_user_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $complete_group_list_for_dropbox is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeMoreIfMailing($file_id)
{
$course_id = api_get_course_int_id();
// when deleting a mailing zip-file (posted to mailingPseudoId):
// 1. the detail window is no longer reachable, so
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_overwrite is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filesize is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filename is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_total_number_feedback()
{
$course_id = api_get_course_int_id();
$sql = "SELECT COUNT(feedback_id) AS total, file_id
FROM ".Database::get_course_table(TABLE_DROPBOX_FEEDBACK)."
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_user is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_group is not named in camelCase. Open
function display_add_form($viewReceivedCategory, $viewSentCategory, $view, $id = 0)
{
$course_info = api_get_course_info();
$course = api_get_course_entity();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function removeUnusedFiles()
{
$_course = api_get_course_info();
$course_id = $_course['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recipent_temp is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dropbox_filesize is not named in camelCase. Open
function store_add_dropbox($file = [], $work = null)
{
$_course = api_get_course_info();
$_user = api_get_user_info();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $temp_zip_file is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dont_show_columns is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $temp_zip_file is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $p_header is not named in camelCase. Open
function my_pre_add_callback($p_event, &$p_header)
{
$files = Session::read('dropbox_files_to_download');
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_key is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $make_link is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function check_if_file_exist($id)
{
$id = (int) $id;
$course_id = api_get_course_int_id();
$sql = "SELECT file_id
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $temp_zip_file is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_last_access is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function check_if_file_exist($id)
{
$id = (int) $id;
$course_id = api_get_course_int_id();
$sql = "SELECT file_id
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dont_show_columns is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function user_can_download_file($id, $user_id)
{
$course_id = api_get_course_int_id();
$id = (int) $id;
$user_id = (int) $user_id;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function check_if_file_exist($id)
{
$id = (int) $id;
$course_id = api_get_course_int_id();
$sql = "SELECT file_id
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function check_if_file_exist($id)
{
$id = (int) $id;
$course_id = api_get_course_int_id();
$sql = "SELECT file_id
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $temp_zip_file is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function get_total_number_feedback()
{
$course_id = api_get_course_int_id();
$sql = "SELECT COUNT(feedback_id) AS total, file_id
FROM ".Database::get_course_table(TABLE_DROPBOX_FEEDBACK)."
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function zip_download($fileList)
{
$_course = api_get_course_info();
$course_id = api_get_course_int_id();
$fileList = array_map('intval', $fileList);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_feedback()
{
if (!is_numeric($_GET['id'])) {
return get_lang('Feedback error');
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $columns_array_key is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_last_access is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_users_who_see_file is not named in camelCase. Open
function check_if_file_exist($id)
{
$id = (int) $id;
$course_id = api_get_course_int_id();
$sql = "SELECT file_id
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $p_header is not named in camelCase. Open
function my_pre_add_callback($p_event, &$p_header)
{
$files = Session::read('dropbox_files_to_download');
$p_header['stored_filename'] = $files[$p_header['stored_filename']]['title'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function get_last_tool_access($tool, $courseId = null, $user_id = null)
{
// The default values of the parameters
if (empty($courseId)) {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
function store_feedback()
{
if (!is_numeric($_GET['id'])) {
return get_lang('Feedback error');
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $column_value is not named in camelCase. Open
function generate_html_overview($files, $dont_show_columns = [], $make_link = [])
{
$return = '<!DOCTYPE html'."\n";
$return .= "\t".'PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'."\n";
$return .= "\t".'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}