get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
notify_new_event accesses the super-global variable $GLOBALS. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_xoops_search_result accesses the super-global variable $GLOBALS. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_date_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_xoops_search_result accesses the super-global variable $_GET. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_xoops_search_result accesses the super-global variable $GLOBALS. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
notify_new_event accesses the super-global variable $GLOBALS. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_new_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_new_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_date_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_new_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $_GET. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
assign_event_list accesses the super-global variable $GLOBALS. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_date_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_blockarray_coming_event accesses the super-global variable $GLOBALS. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
get_plugins accesses the super-global variable $GLOBALS. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
File APCal_xoops.php
has 883 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
Method assign_event_list
has 246 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
Function assign_event_list
has a Cognitive Complexity of 62 (exceeds 5 allowed). Consider refactoring. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function get_blockarray_coming_event
has a Cognitive Complexity of 59 (exceeds 5 allowed). Consider refactoring. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function get_xoops_search_result
has a Cognitive Complexity of 36 (exceeds 5 allowed). Consider refactoring. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function get_minical_ex
has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method get_blockarray_coming_event
has 118 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
Function get_blockarray_date_event
has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method get_minical_ex
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
The class APCal_xoops has an overall complexity of 146 which is very high. The configured complexity threshold is 50. Open
class APCal_xoops extends APCal
{
/**
* @param $data
* @return mixed
- Exclude checks
Method get_blockarray_date_event
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
Method get_xoops_search_result
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
Method get_blockarray_new_event
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
Function get_blockarray_new_event
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method get_formtextdateselect
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
Function notify_new_event
has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method notify_new_event
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
Function get_plugins
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function import_ics_via_fopen
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method import_ics_via_fopen
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
Function get_submitter_info
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function get_submitter_info($uid)
{
if ($uid <= 0) {
return _GUESTS;
}
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method get_xoops_search_result
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
Function get_formtextdateselect
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
The class APCal_xoops has 1235 lines of code. Current threshold is 1000. Avoid really long classes. Open
class APCal_xoops extends APCal
{
/**
* @param $data
* @return mixed
- Exclude checks
The method assign_event_list() has 294 lines of code. Current threshold is set to 100. Avoid really long methods. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Exclude checks
The method get_blockarray_date_event() has 104 lines of code. Current threshold is set to 100. Avoid really long methods. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�WHERE��δ�֤˴ؤ���������
- Exclude checks
The method assign_event_list() has an NPath complexity of 302389200. The configured NPath complexity threshold is 200. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method get_xoops_search_result() has an NPath complexity of 3504. The configured NPath complexity threshold is 200. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method get_blockarray_coming_event() has an NPath complexity of 14706. The configured NPath complexity threshold is 200. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method get_blockarray_coming_event() has 153 lines of code. Current threshold is set to 100. Avoid really long methods. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Exclude checks
The method get_minical_ex() has an NPath complexity of 408. The configured NPath complexity threshold is 200. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method get_minical_ex() has 137 lines of code. Current threshold is set to 100. Avoid really long methods. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Exclude checks
The method get_xoops_search_result() has a Cyclomatic Complexity of 18. The configured cyclomatic complexity threshold is 10. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method assign_event_list() has a Cyclomatic Complexity of 40. The configured cyclomatic complexity threshold is 10. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method get_blockarray_coming_event() has a Cyclomatic Complexity of 23. The configured cyclomatic complexity threshold is 10. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method get_minical_ex() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
Missing class import via use statement (line '176', column '27'). Open
$poster = new XoopsUser($uid);
- 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_blockarray_coming_event has a boolean flag argument $for_coming, which is a certain sign of a Single Responsibility Principle violation. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
- Read upRead up
- Exclude checks
BooleanArgumentFlag
Since: 1.4.0
A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.
Example
class Foo {
public function bar($flag = true) {
}
}
Source https://phpmd.org/rules/cleancode.html#booleanargumentflag
The method import_ics_via_fopen has a boolean flag argument $force_http, which is a certain sign of a Single Responsibility Principle violation. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
- Read upRead up
- Exclude checks
BooleanArgumentFlag
Since: 1.4.0
A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.
Example
class Foo {
public function bar($flag = true) {
}
}
Source https://phpmd.org/rules/cleancode.html#booleanargumentflag
Missing class import via use statement (line '837', column '29'). Open
$nav = new XoopsPageNav($num_rows, $num, $pos, 'pos', "smode=List&cid=$this->now_cid&num=$num&order=$order&op=$op&caldate=$this->caldate");
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '1038', column '27'). Open
$snoopy = new Snoopy;
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Remove error control operator '@' on line 1063. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Avoid using static access to class 'MyTextSanitizer' in method 'textarea_sanitizer_for_export_ics'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class 'MyTextSanitizer' in method 'text_sanitizer_for_edit'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method get_xoops_search_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_str = $this->get_long_ymdn($event->end + $tzoffset);
}
- 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 get_blockarray_date_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$dot = 'dot_interimday.gif';
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_hi($end_for_time);
}
- 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 notify_new_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$user_list = array($event->uid);
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_hi($end_for_time);
}
- 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 get_xoops_search_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$whr_text = '1';
}
- 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 get_xoops_search_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$whr_uid = '1';
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start_desc = $this->get_middle_hi($start_for_time);
}
- 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 get_xoops_search_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start_str = $this->get_long_ymdn($event->start + $tzoffset);
}
- 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 get_blockarray_date_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// ����٥�Ȥ����å�
$block['events'][] = array(
'summary' => $this->text_sanitizer_for_show($event->summary),
'location' => $this->text_sanitizer_for_show($event->location),
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_md($end_for_date);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid using static access to class 'MyTextSanitizer' in method 'textarea_sanitizer_for_show'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method get_blockarray_date_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start_desc = $this->get_middle_hi($start);
}
- 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 get_submitter_info uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$name = trim($poster->name());
if ($name === '') {
$name = $poster->uname();
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid using static access to class 'MyTextSanitizer' in method 'textarea_sanitizer_for_edit'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method get_blockarray_date_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_md($end);
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// ������������ϡ�allday�ˤ�äƾ��ʬ��
$whr_term = "(allday AND end>'$now') || ( ! allday AND ( start >= '$now' OR end>'" . ($now - $tzoffset) . "'))";
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$can_time_disp = $for_coming;
$start_for_time = $event->start + $tzoffset;
$start_for_date = $event->start + $tzoffset - $this->day_start;
$end_for_time = $event->end + $tzoffset;
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// far event (>1day)
$distance = 3;
$dot = 'dot_future.gif';
$start_desc = $this->get_middle_md($start_for_date);
- 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 get_blockarray_new_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_str = $this->get_long_ymdn($event->end + $tzoffset);
}
- 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 get_blockarray_date_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_hi($end);
}
- 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 get_blockarray_new_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start_str = $this->get_long_ymdn($event->start + $tzoffset);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid using static access to class 'MyTextSanitizer' in method 'text_sanitizer_for_show'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class 'MyTextSanitizer' in method 'get_xoops_search_result'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start_desc = $this->get_middle_md($start_for_date);
}
- 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 get_blockarray_coming_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end_desc = $this->get_middle_md($end_for_date);
$distance = 2;
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$date_options .= "\t\t\t<option value='$d'>{$this->date_short_names[$d]}</option>\n";
}
- 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 get_minical_ex uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Weekday
$bgcolor = $this->weekday_bgcolor;
$color = $this->weekday_color;
}
- 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 get_formtextdateselect uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
else {
$js_cal_week_start = 'false';
} // Sunday
- 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 get_formtextdateselect uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return "
<input type='text' name='$name' id='$name' size='12' maxlength='12' value='$ymd' />
<img src='$this->images_url/button_date_selecting.gif' id='trigger_{$name}' style='cursor: pointer; vertical-align:bottom;' title='Date selector' />
<span id='display_{$name}'>$long_ymdn</span>
- 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 notify_new_event uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$user_list = array();
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$year_options .= "\t\t\t<option value='$y'>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n";
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid using static access to class 'XoopsDatabaseFactory' in method 'get_minical_ex'. Open
$db = XoopsDatabaseFactory::getDatabaseConnection();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$order = 'start';
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$start = $event->start + $tzoffset;
$start_date_desc = $this->get_long_ymdn($start);
$start_time_desc = $this->get_middle_hi($start);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid using static access to class 'MyTextSanitizer' in method 'get_plugins'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class 'MyTextSanitizer' in method 'get_minical_ex'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
The method assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$month_options .= "\t\t\t<option value='$m'>{$this->month_short_names[$m]}</option>\n";
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$end = $event->end + $tzoffset;
$end_date_desc = $this->get_long_ymdn($end);
$end_time_desc = $this->get_middle_hi($end);
}
- 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 import_ics_via_fopen uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return $ret;
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$nav_num_info = ($pos + 1) . '-' . ($pos + $num) . '/' . $num_rows;
}
- 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 get_minical_ex uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Weekday
$bgcolor = $this->weekday_bgcolor;
$color = $this->weekday_color;
}
- 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 assign_event_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$op_options .= "\t\t\t<option value='$op_id'>$op_title</option>\n";
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused local variables such as '$tmpname'. Open
list($records, $calname, $tmpname) = explode(':', $ret, 3);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$db'. Open
$db = XoopsDatabaseFactory::getDatabaseConnection();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$just1gif'. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$myts'. Open
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$xoopsDB'. Open
global $xoopsDB, $xoopsUser;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
TODO found Open
if ($event->start < $now) { // TODO zer0fill $now + $tzoffset ���?��?
- Exclude checks
Identical blocks of code found in 2 locations. Consider refactoring. Open
if (isset($this->holidays[$link])) {
// Holiday
$bgcolor = $this->holiday_bgcolor;
$color = $this->holiday_color;
} elseif ($wday % 7 == 0) {
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 108.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
if ($event->gmlat > 0 || $event->gmlong > 0) {
$this->gmPoints[] = array(
'summary' => $event->summary,
'gmlat' => $event->gmlat,
'gmlong' => $event->gmlong,
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 92.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Each class must be in a namespace of at least one level (a top-level vendor name) Open
class APCal_xoops extends APCal
- Exclude checks
The parameter $long_ymdn is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- 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 $event_id is not named in camelCase. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- 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
Avoid variables with short names like $rs. Configured minimum length is 3. Open
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The parameter $get_target is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- 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 $get_target is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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
Avoid variables with short names like $rs. Configured minimum length is 3. Open
$rs = $GLOBALS['xoopsDB']->query($sql);
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The parameter $get_target is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- 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 $for_coming is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- 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
Avoid variables with short names like $op. Configured minimum length is 3. Open
$op = empty($_GET['op']) ? '' : preg_replace('/[^a-zA-Z0-9_-]/', '', $_GET['op']);
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The class APCal_xoops is not named in CamelCase. Open
class APCal_xoops extends APCal
{
/**
* @param $data
* @return mixed
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
Avoid variables with short names like $ex. Configured minimum length is 3. Open
$ex = empty($plugin_returns[$date]) ? array() : array_slice($plugin_returns[$date], 0, $gifaday);
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The parameter $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- 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
Avoid variables with short names like $fp. Configured minimum length is 3. Open
$fp = fopen($ics_cache_file, 'w');
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The parameter $force_http is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- 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_uri is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- 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
Avoid variables with short names like $db. Configured minimum length is 3. Open
$db = XoopsDatabaseFactory::getDatabaseConnection();
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Method name "APCal_xoops::get_formtextdateselect" is not in camel caps format Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
- Exclude checks
Method name "APCal_xoops::text_sanitizer_for_edit" is not in camel caps format Open
public function text_sanitizer_for_edit($data)
- Exclude checks
Method name "APCal_xoops::get_submitter_info" is not in camel caps format Open
public function get_submitter_info($uid)
- Exclude checks
Method name "APCal_xoops::textarea_sanitizer_for_sql" is not in camel caps format Open
public function textarea_sanitizer_for_sql($data)
- Exclude checks
Method name "APCal_xoops::get_xoops_search_result" is not in camel caps format Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
- Exclude checks
Method name "APCal_xoops::notify_new_event" is not in camel caps format Open
public function notify_new_event($event_id)
- Exclude checks
Method name "APCal_xoops::textarea_sanitizer_for_edit" is not in camel caps format Open
public function textarea_sanitizer_for_edit($data)
- Exclude checks
Method name "APCal_xoops::get_blockarray_date_event" is not in camel caps format Open
public function get_blockarray_date_event($get_target = '')
- Exclude checks
Method name "APCal_xoops::textarea_sanitizer_for_show" is not in camel caps format Open
public function textarea_sanitizer_for_show($data)
- Exclude checks
Method name "APCal_xoops::get_blockarray_coming_event" is not in camel caps format Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
- Exclude checks
Method name "APCal_xoops::textarea_sanitizer_for_export_ics" is not in camel caps format Open
public function textarea_sanitizer_for_export_ics($data)
- Exclude checks
Method name "APCal_xoops::text_sanitizer_for_show" is not in camel caps format Open
public function text_sanitizer_for_show($data)
- Exclude checks
Method name "APCal_xoops::get_blockarray_new_event" is not in camel caps format Open
public function get_blockarray_new_event($get_target = '', $num = 5)
- Exclude checks
Method name "APCal_xoops::get_minical_ex" is not in camel caps format Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
- Exclude checks
Method name "APCal_xoops::assign_event_list" is not in camel caps format Open
public function assign_event_list(&$tpl, $get_target = '')
- Exclude checks
Method name "APCal_xoops::import_ics_via_fopen" is not in camel caps format Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
- Exclude checks
Method name "APCal_xoops::get_plugins" is not in camel caps format Open
public function get_plugins($type)
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$ymdo_selects = sprintf(_APCAL_FMT_YMDO, "<select name='apcal_year'>$year_options</select>", "<select name='apcal_month'>$month_options</select>",
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
"<select name='apcal_date'>$date_options</select>", "<select name='op'>$op_options</select>");
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$ymdo_selects = sprintf(_APCAL_FMT_YMDO, "<select name='apcal_year'>$year_options</select>", "<select name='apcal_month'>$month_options</select>",
- Exclude checks
Line exceeds 120 characters; contains 162 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT COUNT(*) FROM $this->table WHERE admission>0 AND ($whr_term) AND ($whr_categories) AND ($whr_class)");
- Exclude checks
Line exceeds 120 characters; contains 326 characters Open
$sql = "SELECT id,uid,summary,UNIX_TIMESTAMP(dtstamp) AS udtstamp, start, end, allday, start_date, end_date, extkey0, $select4con FROM $this->table WHERE admission>0 AND (rrule_pid=0 OR rrule_pid=id) AND ($whr_categories) AND ($whr_class) AND ($whr_text) AND ($whr_uid) ORDER BY dtstamp DESC LIMIT $offset,$limit";
- Exclude checks
Line exceeds 120 characters; contains 200 characters Open
$whr_term = "(allday AND start<='$this->unixtime' AND end>'$this->unixtime') || ( ! allday AND start<'$bottomtime_of_day' AND (start='$toptime_of_day' OR end>'$toptime_of_day'))";
- Exclude checks
Line exceeds 120 characters; contains 319 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT start,end,summary,id,uid,allday,location,contact,description,(start>='$toptime_of_day') AS is_start_date,(end<='$bottomtime_of_day') AS is_end_date FROM $this->table WHERE admission>0 AND ($whr_term) AND ($whr_categories) AND ($whr_class) ORDER BY start,end");
- Exclude checks
Line exceeds 120 characters; contains 179 characters Open
$pic = $GLOBALS['xoopsDB']->fetchObject($GLOBALS['xoopsDB']->query("SELECT picture FROM {$this->pic_table} WHERE event_id={$event->id} AND main_pic=1 LIMIT 0,1"));
- Exclude checks
Line exceeds 120 characters; contains 250 characters Open
// $yrs = $xoopsDB->query("SELECT start,end,summary,id,uid,allday,location,contact,description,mainCategory FROM $this->table WHERE admission>0 AND ($whr_term) AND ($whr_categories) AND ($whr_class) ORDER BY start LIMIT $num");
- Exclude checks
Line exceeds 120 characters; contains 164 characters Open
// $yrs = $xoopsDB->query("SELECT COUNT(*) FROM $this->table WHERE admission>0 AND ($whr_term) AND ($whr_categories) AND ($whr_class)");
- Exclude checks
Line exceeds 120 characters; contains 140 characters Open
// �ֺ����ͽ��פΤߡ�����оݤ����ն����ǤϤʤ��������� (thx Chado)
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
$whr_term = "(allday AND end>'$now') || ( ! allday AND ( start >= '$now' OR end>'" . ($now - $tzoffset) . "'))";
- Exclude checks
Line exceeds 120 characters; contains 156 characters Open
<img src='$this->images_url/button_date_selecting.gif' id='trigger_{$name}' style='cursor: pointer; vertical-align:bottom;' title='Date selector' />
- Exclude checks
Line exceeds 120 characters; contains 144 characters Open
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
- Exclude checks
Line exceeds 120 characters; contains 255 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT start,end,summary,id,uid,allday,location,contact,description,mainCategory,extkey0 FROM $this->table WHERE admission>0 AND ($whr_term) AND ($whr_categories) AND ($whr_class) ORDER BY start LIMIT $num");
- Exclude checks
Line exceeds 120 characters; contains 154 characters Open
'print_link' => "$this->base_url/print.php?cid=$this->now_cid&smode=List&num=$num&pos=$pos&order="
- Exclude checks
Line exceeds 120 characters; contains 185 characters Open
$picture = $pic && $this->showPicList ? "<img src='" . XOOPS_UPLOAD_URL . "/apcal/{$pic->picture}' alt='{$summary}' height='50' style='vertical-align: middle;' />" : '';
- Exclude checks
Line exceeds 120 characters; contains 281 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT id,uid,summary,UNIX_TIMESTAMP(dtstamp) AS udtstamp , start, end, allday, start_date, end_date FROM $this->table WHERE admission>0 AND ($whr_categories) AND ($whr_class) AND (rrule_pid=0 OR rrule_pid=id) ORDER BY dtstamp DESC");
- Exclude checks
Line exceeds 120 characters; contains 146 characters Open
$whr_term = "(allday AND start<='$this->unixtime') || ( ! allday AND start<='" . ($toptime_of_day + 86400 - $tzoffset) . "')";
- Exclude checks
Line exceeds 120 characters; contains 156 characters Open
&& !empty($this->categories[$this->now_cid]) ? $this->textarea_sanitizer_for_show($this->categories[$this->now_cid]->cat_desc) : '';
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
$year_options .= "\t\t\t<option value='$y'>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n";
- Exclude checks
Line exceeds 120 characters; contains 183 characters Open
$pic = $GLOBALS['xoopsDB']->fetchObject($GLOBALS['xoopsDB']->query("SELECT picture FROM {$this->pic_table} WHERE event_id={$event->id} AND main_pic=1 LIMIT 0,1"));
- Exclude checks
Line exceeds 120 characters; contains 171 characters Open
$cat = $GLOBALS['xoopsDB']->fetchObject($GLOBALS['xoopsDB']->query("SELECT cat_title FROM {$this->cat_table} WHERE cid={$event->mainCategory} LIMIT 0,1"));
- Exclude checks
Line exceeds 120 characters; contains 158 characters Open
$ymdo_selects = sprintf(_APCAL_FMT_YMDO, "<select name='apcal_year'>$year_options</select>", "<select name='apcal_month'>$month_options</select>",
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
$whr_term = "(allday AND end>'$this->unixtime') || ( ! allday AND end>'" . ($toptime_of_day - $tzoffset) . "')";
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
$last_modified = $this->get_long_ymdn($event->udtstamp - (int)(($this->user_TZ - $this->server_TZ) * 3600));
- Exclude checks
Line exceeds 120 characters; contains 221 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT *,UNIX_TIMESTAMP(dtstamp) AS udtstamp , start, end, allday, start_date, end_date, mainCategory, extkey0 FROM $this->table WHERE $whr ORDER BY $order LIMIT $pos,$num");
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
'year_month_title' => sprintf(_APCAL_FMT_YEAR_MONTH, $this->year, $this->month_middle_names[$this->month]),
- Exclude checks
Line exceeds 120 characters; contains 180 characters Open
$yrs = $GLOBALS['xoopsDB']->query("SELECT *,UNIX_TIMESTAMP(dtstamp) AS udtstamp , start, end, allday, start_date, end_date, extkey0 FROM $this->table WHERE $whr");
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
$roimage = XOOPS_URL . '/modules/apcal/assets/images/regonline/regonline.png'; // added by goffy: image for online registration
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
"<select name='apcal_date'>$date_options</select>", "<select name='op'>$op_options</select>");
- Exclude checks
Line exceeds 120 characters; contains 188 characters Open
$prs = $GLOBALS['xoopsDB']->query("SELECT pi_title,pi_dirname AS dirname,pi_file AS file,pi_dotgif AS dotgif,pi_options AS options FROM $this->plugin_table WHERE pi_type='"
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
$whr_term = "(allday AND start<='$this->unixtime' AND end>'$this->unixtime') || ( ! allday AND start<='"
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
$year_options .= "\t\t\t<option value='$y' selected>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n";
- Exclude checks
Line exceeds 120 characters; contains 158 characters Open
$mrs = $GLOBALS['xoopsDB']->query('SELECT mid,name FROM ' . $GLOBALS['xoopsDB']->prefix('modules') . " WHERE dirname='$dirname4sql'");
- Exclude checks
Line exceeds 120 characters; contains 176 characters Open
$nav = new XoopsPageNav($num_rows, $num, $pos, 'pos', "smode=List&cid=$this->now_cid&num=$num&order=$order&op=$op&caldate=$this->caldate");
- Exclude checks
Class name "APCal_xoops" is not in camel caps format Open
class APCal_xoops extends APCal
- Exclude checks
Expected 1 space after closing brace; 4 found Open
} // Monday
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
$ymdo_selects = sprintf(_APCAL_FMT_YMDO, "<select name='apcal_year'>$year_options</select>", "<select name='apcal_month'>$month_options</select>",
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 36 Open
"<select name='apcal_date'>$date_options</select>", "<select name='op'>$op_options</select>");
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
"<select name='apcal_date'>$date_options</select>", "<select name='op'>$op_options</select>");
- Exclude checks
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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 function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_term is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_context is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $can_time_disp is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_uid is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_desc is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $toptime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_term is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_categories is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_context is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_id is not named in camelCase. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $for_coming is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $bottomtime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_categories is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_desc is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $js_cal_week_start is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $js_cal_week_start is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $get_target is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_categories is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $can_time_disp is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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 function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $start_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_class is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $can_time_disp is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $first_day is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_uid is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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 function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $num_rows is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $can_time_disp is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_id is not named in camelCase. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $long_ymdn is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $bottomtime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_class is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_desc is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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 function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_uid is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $for_coming is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $can_time_disp is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_desc is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $start_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_context is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $full_context is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $bottomtime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_class is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_class is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $first_day is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_text is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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 function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $bottomtime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_term is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $for_coming is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_desc is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $month_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_num_info is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_uri is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tzoffset_s2u is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_returns is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $force_http is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $next_month is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_term is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_for_date is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ics_cache_file is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ics_cache_file is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $js_cal_week_start is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $bottomtime_of_day is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $whr_categories is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_for_time is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_desc is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_str is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $admission_status is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $first_date is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cat_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_title is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_fullpath is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_id is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $year_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $month_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $admission_status is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $last_modified is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_now_Ynj is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prev_month is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $wday_end is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_returns is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $categories_selform is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_id is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $year_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $year_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_num_info is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $categories_selform is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ymdo_selects is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $month_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_fullpath is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_id is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_class is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_uri is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $first_date is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $wday_end is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tzoffset_s2u is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_fullpath is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $year_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_num_info is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cat_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ics_cache_file is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $next_month is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $wday_end is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $month_options is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ymdo_selects is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_term is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_html is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $last_modified is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prev_month is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ics_cache_file is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $whr_categories is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_html is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_title is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $nav_num_info is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_target is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date_desc is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $error_level_stored is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_returns is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allowed_mids is not named in camelCase. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tzoffset_s2u is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $toptime_of_day is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $error_level_stored is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_id is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $op_title is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $num_rows is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $error_level_stored is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_now_Ynj is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allowed_mids is not named in camelCase. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It 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_xoops_search_result is not named in camelCase. Open
public function get_xoops_search_result($keywords, $andor, $limit, $offset, $uid)
{
// ������
$tzoffset = ($this->user_TZ - $this->server_TZ) * 3600;
- 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 text_sanitizer_for_show is not named in camelCase. Open
public function text_sanitizer_for_show($data)
{
$myts = MyTextSanitizer::getInstance();
return $myts->htmlSpecialChars($data);
- 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_blockarray_coming_event is not named in camelCase. Open
public function get_blockarray_coming_event($get_target = '', $num = 5, $for_coming = false, $untildays = 0)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
$now = $for_coming ? time() : $this->unixtime + $this->day_start;
- 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_blockarray_new_event is not named in camelCase. Open
public function get_blockarray_new_event($get_target = '', $num = 5)
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// tzoffset
- 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 textarea_sanitizer_for_sql is not named in camelCase. Open
public function textarea_sanitizer_for_sql($data)
{
// preventing double-addslashes()
// $myts = MyTextSanitizer::getInstance();
// return $myts->makeTareaData4Save($data);
- 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 textarea_sanitizer_for_show is not named in camelCase. Open
public function textarea_sanitizer_for_show($data)
{
$myts = MyTextSanitizer::getInstance();
return $myts->displayTarea($data);
- 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 text_sanitizer_for_edit is not named in camelCase. Open
public function text_sanitizer_for_edit($data)
{
$myts = MyTextSanitizer::getInstance();
return $myts->htmlSpecialChars($data);
- 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_blockarray_date_event is not named in camelCase. Open
public function get_blockarray_date_event($get_target = '')
{
// if( $get_target == '' ) $get_target = $_SERVER['SCRIPT_NAME'] ;
// ����������Ĥġ�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 textarea_sanitizer_for_export_ics is not named in camelCase. Open
public function textarea_sanitizer_for_export_ics($data)
{
$myts = MyTextSanitizer::getInstance();
return $myts->displayTarea($data);
- 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 textarea_sanitizer_for_edit is not named in camelCase. Open
public function textarea_sanitizer_for_edit($data)
{
$myts = MyTextSanitizer::getInstance();
return $myts->htmlSpecialChars($data);
- 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_formtextdateselect is not named in camelCase. Open
public function get_formtextdateselect($name, $ymd, $long_ymdn = '')
{
require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
// day of week starting
- 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 import_ics_via_fopen is not named in camelCase. Open
public function import_ics_via_fopen($uri, $force_http = true, $user_uri = '')
{
$user_uri = empty($user_uri) ? '' : $uri;
// changing webcal://* to http://*
$uri = str_replace('webcal://', 'http://', $uri);
- 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 notify_new_event is not named in camelCase. Open
public function notify_new_event($event_id)
{
$rs = $GLOBALS['xoopsDB']->query("SELECT summary,admission,categories,class,uid,groupid FROM $this->table WHERE id='$event_id'");
$event = $GLOBALS['xoopsDB']->fetchObject($rs);
- 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_submitter_info is not named in camelCase. Open
public function get_submitter_info($uid)
{
if ($uid <= 0) {
return _GUESTS;
}
- 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 assign_event_list is not named in camelCase. Open
public function assign_event_list(&$tpl, $get_target = '')
{
$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
$num = isset($_GET['num']) ? (int)$_GET['num'] : 20;
- 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_minical_ex is not named in camelCase. Open
public function get_minical_ex($gifaday = 2, $just1gif = 0, $plugins = array())
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$myts = MyTextSanitizer::getInstance();
- 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_plugins is not named in camelCase. Open
public function get_plugins($type)
{
global $xoopsDB, $xoopsUser;
// MyTextSanitizer
- 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() {
}
}