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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

namespace MageWorx\SeoReports\Model;

use MageWorx\SeoReports\Api\Data\CategoryReportInterface;
use Magento\Framework\Model\AbstractModel;

/**
 * Category Report Model
 */
class CategoryReport extends AbstractModel implements CategoryReportInterface
{
    /**
     * Prefix of model events names
     *
     * @var string
     */
    protected $_eventPrefix = 'mageworx_category_report';

    /**
     * Initialize resource model
     *
     * @return void
     */
    protected function _construct()
    {
        $this->_init('MageWorx\SeoReports\Model\ResourceModel\CategoryReport');
    }

    /**
     * Get ID
     *
     * @return int|null
     */
    public function getId()
    {
        return parent::getData(self::REPORT_ID);
    }

    /**
     * Get category ID
     *
     * @return int
     */
    public function getReferenceId()
    {
        return parent::getData(self::REFERENCE_ID);
    }

    /**
     * Get store ID
     *
     * @return int
     */
    public function getStoreId()
    {
        return parent::getData(self::STORE_ID);
    }

    /**
     * Get level
     *
     * @return int
     */
    public function getLevel()
    {
        return parent::getData(self::LEVEL);
    }


    /**
     * Get URL path
     *
     * @return string
     */
    public function getUrlPath()
    {
        return parent::getData(self::URL_PATH);
    }

    /**
     * Get name
     *
     * @return string
     */
    public function getName()
    {
        return parent::getData(self::NAME);
    }

    /**
     * Get prepared name
     *
     * @return string
     */
    public function getPreparedName()
    {
        return parent::getData(self::PREPARED_NAME);
    }

    /**
     * Get count of duplicated names
     *
     * @return int
     */
    public function getNameDuplicateCount()
    {
        return parent::getData(self::NAME_DUPLICATE_COUNT);
    }

    /**
     * Get name length
     *
     * @return int
     */
    public function getNameLength()
    {
        return parent::getData(self::NAME_LENGTH);
    }

    /**
     * Get meta title
     *
     * @return string|null
     */
    public function getMetaTitle()
    {
        return parent::getData(self::META_TITLE);
    }

    /**
     * Get prepared meta title
     *
     * @return string|null
     */
    public function getPreparedMetaTitle()
    {
        return parent::getData(self::PREPARED_META_TITLE);
    }

    /**
     * Get meta title length
     *
     * @return int
     */
    public function getMetaTitleLength()
    {
        return parent::getData(self::META_TITLE_LENGTH);
    }

    /**
     * Get count of duplicated meta titles
     *
     * @return int
     */
    public function getMetaTitleDuplicateCount()
    {
        return parent::getData(self::META_TITLE_DUPLICATE_COUNT);
    }

    /**
     * Get meta description length
     *
     * @return int
     */
    public function getMetaDescriptionLength()
    {
        return parent::getData(self::META_DESCRIPTION_LENGTH);
    }

    /**
     * Get URL path length
     *
     * @return int
     */
    public function getUrlPathLength()
    {
        return parent::getData(self::URL_PATH_LENGTH);
    }

    /**
     * Set ID
     *
     * @param int $id
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setId($id)
    {
        return $this->setData(self::REPORT_ID, $id);
    }

    /**
     * Set reference(category) ID
     *
     * @param int $referenceId
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setReferenceId($referenceId)
    {
        return $this->setData(self::REFERENCE_ID, $referenceId);
    }

    /**
     * Set store ID
     *
     * @param int $storeId
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setStoreId($storeId)
    {
        return $this->setData(self::STORE_ID, $storeId);
    }

    /**
     * Set level
     *
     * @param int $level
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setLevel($level)
    {
        return $this->setData(self::LEVEL, $level);
    }

    /**
     * Set URL path
     *
     * @param string $urlPath
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setUrlPath($urlPath)
    {
        return $this->setData(self::URL_PATH, $urlPath);
    }

    /**
     * Set name
     *
     * @param string $name
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setName($name)
    {
        return $this->setData(self::NAME, $name);
    }

    /**
     * Set prepared name
     *
     * @param string $preparedName
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setPreparedName($preparedName)
    {
        return $this->setData(self::PREPARED_NAME, $preparedName);
    }

    /**
     * Set count of duplicated names
     *
     * @param int $count
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setNameDuplicateCount($count)
    {
        return $this->setData(self::URL_PATH_LENGTH, $count);
    }

    /**
     * Set name length
     *
     * @param int $length
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setNameLength($length)
    {
        return $this->setData(self::NAME_LENGTH, $length);
    }

    /**
     * Set meta title
     *
     * @param string $title
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setMetaTitle($title)
    {
        return $this->setData(self::META_TITLE, $title);
    }

    /**
     * Set prepared meta title
     *
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setPreparedMetaTitle($preparedTitle)
    {
        return $this->setData(self::PREPARED_META_TITLE, $preparedTitle);
    }

    /**
     * Set meta title length
     *
     * @param int $length
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setMetaTitleLength($length)
    {
        return $this->setData(self::META_TITLE_LENGTH, $length);
    }

    /**
     * Set count of duplicated meta titles
     *
     * @type int $count
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setMetaTitleDuplicateCount($count)
    {
        return $this->setData(self::META_TITLE_DUPLICATE_COUNT, $count);
    }

    /**
     * Set meta description length
     *
     * @param int $length
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setMetaDescriptionLength($length)
    {
        return $this->setData(self::META_DESCRIPTION_LENGTH, $length);
    }

    /**
     * Set URL path length
     *
     * @type int $length
     * @return \MageWorx\SeoReports\Api\Data\CategoryReportInterface
     */
    public function setUrlPathLength($length)
    {
        return $this->setData(self::URL_PATH_LENGTH, $length);
    }
}

Spamworldpro Mini