Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
for ($i = 0; $i < count($matches[0]); $i++) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$matches[0][$new_index] = $matches_temp[0][$i];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
if (empty($matches[1][$i])) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$dir_content = api_substr($content, 0, api_strpos($content, $matches[0][$i + 1]));
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$intro_content = api_substr($content, 0, api_strpos($content, $matches[0][0]));
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$items_to_create[$matches[1][$i]] = $dir_content;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$content = api_strstr($content, $matches[0][$i]);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
if ($i + 1 !== count($matches[0])) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$matches' which will lead to PHP notices. Open
$matches[1][$new_index] = $matches_temp[1][$i];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Missing class import via use statement (line '254', column '31'). Open
$di = new ChamiloIndexer();
- 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 '257', column '37'). Open
$ic_slide = new IndexableChunk();
- 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 dealPerChapter uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$dir_content = $content;
}
- 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 parameters such as '$files'. Open
public function make_lp($files = [])
- 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 '$max_height'. Open
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- 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 '$infos'. Open
$infos = pathinfo($this->filepath);
- 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 '$infos'. Open
$infos = pathinfo($this->filepath);
- 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 '$img_height'. Open
$img_height = $image_size['height'];
- 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 using count() function in for loops. Open
for ($i = 0; $i < count($matches_temp[0]); $i++) {
if ('' !== trim($matches_temp[1][$i])) {
$matches[0][$new_index] = $matches_temp[0][$i];
$matches[1][$new_index] = $matches_temp[1][$i];
$new_index++;
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($i = 0; $i < count($matches[0]); $i++) {
if (empty($matches[1][$i])) {
continue;
}
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
The parameter $user_id is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- 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 $split_steps is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- 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 $resource_id is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $course_code is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- 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 property $split_steps is not named in camelCase. Open
class OpenOfficeTextDocument extends OpenofficeDocument
{
public $split_steps;
/**
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
Variable "file_name" is not in valid camel caps format Open
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = null,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = null
- Exclude checks
Variable "file_path" is not in valid camel caps format Open
unlink($this->base_work_dir.'/'.$this->file_path);
- Exclude checks
Missing parameter name Open
* @param int Resource ID
- Exclude checks
Missing parameter name Open
* @param array The files that will compose the generated learning path. Unused so far.
- Exclude checks
Variable "resource_id" is not in valid camel caps format Open
$resource_id = null,
- Exclude checks
Method name "OpenOfficeTextDocument::make_lp" is not in camel caps format Open
public function make_lp($files = [])
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
$content = file_get_contents($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Variable "split_steps" is not in valid camel caps format Open
$this->split_steps = $split_steps;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
$content = file_get_contents($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Exclude checks
Variable "original_charset" is not in valid camel caps format Open
$content = api_convert_encoding($content, $charset, $this->original_charset);
- Exclude checks
Variable "style_to_import" is not in valid camel caps format Open
$style_to_import = Container::getThemeHelper()->getThemeAssetLinkTag('default.css');
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$html_file = $this->created_dir.'-'.$i.'.html';
- Exclude checks
Variable "first_item" is not in valid camel caps format Open
if (0 == $this->first_item) {
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id,
- Exclude checks
Variable "specific_field" is not in valid camel caps format Open
foreach ($specific_fields as $specific_field) {
- Exclude checks
Variable "specific_field" is not in valid camel caps format Open
if (isset($_REQUEST[$specific_field['code']])) {
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
'document_id' => $document_id,
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
$img_width = $img_width[1];
- Exclude checks
Variable "new_width" is not in valid camel caps format Open
$picture_resized = str_ireplace('<img', '<img width="'.$new_width.'" ', $images[0][$key]);
- Exclude checks
Missing parameter name Open
* @param string Course code
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
unlink($this->base_work_dir.'/'.$this->file_path);
- Exclude checks
Variable "matches_temp" is not in valid camel caps format Open
$matches[1][$new_index] = $matches_temp[1][$i];
- Exclude checks
Variable "new_index" is not in valid camel caps format Open
$new_index++;
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$this->created_dir.$html_file,
- Exclude checks
Variable "resource_id" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "first_item" is not in valid camel caps format Open
$this->first_item = (int) $previous;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$lp_id = $this->lp_id;
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$content = file_get_contents($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
$content = preg_replace("|<body[^>]*>|i", "\\0\r\n<div style=\"width:".$max_width."\">", $content, -1, $count);
- Exclude checks
Variable "style_to_import" is not in valid camel caps format Open
$header = preg_replace("|</head>|i", "\r\n$style_to_import\r\n\\0", $header);
- Exclude checks
Variable "image_size" is not in valid camel caps format Open
$img_height = $image_size['height'];
- Exclude checks
Variable "item_title" is not in valid camel caps format Open
foreach ($items_to_create as $item_title => $item_content) {
- Exclude checks
Variable "new_width" is not in valid camel caps format Open
if ($img_width > $new_width) {
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id,
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = strip_tags(nl2br($item_title));
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = api_html_entity_decode($slide_name, ENT_COMPAT, api_get_system_encoding());
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name,
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->addToolId(TOOL_LEARNPATH);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$lp_id = $this->lp_id;
- Exclude checks
Variable "xapian_data" is not in valid camel caps format Open
$xapian_data = [
- Exclude checks
Missing parameter name Open
* @param string Page content
- Exclude checks
Method name "OpenOfficeTextDocument::format_page_content" is not in camel caps format Open
public function format_page_content($header, $content)
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
$img_width = $img_width[1];
- Exclude checks
Member variable "split_steps" is not in valid camel caps format Open
public $split_steps;
- Exclude checks
Missing parameter name Open
* @param bool Whether to split steps (true) or make one large page (false)
- Exclude checks
Missing parameter name Open
* @param int Creator user id
- Exclude checks
Variable "split_steps" is not in valid camel caps format Open
$split_steps = false,
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$page_content = $this->format_page_content($header, $item_content);
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$html_file
- Exclude checks
Missing parameter name Open
* @param string Page body
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$html_file = $this->created_dir.'-'.$key.'.html';
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
fwrite($handle, $page_content);
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.$html_file),
- Exclude checks
Variable "specific_field" is not in valid camel caps format Open
$sterms = trim($_REQUEST[$specific_field['code']]);
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
- Exclude checks
Variable "image_size" is not in valid camel caps format Open
$image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);
- Exclude checks
Variable "img_height" is not in valid camel caps format Open
$img_height = $image_size['height'];
- Exclude checks
Variable "split_steps" is not in valid camel caps format Open
$this->split_steps = $split_steps;
- Exclude checks
Missing parameter name Open
* @param string Content
- Exclude checks
Variable "items_to_create" is not in valid camel caps format Open
foreach ($items_to_create as $item_title => $item_content) {
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id = add_document(
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
if ($document_id) {
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$page_content = $all_specific_terms.' '.$page_content;
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$ic_slide->addValue('content', $page_content);
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$di->addChunk($ic_slide);
- Exclude checks
Variable "matches_temp" is not in valid camel caps format Open
if ('' !== trim($matches_temp[1][$i])) {
- Exclude checks
Variable "new_index" is not in valid camel caps format Open
$matches[0][$new_index] = $matches_temp[0][$i];
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$this->created_dir.'/'.$html_file,
- Exclude checks
Variable "item_title" is not in valid camel caps format Open
$slide_name = strip_tags(nl2br($item_title));
- Exclude checks
Variable "all_specific_terms" is not in valid camel caps format Open
$all_specific_terms = '';
- Exclude checks
Variable "max_height" is not in valid camel caps format Open
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Exclude checks
Variable "defined_width" is not in valid camel caps format Open
$defined_width = preg_match("|width=([^\s]*)|i", $images[0][$key], $img_width);
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
$new_width = $max_width - 10;
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
} elseif ($img_width > $max_width - 10) {
- Exclude checks
Variable "matches_temp" is not in valid camel caps format Open
preg_match_all("|<h1[^>]*>([^(h1)+]*)</h1>|is", $content, $matches_temp);
- Exclude checks
Variable "intro_content" is not in valid camel caps format Open
$intro_content = api_substr($content, 0, api_strpos($content, $matches[0][0]));
- Exclude checks
Variable "dir_content" is not in valid camel caps format Open
$dir_content = $content;
- Exclude checks
Variable "item_content" is not in valid camel caps format Open
foreach ($items_to_create as $item_title => $item_content) {
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$html_file = $this->created_dir.'-'.$i.'.html';
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
$this->base_work_dir.$this->created_dir
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$this->base_work_dir.$this->created_dir
- Exclude checks
Variable "specific_fields" is not in valid camel caps format Open
foreach ($specific_fields as $specific_field) {
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
$image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = str_replace(["\r\n", "\r", "\n"], '', $slide_name);
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = str_replace(["\r\n", "\r", "\n"], '', $slide_name);
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$page_content,
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
$defined_width = preg_match("|width=([^\s]*)|i", $images[0][$key], $img_width);
- Exclude checks
Variable "matches_temp" is not in valid camel caps format Open
$matches[0][$new_index] = $matches_temp[0][$i];
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.'/'.$html_file),
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id,
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name,
- Exclude checks
Variable "all_specific_terms" is not in valid camel caps format Open
$all_specific_terms .= ' '.$sterms;
- Exclude checks
Variable "tbl_se_ref" is not in valid camel caps format Open
$tbl_se_ref = Database::get_main_table(TABLE_MAIN_SEARCH_ENGINE_REF);
- Exclude checks
Variable "new_index" is not in valid camel caps format Open
$new_index = 0;
- Exclude checks
Variable "items_to_create" is not in valid camel caps format Open
$items_to_create[$matches[1][$i]] = $dir_content;
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$page_content = $this->format_page_content(
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->addTerm(trim($sterm), $specific_field['code']);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
'lp_id' => $lp_id,
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Missing parameter name Open
* @param string Page header
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
if ($img_width > $new_width) {
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
} elseif ($img_width > $max_width - 10) {
- Exclude checks
Variable "original_charset" is not in valid camel caps format Open
$content = str_replace($this->original_charset, $charset, $content);
- Exclude checks
Missing parameter name Open
* @param string Chapter header
- Exclude checks
Variable "new_index" is not in valid camel caps format Open
$matches[1][$new_index] = $matches_temp[1][$i];
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id = add_document(
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$this->created_dir.$html_file,
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide = new IndexableChunk();
- Exclude checks
Variable "specific_field" is not in valid camel caps format Open
$ic_slide->addTerm(trim($sterm), $specific_field['code']);
- Exclude checks
Variable "tbl_se_ref" is not in valid camel caps format Open
$tbl_se_ref,
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
$img_width = $image_size['width'];
- Exclude checks
Variable "picture_resized" is not in valid camel caps format Open
$picture_resized = str_ireplace('<img', '<img width="'.$new_width.'" ', $images[0][$key]);
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$content = preg_replace("|src=\"([^\"]*)|i", "src=\"".api_get_path(REL_COURSE_PATH).$_course['path'].'/document'.$this->created_dir."/\\1", $content);
- Exclude checks
Variable "split_steps" is not in valid camel caps format Open
switch ($this->split_steps) {
- Exclude checks
Variable "item_content" is not in valid camel caps format Open
$page_content = $this->format_page_content($header, $item_content);
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = api_html_entity_decode($slide_name, ENT_COMPAT, api_get_system_encoding());
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$html_file = $this->created_dir.'-'.$key.'.html';
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = 'Page '.str_repeat('0', 2 - strlen($key)).$key;
- Exclude checks
Variable "first_item" is not in valid camel caps format Open
if (0 == $this->first_item) {
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->addValue('title', $slide_name);
- Exclude checks
Variable "specific_fields" is not in valid camel caps format Open
$specific_fields = get_specific_field_list();
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
$page_content = $all_specific_terms.' '.$page_content;
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
$content = '<body><div style="width:'.$max_width.'">'.$content;
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
fwrite($handle, $page_content);
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.'/'.$html_file),
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.'/'.$html_file),
- Exclude checks
Variable "first_item" is not in valid camel caps format Open
$this->first_item = (int) $previous;
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.$html_file),
- Exclude checks
Variable "all_specific_terms" is not in valid camel caps format Open
$page_content = $all_specific_terms.' '.$page_content;
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->xapian_data = serialize($xapian_data);
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
- Exclude checks
Variable "defined_width" is not in valid camel caps format Open
if (!$defined_width) {
- Exclude checks
Variable "image_size" is not in valid camel caps format Open
$img_width = $image_size['width'];
- Exclude checks
Variable "base_work_dir" is not in valid camel caps format Open
unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Variable "dir_content" is not in valid camel caps format Open
$items_to_create[$matches[1][$i]] = $dir_content;
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');
- Exclude checks
Missing parameter name Open
* @param string Page header
- Exclude checks
Variable "page_content" is not in valid camel caps format Open
foreach ($pages as $key => $page_content) {
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$slide_name = '';
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->addValue('content', $page_content);
- Exclude checks
Variable "ic_slide" is not in valid camel caps format Open
$ic_slide->addCourseId($courseid);
- Exclude checks
Variable "xapian_data" is not in valid camel caps format Open
$ic_slide->xapian_data = serialize($xapian_data);
- Exclude checks
Variable "xapian_data" is not in valid camel caps format Open
$ic_slide->xapian_data = serialize($xapian_data);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$lp_id,
- Exclude checks
Variable "file_path" is not in valid camel caps format Open
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Exclude checks
Variable "picture_resized" is not in valid camel caps format Open
$picture_resized,
- Exclude checks
Variable "intro_content" is not in valid camel caps format Open
$items_to_create[get_lang('Introduction')] = $intro_content;
- Exclude checks
Variable "dir_content" is not in valid camel caps format Open
$dir_content = api_substr($content, 0, api_strpos($content, $matches[0][$i + 1]));
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$this->created_dir.'/'.$html_file,
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
if ($document_id) {
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
filesize($this->base_work_dir.$this->created_dir.$html_file),
- Exclude checks
Variable "html_file" is not in valid camel caps format Open
$html_file
- Exclude checks
Variable "document_id" is not in valid camel caps format Open
$document_id,
- Exclude checks
Variable "max_width" is not in valid camel caps format Open
'width="'.($max_width - 10).'"',
- Exclude checks
Method name "OpenOfficeTextDocument::add_docs_to_visio" is not in camel caps format Open
public function add_docs_to_visio()
- Exclude checks
Variable "created_dir" is not in valid camel caps format Open
unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');
- Exclude checks
Variable "matches_temp" is not in valid camel caps format Open
for ($i = 0; $i < count($matches_temp[0]); $i++) {
- Exclude checks
Variable "items_to_create" is not in valid camel caps format Open
$items_to_create[get_lang('Introduction')] = $intro_content;
- Exclude checks
Variable "slide_name" is not in valid camel caps format Open
$ic_slide->addValue('title', $slide_name);
- Exclude checks
Method name "OpenOfficeTextDocument::add_command_parameters" is not in camel caps format Open
public function add_command_parameters()
- Exclude checks
Variable "new_width" is not in valid camel caps format Open
$new_width = $max_width - 10;
- Exclude checks
Variable "picture_resized" is not in valid camel caps format Open
$content = str_replace($images[0][$key], $picture_resized, $content);
- Exclude checks
Variable "img_width" is not in valid camel caps format Open
'width='.$img_width,
- Exclude checks
Variable "picture_resized" is not in valid camel caps format Open
$picture_resized = str_ireplace(
- Exclude checks
The variable $_course is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $items_to_create is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $intro_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $items_to_create is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $style_to_import is not named in camelCase. Open
public function make_lp($files = [])
{
$_course = api_get_course_info();
// We get a content where ||page_break|| indicates where the page is broken.
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_index is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dir_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_title is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $resource_id is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $matches_temp is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $matches_temp is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dir_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dir_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $matches_temp is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_index is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function make_lp($files = [])
{
$_course = api_get_course_info();
// We get a content where ||page_break|| indicates where the page is broken.
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $items_to_create is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $matches_temp is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_index is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_steps is not named in camelCase. Open
public function __construct(
$split_steps = false,
$course_code = null,
$resource_id = null,
$user_id = null
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $style_to_import is not named in camelCase. Open
public function make_lp($files = [])
{
$_course = api_get_course_info();
// We get a content where ||page_break|| indicates where the page is broken.
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_title is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $intro_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function make_lp($files = [])
{
$_course = api_get_course_info();
// We get a content where ||page_break|| indicates where the page is broken.
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_index is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $matches_temp is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_content is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerChapter($header, $content)
{
$_course = api_get_course_info();
$content = str_replace('||page_break||', '', $content);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $image_size is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_height is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $all_specific_terms is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_fields is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_fields is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_field is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_se_ref is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_height is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $xapian_data is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $defined_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $all_specific_terms is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $picture_resized is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_field is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $picture_resized is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $html_file is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $slide_name is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $xapian_data is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $picture_resized is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_field is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_se_ref is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $document_id is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $specific_field is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $all_specific_terms is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ic_slide is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $img_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $image_size is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $picture_resized is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $defined_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $page_content is not named in camelCase. Open
public function dealPerPage($header, $body)
{
$_course = api_get_course_info();
// Split document to pages.
$pages = explode('||page_break||', $body);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $image_size is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_width is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It 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 make_lp is not named in camelCase. Open
public function make_lp($files = [])
{
$_course = api_get_course_info();
// We get a content where ||page_break|| indicates where the page is broken.
if (!file_exists($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html')) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_docs_to_visio is not named in camelCase. Open
public function add_docs_to_visio()
{
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_command_parameters is not named in camelCase. Open
public function add_command_parameters()
{
return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'" "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';
}
- 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 format_page_content is not named in camelCase. Open
public function format_page_content($header, $content)
{
// Limit the width of the doc.
list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
- 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() {
}
}