<commit_before><?php

/**
 * This file is part of the Product review module for webcms2.
 * Copyright (c) @see LICENSE
 */

namespace WebCMS\ProductreviewModule;

/**
 * Description of Product Review
 *
 * @author <NAME> <<EMAIL>>
 */
class Productreview extends \WebCMS\Module
{
	/**
	 * [$name description]
	 * @var string
	 */
    protected $name = 'Productreview';
    
    /**
     * [$author description]
     * @var string
     */
    protected $author = '<NAME>';
    
    protected $searchable = true;

    /**
     * [$presenters description]
     * @var array
     */
    protected $presenters = array(
		array(
		    'name' => 'Products',
		    'frontend' => true,
		    'parameters' => true
		),
        array(
            'name' => 'Reviews',
            'frontend' => true,
            'parameters' => true
        ),
        array(
            'name' => 'Downloads',
            'frontend' => true,
            'parameters' => true
        ),
		array(
		    'name' => 'Settings',
		    'frontend' => false
		)
    );

    public function __construct()
    {
        $this->addBox('Products box', 'Products', 'productsBox', 'Productreview');
        $this->addBox('Reviews box', 'Reviews', 'reviewsBox', 'Productreview');
        $this->addBox('Main Review box', 'Reviews', 'mainReviewBox', 'Productreview');
    }

    public function search(\Doctrine\ORM\EntityManager $em, $phrase, \WebCMS\Entity\Language $language)
    {
        
    }
}
<commit_msg>set module as cloneable<commit_after><?php

/**
 * This file is part of the Product review module for webcms2.
 * Copyright (c) @see LICENSE
 */

namespace WebCMS\ProductreviewModule;

/**
 * Description of Product Review
 *
 * @author <NAME> <<EMAIL>>
 */
class Productreview extends \WebCMS\Module
{
	/**
	 * [$name description]
	 * @var string
	 */
    protected $name = 'Productreview';
    
    /**
     * [$author description]
     * @var string
     */
    protected $author = '<NAME>';
    
    protected $searchable = true;
    protected $cloneable = true;

    /**
     * [$presenters description]
     * @var array
     */
    protected $presenters = array(
		array(
		    'name' => 'Products',
		    'frontend' => true,
		    'parameters' => true
		),
        array(
            'name' => 'Reviews',
            'frontend' => true,
            'parameters' => true
        ),
        array(
            'name' => 'Downloads',
            'frontend' => true,
            'parameters' => true
        ),
		array(
		    'name' => 'Settings',
		    'frontend' => false
		)
    );

    public function __construct()
    {
        $this->addBox('Products box', 'Products', 'productsBox', 'Productreview');
        $this->addBox('Reviews box', 'Reviews', 'reviewsBox', 'Productreview');
        $this->addBox('Main Review box', 'Reviews', 'mainReviewBox', 'Productreview');
    }

    public function search(\Doctrine\ORM\EntityManager $em, $phrase, \WebCMS\Entity\Language $language)
    {
        
    }
}

{'fraction_non_alphanumeric': 0.15521287294669794, 'fraction_numerical': 0.0006704659738518271, 'mean_word_length': 2.1880341880341883, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2187061', 'n_tokens_mistral': 936, 'n_tokens_neox': 877, 'n_words': 216}