Missing class import via use statement (line '1312', column '25'). Open
$response = new xajaxResponse();
- 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 get_url_rel_user_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$order_clause = $order_by;
}
- 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 addCourseCategoryListToUrl uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$resultArray[$urlId][$categoryCourseId] = 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 add_sessions_to_urls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$result_array[$urlId][$session_id] = 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 addUserGroupListToUrl uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$resultArray[$urlId][$userGroupId] = 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 searchCourseCategoryAjax uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= '...<br />';
}
- 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 add_users_to_urls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$result_array[$urlId][$user_id] = 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 add_courses_to_urls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$result_array[$urlId][$course_code] = 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 parameter $user_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_array = [];
- 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 $url_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_array = [];
- 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 $order_by is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- 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
public static function relation_url_user_exist($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$sql = "SELECT user_id FROM $table
WHERE access_url_id = ".intval($urlId)." AND user_id = ".intval($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
public static function delete_url_rel_user($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result = true;
if (!empty($user_id) && !empty($urlId)) {
- 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
public static function get_access_url_from_user($user_id)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $course_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_array = [];
- 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 $url_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_array = [];
- 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
public static function add_user_to_url($user_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
if (empty($urlId)) {
$urlId = 1;
- 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_list is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- 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 $course_list is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- 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 $session_list is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- 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 $session_id is not named in camelCase. Open
public static function delete_url_rel_session($session_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "DELETE FROM $table
WHERE
- 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 $url_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_array = [];
- 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 $session_id is not named in camelCase. Open
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- 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 $session_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_array = [];
- 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 "order_clause" is not in valid camel caps format Open
$order_clause = api_sort_by_first_name(
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Method name "UrlManager::set_url_status" is not in camel caps format Open
public static function set_url_status($status, $urlId)
- Exclude checks
Variable "status_db" is not in valid camel caps format Open
$sql = "UPDATE $url_table SET active='".intval($status_db)."'
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
public static function add_courses_to_urls($course_list, $url_list)
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$courseInfo = api_get_course_info($course_code);
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
public static function add_sessions_to_urls($session_list, $url_list)
- Exclude checks
Method name "UrlManager::url_exist" is not in camel caps format Open
public static function url_exist($url)
- Exclude checks
Method name "UrlManager::get_url_data_from_id" is not in camel caps format Open
public static function get_url_data_from_id($urlId)
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Missing parameter name Open
* @param int url id
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$course_code] = 0;
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array = [];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
if (is_array($course_list) && is_array($url_list)) {
- Exclude checks
Method name "UrlManager::get_url_data" is not in camel caps format Open
public static function get_url_data($orderBy = '')
- Exclude checks
Method name "UrlManager::get_url_rel_user_data" is not in camel caps format Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
- Exclude checks
Method name "UrlManager::get_url_rel_usergroup_data" is not in camel caps format Open
public static function get_url_rel_usergroup_data($urlId = 0)
- Exclude checks
Variable "table_url_rel_usergroup" is not in valid camel caps format Open
ON $table_url_rel_usergroup.usergroup_id = u.id
- Exclude checks
Variable "table_url_rel" is not in valid camel caps format Open
$where .= " AND $table_url_rel.access_url_id = ".$urlId;
- Exclude checks
Missing parameter name Open
* @param int url id
- Exclude checks
Method name "UrlManager::relation_url_user_exist" is not in camel caps format Open
public static function relation_url_user_exist($user_id, $urlId)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
foreach ($user_list as $user_id) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$result_array[$urlId][$course_code] = 0;
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$where $order_clause";
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);
- Exclude checks
Variable "table_url_rel_course" is not in valid camel caps format Open
INNER JOIN $table_url_rel_course uc
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
INNER JOIN $table_url_rel_session
- Exclude checks
Variable "table_url_rel_usergroup" is not in valid camel caps format Open
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
- Exclude checks
Variable "table_url_rel_usergroup" is not in valid camel caps format Open
$where = " WHERE $table_url_rel_usergroup.access_url_id = ".$urlId;
- Exclude checks
Variable "table_url_rel_usergroup" is not in valid camel caps format Open
INNER JOIN $table_url_rel_usergroup
- Exclude checks
Variable "status_db" is not in valid camel caps format Open
if (('1' == $status_db || '0' == $status_db) && is_numeric($urlId)) {
- Exclude checks
Method name "UrlManager::url_id_exist" is not in camel caps format Open
public static function url_id_exist($urlId)
- Exclude checks
Variable "table_url_rel_user" is not in valid camel caps format Open
ON $table_url_rel_user.user_id = u.id
- Exclude checks
Variable "table_user_group" is not in valid camel caps format Open
FROM $table_user_group u
- Exclude checks
Method name "UrlManager::relation_url_session_exist" is not in camel caps format Open
public static function relation_url_session_exist($sessionId, $urlId)
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
public static function add_users_to_urls($user_list, $url_list)
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array = [];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
foreach ($course_list as $course_code) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$result_array[$urlId][$course_code] = 1;
- Exclude checks
Variable "order_by" is not in valid camel caps format Open
$order_clause = $order_by;
- Exclude checks
Method name "UrlManager::get_url_rel_session_data" is not in camel caps format Open
public static function get_url_rel_session_data($urlId = 0)
- Exclude checks
Variable "table_url_rel" is not in valid camel caps format Open
ON $table_url_rel.course_category_id = u.id
- Exclude checks
Variable "status_db" is not in valid camel caps format Open
if (('1' == $status_db || '0' == $status_db) && is_numeric($urlId)) {
- Exclude checks
Missing parameter name Open
* @param array of url_ids
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
public static function add_courses_to_urls($course_list, $url_list)
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
if (is_array($course_list) && is_array($url_list)) {
- Exclude checks
Method name "UrlManager::add_sessions_to_urls" is not in camel caps format Open
public static function add_sessions_to_urls($session_list, $url_list)
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = $order_by;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
user_id = ".intval($user_id).",
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$user_id] = 1;
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$user_id] = 0;
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array = [];
- Exclude checks
Variable "order_by" is not in valid camel caps format Open
if (empty($order_by)) {
- Exclude checks
Missing parameter name Open
* @param int user id
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$count = self::relation_url_user_exist($user_id, $urlId);
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$course_code] = 1;
- Exclude checks
Method name "UrlManager::url_count" is not in camel caps format Open
public static function url_count()
- Exclude checks
Missing parameter name Open
* @param array of course ids
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
$where = "WHERE $table_url_rel_session.access_url_id = ".$urlId;
- Exclude checks
Variable "status_db" is not in valid camel caps format Open
$status_db = '1';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function relation_url_user_exist($user_id, $urlId)
- Exclude checks
Missing parameter name Open
* @param array of user_ids
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
foreach ($url_list as $urlId) {
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
foreach ($user_list as $user_id) {
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
return $result_array;
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
return $result_array;
- Exclude checks
Expected 13 spaces after parameter type; 1 found Open
* @param string $order_by
- Exclude checks
Variable "table_url_rel_user" is not in valid camel caps format Open
INNER JOIN $table_url_rel_user
- Exclude checks
Variable "table_url_rel" is not in valid camel caps format Open
$table_url_rel = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE_CATEGORY);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
WHERE access_url_id = ".intval($urlId)." AND user_id = ".intval($user_id)." ";
- Exclude checks
Method name "UrlManager::add_courses_to_urls" is not in camel caps format Open
public static function add_courses_to_urls($course_list, $url_list)
- Exclude checks
Variable "order_by" is not in valid camel caps format Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
- Exclude checks
Method name "UrlManager::get_url_rel_course_data" is not in camel caps format Open
public static function get_url_rel_course_data($urlId = 0)
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
FROM $tbl_course u
- Exclude checks
Variable "url_table" is not in valid camel caps format Open
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Exclude checks
Variable "table_url_rel_course" is not in valid camel caps format Open
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
FROM $tbl_session u
- Exclude checks
Variable "status_db" is not in valid camel caps format Open
$status_db = '0';
- Exclude checks
Method name "UrlManager::relation_url_course_exist" is not in camel caps format Open
public static function relation_url_course_exist($courseId, $urlId)
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
foreach ($url_list as $urlId) {
- Exclude checks
Missing parameter name Open
* @param int access url id
- Exclude checks
Expected 5 spaces after parameter type; 1 found Open
* @param string $status lock || unlock
- Exclude checks
Method name "UrlManager::add_users_to_urls" is not in camel caps format Open
public static function add_users_to_urls($user_list, $url_list)
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
public static function add_users_to_urls($user_list, $url_list)
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
public static function add_sessions_to_urls($session_list, $url_list)
- Exclude checks
Missing parameter name Open
* @param int access url id
- Exclude checks
Variable "table_url_rel_user" is not in valid camel caps format Open
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
ON $table_url_rel_session.session_id = id
- Exclude checks
Variable "table_url_rel" is not in valid camel caps format Open
INNER JOIN $table_url_rel
- Exclude checks
Variable "url_table" is not in valid camel caps format Open
$sql = "UPDATE $url_table SET active='".intval($status_db)."'
- Exclude checks
Variable "table_url_rel_user" is not in valid camel caps format Open
$where = " AND $table_url_rel_user.access_url_id = ".$urlId;
- Exclude checks
Variable "table_user_group" is not in valid camel caps format Open
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
if (is_array($user_list) && is_array($url_list)) {
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
if (is_array($user_list) && is_array($url_list)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$result_array[$urlId][$user_id] = 1;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$result_array[$urlId][$user_id] = 0;
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
foreach ($course_list as $course_code) {
- Exclude checks
Missing parameter name Open
* @param array of url_ids
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
if (is_array($session_list) && is_array($url_list)) {
- Exclude checks
Variable "users_added" is not in valid camel caps format Open
'users_added' => $users_added,
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
public static function update_urls_rel_session($session_list, $urlId)
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
INNER JOIN $table_url u
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
SET session_id = ".$session_id.", access_url_id = ".$urlId;
- Exclude checks
Variable "users_added" is not in valid camel caps format Open
$users_added = [];
- Exclude checks
Variable "existing_session" is not in valid camel caps format Open
if (!empty($existing_session) && !empty($urlId)) {
- Exclude checks
Method name "UrlManager::get_access_url_from_user" is not in camel caps format Open
public static function get_access_url_from_user($user_id)
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
INNER JOIN $table_url u
- Exclude checks
Missing parameter name Open
* @param int user id
- Exclude checks
Variable "user_id_to_add" is not in valid camel caps format Open
$result = self::add_user_to_url($user_id_to_add, $urlId);
- Exclude checks
Variable "user_id_to_delete" is not in valid camel caps format Open
$users_deleted[] = $user_id_to_delete;
- Exclude checks
Variable "users_added" is not in valid camel caps format Open
if (empty($users_added) && empty($users_deleted)) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
public static function update_urls_rel_course($course_list, $urlId)
- Exclude checks
Variable "existing_courses" is not in valid camel caps format Open
$existing_courses[] = $row['c_id'];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
foreach ($course_list as $courseId) {
- Exclude checks
Method name "UrlManager::update_urls_rel_usergroup" is not in camel caps format Open
public static function update_urls_rel_usergroup($userGroupList, $urlId)
- Exclude checks
Variable "existing_session" is not in valid camel caps format Open
if (!in_array($existing_session, $session_list)) {
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
if (!in_array($existing_session, $session_list)) {
- Exclude checks
Method name "UrlManager::get_access_url_from_course" is not in camel caps format Open
public static function get_access_url_from_course($courseId)
- Exclude checks
Method name "UrlManager::get_access_url_from_session" is not in camel caps format Open
public static function get_access_url_from_session($sessionId)
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
foreach ($url_list as $urlId) {
- Exclude checks
Method name "UrlManager::add_course_to_url" is not in camel caps format Open
public static function add_course_to_url($courseId, $urlId = 1)
- Exclude checks
Missing parameter name Open
* @param int url id
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$count = self::relation_url_session_exist($session_id, $urlId);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$result_array[$urlId][$session_id] = 1;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
if (empty($count) && !empty($session_id)) {
- Exclude checks
Missing parameter name Open
* @param int user id
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
public static function update_urls_rel_user($user_list, $urlId)
- Exclude checks
Variable "existing_sessions" is not in valid camel caps format Open
$existing_sessions = [];
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
foreach ($user_list as $user_id_to_add) {
- Exclude checks
Variable "existing_users" is not in valid camel caps format Open
if (!in_array($user_id_to_add, $existing_users)) {
- Exclude checks
Variable "users_added" is not in valid camel caps format Open
$users_added[] = $user_id_to_add;
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
INNER JOIN $table_url u
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
foreach ($session_list as $session_id) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
VALUES ('".intval($user_id)."', '".intval($urlId)."') ";
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function delete_url_rel_user($user_id, $urlId)
- Exclude checks
Method name "UrlManager::delete_url_rel_course" is not in camel caps format Open
public static function delete_url_rel_course($courseId, $urlId)
- Exclude checks
Method name "UrlManager::update_urls_rel_user" is not in camel caps format Open
public static function update_urls_rel_user($user_list, $urlId)
- Exclude checks
Variable "user_id_to_add" is not in valid camel caps format Open
$users_added[] = $user_id_to_add;
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
if (!in_array($user_id_to_delete, $user_list)) {
- Exclude checks
Variable "users_deleted" is not in valid camel caps format Open
if (empty($users_added) && empty($users_deleted)) {
- Exclude checks
Variable "existing_sessions" is not in valid camel caps format Open
$existing_sessions[] = $row['session_id'];
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
foreach ($session_list as $session) {
- Exclude checks
Variable "existing_session" is not in valid camel caps format Open
foreach ($existing_sessions as $existing_session) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
WHERE user_id = ".intval($user_id);
- Exclude checks
Variable "table_url_rel_session" is not in valid camel caps format Open
FROM $table_url_rel_session url_rel_session
- Exclude checks
Missing parameter name Open
* @param int URL ID
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
session_id = ".intval($session_id).",
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$session_id] = 0;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = (int) $session_id;
- Exclude checks
Method name "UrlManager::delete_url_rel_user" is not in camel caps format Open
public static function delete_url_rel_user($user_id, $urlId)
- Exclude checks
Variable "existing_courses" is not in valid camel caps format Open
$existing_courses = [];
- Exclude checks
Method name "UrlManager::get_url_id" is not in camel caps format Open
public static function get_url_id($url)
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
if (is_array($session_list) && is_array($url_list)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = (int) $session_id;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
session_id = ".intval($session_id)." AND
- Exclude checks
Variable "existing_users" is not in valid camel caps format Open
$existing_users = [];
- Exclude checks
Variable "user_id_to_add" is not in valid camel caps format Open
foreach ($user_list as $user_id_to_add) {
- Exclude checks
Variable "users_deleted" is not in valid camel caps format Open
'users_deleted' => $users_deleted,
- Exclude checks
Variable "existing_sessions" is not in valid camel caps format Open
if (!in_array($session, $existing_sessions)) {
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
$url_list = Database::store_result($result);
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
$result_array[$urlId][$session_id] = 1;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
public static function add_session_to_url($session_id, $urlId = 1)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (!empty($user_id) && !empty($urlId)) {
- Exclude checks
Method name "UrlManager::update_urls_rel_course" is not in camel caps format Open
public static function update_urls_rel_course($course_list, $urlId)
- Exclude checks
Variable "existing_session" is not in valid camel caps format Open
$existing_session,
- Exclude checks
Missing function doc comment Open
public static function getCountAccessUrlFromCourse($courseId)
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
INNER JOIN $table_url u
- Exclude checks
Expected 12 spaces after parameter type; 1 found Open
* @param int $session_id Session ID
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
public static function delete_url_rel_session($session_id, $urlId)
- Exclude checks
Variable "existing_sessions" is not in valid camel caps format Open
foreach ($existing_sessions as $existing_session) {
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
foreach ($session_list as $session_id) {
- Exclude checks
Method name "UrlManager::add_session_to_url" is not in camel caps format Open
public static function add_session_to_url($session_id, $urlId = 1)
- Exclude checks
Method name "UrlManager::delete_url_rel_session" is not in camel caps format Open
public static function delete_url_rel_session($session_id, $urlId)
- Exclude checks
Variable "existing_users" is not in valid camel caps format Open
foreach ($existing_users as $user_id_to_delete) {
- Exclude checks
Variable "user_id_to_delete" is not in valid camel caps format Open
foreach ($existing_users as $user_id_to_delete) {
- Exclude checks
Method name "UrlManager::update_urls_rel_session" is not in camel caps format Open
public static function update_urls_rel_session($session_list, $urlId)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function get_access_url_from_user($user_id)
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$result_array[$urlId][$session_id] = 0;
- Exclude checks
Variable "result_array" is not in valid camel caps format Open
return $result_array;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function add_user_to_url($user_id, $urlId = 1)
- Exclude checks
Variable "user_id_to_delete" is not in valid camel caps format Open
if (!in_array($user_id_to_delete, $user_list)) {
- Exclude checks
Variable "user_id_to_delete" is not in valid camel caps format Open
$result = self::delete_url_rel_user($user_id_to_delete, $urlId);
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
if (!in_array($courseId, $course_list)) {
- Exclude checks
Missing parameter name Open
* @param $sessionId
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Exclude checks
Method name "UrlManager::add_user_to_url" is not in camel caps format Open
public static function add_user_to_url($user_id, $urlId = 1)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
user_id = ".intval($user_id)." AND
- Exclude checks
Method name "UrlManager::delete_url_rel_usergroup" is not in camel caps format Open
public static function delete_url_rel_usergroup($userGroupId, $urlId)
- Exclude checks
Variable "user_id_to_add" is not in valid camel caps format Open
if (!in_array($user_id_to_add, $existing_users)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$count = self::relation_url_user_exist($user_id, $urlId);
- Exclude checks
Variable "users_deleted" is not in valid camel caps format Open
$users_deleted = [];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$count = self::relation_url_session_exist($session_id, $urlId);
- Exclude checks
Variable "users_deleted" is not in valid camel caps format Open
$users_deleted[] = $user_id_to_delete;
- Exclude checks
Variable "existing_users" is not in valid camel caps format Open
$existing_users[] = $row['user_id'];
- Exclude checks
Variable "table_url" is not in valid camel caps format Open
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Exclude checks
Variable "existing_courses" is not in valid camel caps format Open
foreach ($existing_courses as $courseId) {
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
return $url_list;
- Exclude checks
The variable $order_by is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_clause is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_course is not named in camelCase. Open
public static function get_url_rel_course_data($urlId = 0)
{
$where = '';
$urlId = (int) $urlId;
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel is not named in camelCase. Open
public static function getUrlRelCourseCategory($urlId = 0)
{
$table_url_rel = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE_CATEGORY);
$table = Database::get_main_table(TABLE_MAIN_CATEGORY);
$where = ' WHERE 1=1 ';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_clause is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_clause is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $url_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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_id is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $result_array is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $table_url_rel_usergroup is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel is not named in camelCase. Open
public static function getUrlRelCourseCategory($urlId = 0)
{
$table_url_rel = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE_CATEGORY);
$table = Database::get_main_table(TABLE_MAIN_CATEGORY);
$where = ' WHERE 1=1 ';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $url_table is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $table_url_rel_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_course is not named in camelCase. Open
public static function get_url_rel_course_data($urlId = 0)
{
$where = '';
$urlId = (int) $urlId;
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_user_group is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $result_array is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $table_url_rel_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_course is not named in camelCase. Open
public static function get_url_rel_course_data($urlId = 0)
{
$where = '';
$urlId = (int) $urlId;
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_usergroup is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $url_table is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_session is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $status_db is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $status_db is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $url_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $status_db is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_usergroup is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel is not named in camelCase. Open
public static function getUrlRelCourseCategory($urlId = 0)
{
$table_url_rel = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE_CATEGORY);
$table = Database::get_main_table(TABLE_MAIN_CATEGORY);
$where = ' WHERE 1=1 ';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $status_db is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function relation_url_user_exist($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$sql = "SELECT user_id FROM $table
WHERE access_url_id = ".intval($urlId)." AND user_id = ".intval($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 $tbl_course is not named in camelCase. Open
public static function get_url_rel_course_data($urlId = 0)
{
$where = '';
$urlId = (int) $urlId;
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_user_group is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel is not named in camelCase. Open
public static function getUrlRelCourseCategory($urlId = 0)
{
$table_url_rel = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE_CATEGORY);
$table = Database::get_main_table(TABLE_MAIN_CATEGORY);
$where = ' WHERE 1=1 ';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $status_db is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_usergroup is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_by is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_user is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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_id is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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_id is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $result_array is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_code is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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 $url_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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 $existing_users is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_add is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $url_list is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $result_array is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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 $result_array is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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
public static function delete_url_rel_session($session_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "DELETE FROM $table
WHERE
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_users is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_courses is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_session is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function get_access_url_from_user($user_id)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $url_list is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $url_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_id_to_add is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_user($user_id)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $table_url is not named in camelCase. Open
public static function getCountAccessUrlFromCourse($courseId)
{
$courseId = (int) $courseId;
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $result_array is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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 $result_array is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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 $url_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_users is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_session is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_delete is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_session is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_code is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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 $result_array is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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_list is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_sessions is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_user($user_id)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $result_array is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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 $users_added is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_delete is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_sessions is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_course($courseId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$courseId = (int) $courseId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_delete is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_session is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function delete_url_rel_user($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result = true;
if (!empty($user_id) && !empty($urlId)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_users is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_added is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_deleted is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function get_access_url_from_course($courseId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$courseId = (int) $courseId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url_rel_session is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_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 $result_array is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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_id is not named in camelCase. Open
public static function add_user_to_url($user_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
if (empty($urlId)) {
$urlId = 1;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_courses is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_url is not named in camelCase. Open
public static function getCountAccessUrlFromCourse($courseId)
{
$courseId = (int) $courseId;
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $result_array is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_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
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_add is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_delete is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $url_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_id is not named in camelCase. Open
public static function add_user_to_url($user_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
if (empty($urlId)) {
$urlId = 1;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_code is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_list is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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 $result_array is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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_id is not named in camelCase. Open
public static function delete_url_rel_user($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result = true;
if (!empty($user_id) && !empty($urlId)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_added is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_courses is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_sessions is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_sessions is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $existing_session is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_to_add is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_deleted is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_added is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_deleted is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_deleted is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_list is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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_code is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_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
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_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_list is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method get_url_data_from_id is not named in camelCase. Open
public static function get_url_data_from_id($urlId)
{
$urlId = (int) $urlId;
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT id, url, description, active
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_rel_session_data is not named in camelCase. Open
public static function get_url_rel_session_data($urlId = 0)
{
$urlId = (int) $urlId;
$where = '';
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method relation_url_session_exist is not named in camelCase. Open
public static function relation_url_session_exist($sessionId, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sessionId = (int) $sessionId;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_rel_usergroup_data is not named in camelCase. Open
public static function get_url_rel_usergroup_data($urlId = 0)
{
$where = '';
$table_url_rel_usergroup = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$table_user_group = Database::get_main_table(TABLE_USERGROUP);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method url_exist is not named in camelCase. Open
public static function url_exist($url)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT id FROM $table
WHERE url = '".Database::escape_string($url)."' ";
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_rel_user_data is not named in camelCase. Open
public static function get_url_rel_user_data($urlId = 0, $order_by = null)
{
$urlId = (int) $urlId;
$where = ' WHERE u.active <> '.USER_SOFT_DELETED.' ';
$table_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method relation_url_user_exist is not named in camelCase. Open
public static function relation_url_user_exist($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$sql = "SELECT user_id FROM $table
WHERE access_url_id = ".intval($urlId)." AND user_id = ".intval($user_id)." ";
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_url_status is not named in camelCase. Open
public static function set_url_status($status, $urlId)
{
$url_table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
if ('lock' == $status) {
$status_db = '0';
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_data is not named in camelCase. Open
public static function get_url_data($orderBy = '')
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$orderBy = empty($orderBy) ? ' id ' : Database::escape_string($orderBy);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_rel_course_data is not named in camelCase. Open
public static function get_url_rel_course_data($urlId = 0)
{
$where = '';
$urlId = (int) $urlId;
$table_url_rel_course = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method url_count is not named in camelCase. Open
public static function url_count()
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT count(id) as count_result FROM $table";
$res = Database::query($sql);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method url_id_exist is not named in camelCase. Open
public static function url_id_exist($urlId)
{
$urlId = (int) $urlId;
if (empty($urlId)) {
return false;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method relation_url_course_exist is not named in camelCase. Open
public static function relation_url_course_exist($courseId, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
WHERE
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_session_to_url is not named in camelCase. Open
public static function add_session_to_url($session_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$session_id = (int) $session_id;
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method delete_url_rel_user is not named in camelCase. Open
public static function delete_url_rel_user($user_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result = true;
if (!empty($user_id) && !empty($urlId)) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method delete_url_rel_course is not named in camelCase. Open
public static function delete_url_rel_course($courseId, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "DELETE FROM $table
WHERE c_id = '".intval($courseId)."' AND access_url_id=".intval($urlId)." ";
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_access_url_from_user is not named in camelCase. Open
public static function get_access_url_from_user($user_id)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_id
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_access_url_from_session is not named in camelCase. Open
public static function get_access_url_from_session($sessionId)
{
$table_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT url, access_url_id
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_url_id is not named in camelCase. Open
public static function get_url_id($url)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$sql = "SELECT id FROM $table
WHERE url = '".Database::escape_string($url)."'";
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method delete_url_rel_usergroup is not named in camelCase. Open
public static function delete_url_rel_usergroup($userGroupId, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$sql = "DELETE FROM $table
WHERE usergroup_id = '".intval($userGroupId)."' AND
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method delete_url_rel_session is not named in camelCase. Open
public static function delete_url_rel_session($session_id, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "DELETE FROM $table
WHERE
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_sessions_to_urls is not named in camelCase. Open
public static function add_sessions_to_urls($session_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$result_array = [];
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_urls_rel_user is not named in camelCase. Open
public static function update_urls_rel_user($user_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$urlId = (int) $urlId;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_course_to_url is not named in camelCase. Open
public static function add_course_to_url($courseId, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
if (empty($urlId)) {
$urlId = 1;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_urls_rel_course is not named in camelCase. Open
public static function update_urls_rel_course($course_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$sql = "SELECT c_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_urls_rel_usergroup is not named in camelCase. Open
public static function update_urls_rel_usergroup($userGroupList, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USERGROUP);
$sql = "SELECT usergroup_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_access_url_from_course is not named in camelCase. Open
public static function get_access_url_from_course($courseId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$table_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
$courseId = (int) $courseId;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_users_to_urls is not named in camelCase. Open
public static function add_users_to_urls($user_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
$result_array = [];
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_courses_to_urls is not named in camelCase. Open
public static function add_courses_to_urls($course_list, $url_list)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
$result_array = [];
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_user_to_url is not named in camelCase. Open
public static function add_user_to_url($user_id, $urlId = 1)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
if (empty($urlId)) {
$urlId = 1;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_urls_rel_session is not named in camelCase. Open
public static function update_urls_rel_session($session_list, $urlId)
{
$table = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$sql = "SELECT session_id FROM $table
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}