chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Avoid using undefined variables such as '$matches' which will lead to PHP notices.
Open

        for ($i = 0; $i < count($matches[0]); $i++) {

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];

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])) {

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

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

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;

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

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])) {

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];

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

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

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;
            }

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 = [])

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

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

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

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'];

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++;

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;
            }

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

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

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

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

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;

    /**

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')) {

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

        $course_code = null,

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

        $user_id = null

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

        unlink($this->base_work_dir.'/'.$this->file_path);

Missing parameter name
Open

     * @param    int    Resource ID

Missing parameter name
Open

     * @param    array    The files that will compose the generated learning path. Unused so far.

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

        $resource_id = null,

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

    public function make_lp($files = [])

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')) {

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

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

        $this->split_steps = $split_steps;

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

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

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

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

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

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')) {

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

        $content = api_convert_encoding($content, $charset, $this->original_charset);

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

        $style_to_import = Container::getThemeHelper()->getThemeAssetLinkTag('default.css');

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

            $html_file = $this->created_dir.'-'.$i.'.html';

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 "specific_field" is not in valid camel caps format
Open

                    foreach ($specific_fields as $specific_field) {

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

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

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

                            'document_id' => $document_id,

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

            $img_width = $img_width[1];

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

                    $picture_resized = str_ireplace('<img', '<img width="'.$new_width.'" ', $images[0][$key]);

Missing parameter name
Open

     * @param    string    Course code

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

        unlink($this->base_work_dir.'/'.$this->file_path);

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

                $matches[1][$new_index] = $matches_temp[1][$i];

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

                $new_index++;

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

                $this->created_dir.$html_file,

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

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

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

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

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

                    $lp_id = $this->lp_id;

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

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

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

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

                $img_height = $image_size['height'];

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

        foreach ($items_to_create as $item_title => $item_content) {

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

                if ($img_width > $new_width) {

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

                    $document_id,

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

                $slide_name = strip_tags(nl2br($item_title));

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 "ic_slide" is not in valid camel caps format
Open

                    $ic_slide->addToolId(TOOL_LEARNPATH);

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

                    $lp_id = $this->lp_id;

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

                    $xapian_data = [

Missing parameter name
Open

     * @param    string    Page content

Method name "OpenOfficeTextDocument::format_page_content" is not in camel caps format
Open

    public function format_page_content($header, $content)

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

            $img_width = $img_width[1];

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

    public $split_steps;

Missing parameter name
Open

     * @param    bool    Whether to split steps (true) or make one large page (false)

Missing parameter name
Open

     * @param    int Creator user id

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

        $split_steps = false,

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

            $page_content = $this->format_page_content($header, $item_content);

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

                $html_file

Missing parameter name
Open

     * @param    string    Page body

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

            $html_file = $this->created_dir.'-'.$key.'.html';

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

            fwrite($handle, $page_content);

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

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

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

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

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"';

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

                $image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);

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

                $img_height = $image_size['height'];

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

        $this->split_steps = $split_steps;

Missing parameter name
Open

     * @param    string    Content

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

        foreach ($items_to_create as $item_title => $item_content) {

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

            $document_id = add_document(

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

            if ($document_id) {

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

                    $page_content = $all_specific_terms.' '.$page_content;

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

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

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

                    $di->addChunk($ic_slide);

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

            if ('' !== trim($matches_temp[1][$i])) {

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

                $matches[0][$new_index] = $matches_temp[0][$i];

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

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

                $this->created_dir.'/'.$html_file,

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

                $slide_name = strip_tags(nl2br($item_title));

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

                    $all_specific_terms = '';

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

        list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));

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

            $defined_width = preg_match("|width=([^\s]*)|i", $images[0][$key], $img_width);

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

                $new_width = $max_width - 10;

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

            } elseif ($img_width > $max_width - 10) {

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

        preg_match_all("|<h1[^>]*>([^(h1)+]*)</h1>|is", $content, $matches_temp);

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

        $intro_content = api_substr($content, 0, api_strpos($content, $matches[0][0]));

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

                $dir_content = $content;

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

        foreach ($items_to_create as $item_title => $item_content) {

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

            $html_file = $this->created_dir.'-'.$i.'.html';

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

                $this->base_work_dir.$this->created_dir

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

                $this->base_work_dir.$this->created_dir

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

                $image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);

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

                $slide_name = str_replace(["\r\n", "\r", "\n"], '', $slide_name);

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

                $slide_name = str_replace(["\r\n", "\r", "\n"], '', $slide_name);

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

                $page_content,

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

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

            $defined_width = preg_match("|width=([^\s]*)|i", $images[0][$key], $img_width);

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

                $matches[0][$new_index] = $matches_temp[0][$i];

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

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

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

                    $document_id,

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

                    $slide_name,

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

                            $all_specific_terms .= ' '.$sterms;

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

                        $tbl_se_ref = Database::get_main_table(TABLE_MAIN_SEARCH_ENGINE_REF);

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

        $new_index = 0;

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

            $items_to_create[$matches[1][$i]] = $dir_content;

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

            $page_content = $this->format_page_content(

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

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

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

                            'lp_id' => $lp_id,

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"';

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

        unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');

Missing parameter name
Open

     * @param    string    Page header

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

                if ($img_width > $new_width) {

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

            } elseif ($img_width > $max_width - 10) {

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

        $content = str_replace($this->original_charset, $charset, $content);

Missing parameter name
Open

     * @param    string    Chapter header

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

                $matches[1][$new_index] = $matches_temp[1][$i];

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

            $document_id = add_document(

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

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

                $this->created_dir.$html_file,

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

                    $ic_slide = new IndexableChunk();

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

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

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

                            $tbl_se_ref,

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

                $image_size = api_getimagesize($this->base_work_dir.$this->created_dir.'/'.$image);

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

                $img_width = $image_size['width'];

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

                    $picture_resized = str_ireplace('<img', '<img width="'.$new_width.'" ', $images[0][$key]);

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

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

        switch ($this->split_steps) {

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

            $page_content = $this->format_page_content($header, $item_content);

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 "html_file" is not in valid camel caps format
Open

            $html_file = $this->created_dir.'-'.$key.'.html';

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

                $slide_name = 'Page '.str_repeat('0', 2 - strlen($key)).$key;

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

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

Variable "ic_slide" 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 "page_content" is not in valid camel caps format
Open

                    $page_content = $all_specific_terms.' '.$page_content;

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

            $content = '<body><div style="width:'.$max_width.'">'.$content;

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

            fwrite($handle, $page_content);

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

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

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

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

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

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

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

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

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

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

                    $page_content = $all_specific_terms.' '.$page_content;

Variable "ic_slide" 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

        return ' -d woogie "'.$this->base_work_dir.'/'.$this->file_path.'"  "'.$this->base_work_dir.$this->created_dir.'/'.$this->file_name.'.html"';

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

            if (!$defined_width) {

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

                $img_width = $image_size['width'];

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

        unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');

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

            $items_to_create[$matches[1][$i]] = $dir_content;

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

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

            $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+');

Missing parameter name
Open

     * @param    string    Page header

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

        foreach ($pages as $key => $page_content) {

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

            $slide_name = '';

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

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

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

                    $ic_slide->addCourseId($courseid);

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

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

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

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

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

                            $lp_id,

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"';

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"';

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

        list($max_width, $max_height) = explode('x', api_get_setting('service_ppt2lp', 'size'));

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

                    $picture_resized,

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

        $items_to_create[get_lang('Introduction')] = $intro_content;

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

                $dir_content = api_substr($content, 0, api_strpos($content, $matches[0][$i + 1]));

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

                $this->created_dir.'/'.$html_file,

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

            if ($document_id) {

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

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

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

                $html_file

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

                    $document_id,

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

                    'width="'.($max_width - 10).'"',

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

    public function add_docs_to_visio()

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

        unlink($this->base_work_dir.'/'.$this->created_dir.'/'.$this->file_name.'.html');

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

        for ($i = 0; $i < count($matches_temp[0]); $i++) {

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

        $items_to_create[get_lang('Introduction')] = $intro_content;

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

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

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

    public function add_command_parameters()

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

                $new_width = $max_width - 10;

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

                    $content = str_replace($images[0][$key], $picture_resized, $content);

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

                    'width='.$img_width,

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

                $picture_resized = str_ireplace(

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

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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

CamelCaseVariableName

Since: 0.2

It is 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')) {

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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')) {

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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

CamelCaseVariableName

Since: 0.2

It is 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')) {

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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')) {

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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);

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It is 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'));

CamelCaseVariableName

Since: 0.2

It 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')) {

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()
    {
    }

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"';
    }

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

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