function __construct( $row )
    {
        parent::__construct( $row );
        $this->configurations = ChannelBlockConfiguration::getConfigurationsByBlock( $this->attribute("id") );

        $templateObject = ChannelTemplate::getTemplateById( $this->attribute("template_id") );
        if( $templateObject )
        {
            $this->template = $templateObject->attribute("template_web");
            if( ContextTool::instance()->isMobile() && $templateObject->attribute("template_mobile") )
            {
                $this->template = $templateObject->attribute("template_mobile");
            }
        }
    }