<commit_before><?php
    /**
     * Plugin Instances Entity
     *
     * This is a Doctorine 2 definition file for Plugin Instances  This file
     * is used for any module that needs to know about plugin instances.
     *
     * PHP version 5.3
     *
     * LICENSE: No License yet
     *
     * @category  Reliv
     * @package   Common\Entites
     * @author    <NAME> <<EMAIL>>
     * @copyright 2012 Reliv International
     * @license   License.txt New BSD License
     * @version   GIT: <git_id>
     * @link      http://ci.reliv.com/confluence
     */
namespace Rcm\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * Plugin Instances Entity
 *
 * This object contains a list of plugin instances.  See documentation for
 * how our plugins work.
 *
 * @category  Reliv
 * @package   Common\Entites
 * @author    <NAME> <<EMAIL>>
 * @copyright 2012 Reliv International
 * @license   License.txt New BSD License
 * @version   Release: 1.0
 * @link      http://ci.reliv.com/confluence
 *
 * @ORM\Entity
 * @ORM\Table(name="rcm_page_plugin_instances")
 */

class PagePluginInstance
{

    /**
     * @var int Auto-Incremented Primary Key
     *
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    protected $pageInstanceId;

    /**
     * @var integer Layout Placement
     *
     * @ORM\Column(type="integer")
     */
    protected $layoutContainer;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer")
     */
    protected $renderOrder;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer", nullable=true)
     */
    protected $height;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer", nullable=true)
     */
    protected $width;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="string", nullable=true)
     */
    protected $divFloat = 'left';

    /**
     * @ORM\ManyToOne(targetEntity="PluginInstance")
     * @ORM\JoinColumn(
     *      name="instance_id",<commit_msg>optomize home page from 46 queries down to 27<commit_after><?php
    /**
     * Plugin Instances Entity
     *
     * This is a Doctorine 2 definition file for Plugin Instances  This file
     * is used for any module that needs to know about plugin instances.
     *
     * PHP version 5.3
     *
     * LICENSE: No License yet
     *
     * @category  Reliv
     * @package   Common\Entites
     * @author    <NAME> <<EMAIL>>
     * @copyright 2012 Reliv International
     * @license   License.txt New BSD License
     * @version   GIT: <git_id>
     * @link      http://ci.reliv.com/confluence
     */
namespace Rcm\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * Plugin Instances Entity
 *
 * This object contains a list of plugin instances.  See documentation for
 * how our plugins work.
 *
 * @category  Reliv
 * @package   Common\Entites
 * @author    <NAME> <<EMAIL>>
 * @copyright 2012 Reliv International
 * @license   License.txt New BSD License
 * @version   Release: 1.0
 * @link      http://ci.reliv.com/confluence
 *
 * @ORM\Entity
 * @ORM\Table(name="rcm_page_plugin_instances")
 */

class PagePluginInstance
{

    /**
     * @var int Auto-Incremented Primary Key
     *
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    protected $pageInstanceId;

    /**
     * @var integer Layout Placement
     *
     * @ORM\Column(type="integer")
     */
    protected $layoutContainer;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer")
     */
    protected $renderOrder;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer", nullable=true)
     */
    protected $height;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="integer", nullable=true)
     */
    protected $width;

    /**
     * @var integer Order of Layout Placement
     *
     * @ORM\Column(type="string", nullable=true)
     */
    protected $divFloat = 'left';

    /**
     * @ORM\ManyToOne(targetEntity="PluginInstance",fetch="EAGER")
     * @ORM\JoinColumn(
     *      name="instance_id",
{'fraction_non_alphanumeric': 0.12153419593345656, 'fraction_numerical': 0.006931608133086876, 'mean_word_length': 2.342857142857143, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5613187', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1312, 'n_words': 341}