chamilo/chamilo-lms

View on GitHub
public/main/lp/openoffice_presentation.class.php

Summary

Maintainability
A
0 mins
Test Coverage

The method make_lp() has an NPath complexity of 3316. The configured NPath complexity threshold is 200.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

NPathComplexity

Since: 0.1

The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.

Example

class Foo {
    function bar() {
        // lots of complicated code
    }
}

Source https://phpmd.org/rules/codesize.html#npathcomplexity

Missing class import via use statement (line '179', column '31').
Open

                    $di = new ChamiloIndexer();

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 '182', column '37').
Open

                    $ic_slide = new IndexableChunk();

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 '100', column '33').
Open

            $my_new_image = new Image($image);

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 make_lp uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Open

            } else {
                $slide_name = 'slide'.str_repeat('0', 2 - strlen($i)).$i;
            }

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

FIXME found
Open

                    /* FIXME:  cidReq:lp_id:doc_id al indexar  */

The parameter $course_code is not named in camelCase.
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

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 $take_slide_name is not named in camelCase.
Open

class OpenofficePresentation extends OpenofficeDocument
{
    public $take_slide_name;

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The parameter $user_id is not named in camelCase.
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

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 $take_slide_name is not named in camelCase.
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

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($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

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

        $this->take_slide_name = $take_slide_name;

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

        parent::__construct($course_code, $resource_id, $user_id);

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

            list($slide_name, $file_name, $slide_body) = explode('||', $file);

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

            $slide_name = str_replace('’', '\'', $slide_name);

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

                $slide_name = str_replace('_', ' ', $slide_name);

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

                $dir.urlencode($thumb_name),

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

                $dir.urlencode($html_file),

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

                    $slide_name,

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

                                    $ic_slide->addTerm(trim($sterm), $specific_field['code']);

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

        parent::__construct($course_code, $resource_id, $user_id);

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

                $slide_name = api_ucfirst($slide_name);

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

                $slide_name = 'slide'.str_repeat('0', 2 - strlen($i)).$i;

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

            if (!is_file($this->base_work_dir.$dir.$file_name) or 0 == filesize($this->base_work_dir.$dir.$file_name)) {

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

            $image_size = api_getimagesize($image);

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

            $width = $image_size['width'];

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

            $slide_src = api_get_path(REL_COURSE_PATH).$_course['path'].'/document/'.$dir.utf8_encode($file_name);

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

        <img src="'.$slide_src.'" />

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

                            $sterms = trim($_REQUEST[$specific_field['code']]);

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());

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

            if (!is_file($this->base_work_dir.$dir.$file_name) or 0 == filesize($this->base_work_dir.$dir.$file_name)) {

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

                filesize($this->base_work_dir.$dir.$file_name),

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

            $thumb_width = 300;

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

            $fp = fopen($this->base_work_dir.$dir.$html_file, 'w+');

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

            $document_id = add_document(

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

                    foreach ($specific_fields as $specific_field) {

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

                                    $ic_slide->addTerm(trim($sterm), $specific_field['code']);

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

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

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

        if (!is_dir($this->base_work_dir.$this->created_dir)) {

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

            if (true === $this->take_slide_name) {

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

                $file_name = substr($file_name, 0, -1);

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

            $height = $image_size['height'];

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

                    $document_id,

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

                    $slide_body = $all_specific_terms.' '.$slide_body;

Missing function doc comment
Open

    public function make_lp($files = [])

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

                $file_name = substr($file_name, 0, -1);

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

                $document_id_thumb,

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

            if ($document_id) {

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

                    $ic_slide->addToolId(TOOL_LEARNPATH);

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

                filesize($this->base_work_dir.$dir.$html_file),

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

                    $document_id,

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

                    $ic_slide->addValue('title', $slide_name);

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

            if (!is_file($this->base_work_dir.$dir.$file_name) or 0 == filesize($this->base_work_dir.$dir.$file_name)) {

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

            $my_new_image->resize($thumb_width, $thumb_height);

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

            $html_file = $file_name.'.html';

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

            $slide_src = str_replace('\/\/', '/', $slide_src);

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

                $slide_name

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

                    $this->first_item = intval($previous);

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

                    foreach ($specific_fields as $specific_field) {

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

        if (!is_dir($this->base_work_dir.$this->created_dir)) {

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

            if (!is_file($this->base_work_dir.$dir.$file_name) or 0 == filesize($this->base_work_dir.$dir.$file_name)) {

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

            $document_id = add_document(

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

            $image = $this->base_work_dir.$dir.$file_name;

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

            $my_new_image->resize($thumb_width, $thumb_height);

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

            $fp = fopen($this->base_work_dir.$dir.$html_file, 'w+');

Member variable "take_slide_name" is not in valid camel caps format
Open

    public $take_slide_name;

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

        $this->take_slide_name = $take_slide_name;

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

            $thumb_name = preg_replace($pattern, $replacement, $file_name);

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

            $my_new_image->send_image($this->base_work_dir.$dir.$thumb_name, -1, 'png');

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

                    $slide_body = $all_specific_terms.' '.$slide_body;

Method name "OpenofficePresentation::make_lp" is not in camel caps format
Open

    public function make_lp($files = [])

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

            list($slide_name, $file_name, $slide_body) = explode('||', $file);

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());

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

                $slide_name

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

            $thumb_height = floor($height * ($thumb_width / $width));

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

            $my_new_image->resize($thumb_width, $thumb_height);

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

                if (0 == $this->first_item) {

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

                $document_id,

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

            $thumb_height = floor($height * ($thumb_width / $width));

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

            $my_new_image->send_image($this->base_work_dir.$dir.$thumb_name, -1, 'png');

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

                $slide_name

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

                    $ic_slide->addValue('title', $slide_name);

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

                    $specific_fields = get_specific_field_list();

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

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

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

            list($slide_name, $file_name, $slide_body) = explode('||', $file);

Multi-line function call not indented correctly; expected 16 spaces but found 0
Open

'<html>

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

                    $ic_slide->addValue('content', $slide_body);

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

                    $ic_slide->addCourseId($courseid);

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

            $slide_name = api_htmlentities($slide_name, ENT_COMPAT);

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

                $slide_name = api_ucfirst($slide_name);

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

            $thumb_name = preg_replace($pattern, $replacement, $file_name);

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

            $my_new_image = new Image($image);

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

            $my_new_image->send_image($this->base_work_dir.$dir.$thumb_name, -1, 'png');

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

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

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

        parent::__construct($course_code, $resource_id, $user_id);

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

                $dir.urlencode($file_name),

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

                filesize($this->base_work_dir.$dir.$thumb_name),

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

                filesize($this->base_work_dir.$dir.$thumb_name),

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

            $slide_src = api_get_path(REL_COURSE_PATH).$_course['path'].'/document/'.$dir.utf8_encode($file_name);

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

            $slide_src = str_replace('\/\/', '/', $slide_src);

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

                filesize($this->base_work_dir.$dir.$html_file),

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

                        if (isset($_REQUEST[$specific_field['code']])) {

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

                    $slide_body = $all_specific_terms.' '.$slide_body;

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

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

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

            $slide_name = api_htmlentities($slide_name, ENT_COMPAT);

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

            $slide_name = str_replace('&rsquo;', '\'', $slide_name);

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

            if ('/' == substr($file_name, -1, 1)) {

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

            $html_file = $file_name.'.html';

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

                    $all_specific_terms = '';

Missing function doc comment
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)

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

        $dir = $this->created_dir;

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

                $slide_name = str_replace('_', ' ', $slide_name);

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

                filesize($this->base_work_dir.$dir.$file_name),

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

            $image = $this->base_work_dir.$dir.$file_name;

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

            $document_id_thumb = add_document(

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

                    $ic_slide = new IndexableChunk();

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

                            $all_specific_terms .= ' '.$sterms;

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

                    $ic_slide->addValue('content', $slide_body);

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

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

        $this->slide_height = $height;

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

            list($slide_name, $file_name) = explode('||', $file);

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

            $slide_name = str_replace('&rsquo;', '\'', $slide_name);

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

                    $lp_id = $this->lp_id;

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

                        SE_DATA => ['lp_id' => $lp_id, 'lp_item' => $previous, 'document_id' => $document_id],

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

                    $ic_slide->xapian_data = serialize($xapian_data);

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

                    $di->addChunk($ic_slide);

Missing function doc comment
Open

    public function set_slide_size($width, $height)

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

            $slide_name = api_htmlentities($slide_name, ENT_COMPAT);

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

                filesize($this->base_work_dir.$this->created_dir.'/'.$file_name),

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

                        SE_DATA => ['lp_id' => $lp_id, 'lp_item' => $previous, 'document_id' => $document_id],

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

                        $sql = sprintf($sql, $tbl_se_ref, api_get_course_id(), TOOL_LEARNPATH, $lp_id, $previous, $did);

Missing function doc comment
Open

    public function add_command_parameters()

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

            list($this->slide_width, $this->slide_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));

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

        $this->slide_width = $width;

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());

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

        if (empty($this->slide_width) || empty($this->slide_height)) {

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

                    $ic_slide->xapian_data = serialize($xapian_data);

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

                $this->created_dir.'/'.urlencode($file_name),

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

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

                $this->created_dir.'/'.urlencode($file_name),

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

                        $tbl_se_ref = Database::get_main_table(TABLE_MAIN_SEARCH_ENGINE_REF);

Method name "OpenofficePresentation::set_slide_size" is not in camel caps format
Open

    public function set_slide_size($width, $height)

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());

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

                filesize($this->base_work_dir.$this->created_dir.'/'.$file_name),

Method name "OpenofficePresentation::add_docs_to_visio" is not in camel caps format
Open

    public function add_docs_to_visio($files = [])

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

            list($slide_name, $file_name) = explode('||', $file);

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

        if (empty($this->slide_width) || empty($this->slide_height)) {

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

            list($this->slide_width, $this->slide_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

                    $xapian_data = [

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

            $slide_name = api_htmlentities($slide_name, ENT_COMPAT);

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

Missing function doc comment
Open

    public function add_docs_to_visio($files = [])

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

                    $lp_id = $this->lp_id;

Method name "OpenofficePresentation::add_command_parameters" is not in camel caps format
Open

    public function add_command_parameters()

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

        return ' -w '.$this->slide_width.' -h '.$this->slide_height.' -d oogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'.html"';

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

            $slide_name = str_replace('&rsquo;', '\'', $slide_name);

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

            $slide_name = api_convert_encoding($slide_name, api_get_system_encoding(), $this->original_charset);

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

                    $ic_slide->xapian_data = serialize($xapian_data);

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

                        $sql = sprintf($sql, $tbl_se_ref, api_get_course_id(), TOOL_LEARNPATH, $lp_id, $previous, $did);

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

                filesize($this->base_work_dir.$this->created_dir.'/'.$file_name),

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

                $slide_name

Multi-line function call not indented correctly; expected 16 spaces but found 0
Open

'<html>

Line indented incorrectly; expected at least 12 spaces, found 0
Open

'<html>

The variable $resource_id is not named in camelCase.
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_body is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_src is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $my_new_image is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_height is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_thumb is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_height is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_width is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_width is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_src is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_body is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_body is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

CamelCaseVariableName

Since: 0.2

It is 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_src is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_body is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_thumb is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $take_slide_name is not named in camelCase.
Open

    public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null)
    {
        $this->take_slide_name = $take_slide_name;
        parent::__construct($course_code, $resource_id, $user_id);
    }

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thumb_width is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $my_new_image is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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_src is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $my_new_image is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is 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 add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public function add_docs_to_visio($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

CamelCaseVariableName

Since: 0.2

It 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 set_slide_size is not named in camelCase.
Open

    public function set_slide_size($width, $height)
    {
        $this->slide_width = $width;
        $this->slide_height = $height;
    }

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 make_lp is not named in camelCase.
Open

    public function make_lp($files = [])
    {
        $_course = api_get_course_info();
        $previous = 0;
        $i = 0;

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()
    {
        if (empty($this->slide_width) || empty($this->slide_height)) {
            list($this->slide_width, $this->slide_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));
        }

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($files = [])
    {
        $_course = api_get_course_info();
        foreach ($files as $file) {
            // '||' is used as separator between slide name (with accents) and file name (without accents).

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

There are no issues that match your filters.

Category
Status