Source of file TemplateBlockContainer.php

Size: 3,219 Bytes - Last Modified: 2016-05-18T03:08:27+02:00

buildproject/core/module_system/system/TemplateBlockContainer.php

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
<?php
/*"******************************************************************************************************
*   (c) 2015-2016 by Kajona, www.kajona.de                                                         *
*       Published under the GNU LGPL v2.1, see /system/licence_lgpl.txt                                 *
********************************************************************************************************/

namespace Kajona\System\System;


/**
 * A single value holder for a single block
 *
 * @package module_system
 * @author sidler@mulchprod.de
 * @since 5.0
 *
 */
class TemplateBlockContainer
{

    private $strName = "";
    private $strType = "";
    private $strTag = "";
    private $strContent = "";
    private $strFullSection = "";

    private $arrBlocks = array();
    private $arrPlaceholder = array();

    /**
     * TemplateBlockContainer constructor.
     *
     * @param string $strType
     * @param string $strContent
     * @param string $strName
     * @param string $strTag
     */
    public function __construct($strType, $strName, $strTag, $strContent, $strFullSection)
    {
        $this->strType = $strType;
        $this->strContent = $strContent;
        $this->strName = $strName;
        $this->strTag = $strTag;
        $this->strFullSection = $strFullSection;
    }

    /**
     * @return TemplateBlockContainer[]
     */
    public function getArrBlocks()
    {
        return $this->arrBlocks;
    }

    /**
     * @param array $arrBlocks
     */
    public function setArrBlocks($arrBlocks)
    {
        $this->arrBlocks = $arrBlocks;
    }

    /**
     * @return string
     */
    public function getStrType()
    {
        return $this->strType;
    }

    /**
     * @param string $strType
     */
    public function setStrType($strType)
    {
        $this->strType = $strType;
    }

    /**
     * @return string
     */
    public function getStrContent()
    {
        return $this->strContent;
    }

    /**
     * @param string $strContent
     */
    public function setStrContent($strContent)
    {
        $this->strContent = $strContent;
    }

    /**
     * @return string
     */
    public function getStrFullSection()
    {
        return $this->strFullSection;
    }

    /**
     * @param string $strFullSection
     */
    public function setStrFullSection($strFullSection)
    {
        $this->strFullSection = $strFullSection;
    }

    /**
     * @return string
     */
    public function getStrName()
    {
        return $this->strName;
    }

    /**
     * @param string $strName
     */
    public function setStrName($strName)
    {
        $this->strName = $strName;
    }

    /**
     * @return string
     */
    public function getStrTag()
    {
        return $this->strTag;
    }

    /**
     * @param string $strTag
     */
    public function setStrTag($strTag)
    {
        $this->strTag = $strTag;
    }

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

    /**
     * @param array $arrPlaceholder
     */
    public function setArrPlaceholder($arrPlaceholder)
    {
        $this->arrPlaceholder = $arrPlaceholder;
    }


}