<commit_before><?php
/**
 * Abstract template.
 *
 * @category  ZendExt
 * @package   ZendExt_Crud
 * @copyright 2010 Monits
 * @license   Copyright (C) 2010. All rights reserved.
 * @version   Release: 1.0.0
 * @link      http://www.monits.com/
 * @since     1.0.0
 */

/**
 * Abstract template.
 *
 * @category  ZendExt
 * @package   ZendExt_Crud
 * @author    lbritez <<EMAIL>>
 * @copyright 2010 Monits
 * @license   Copyright 2010. All rights reserved.
 * @version   Release: 1.0.0
 * @link      http://www.monits.com/
 * @since     1.0.0
 */
abstract class ZendExt_Crud_TemplateAbstract implements ZendExt_Crud_Template
{
    private $_title = '';

    /**
     * Set the title of the form.
     *
     * @param $title The new title for the form.
     *
     * @return void
     */
    public function setTitle($title)
    {
        $this->_title = $title;
    }

    /**
     * The content to be render between head() and footer().
     *
     * @return void
     */
    protected function _renderContent()
    {
    }

    /**
     * Render the form.
     *
     * @return void
     */
    public function render()
    {
        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
        echo '<html>';
        echo '<head>';
        echo     '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
        echo     '<title>'. $this->_title .'</title>';
        echo '</head>';
        echo '<body>';

        $this->_renderContent();

        echo '</body>';
        echo '</html>';
    }
}<commit_msg>Cambie de protected a private la funcion _renderContent.<commit_after><?php
/**
 * Abstract template.
 *
 * @category  ZendExt
 * @package   ZendExt_Crud
 * @copyright 2010 Monits
 * @license   Copyright (C) 2010. All rights reserved.
 * @version   Release: 1.0.0
 * @link      http://www.monits.com/
 * @since     1.0.0
 */

/**
 * Abstract template.
 *
 * @category  ZendExt
 * @package   ZendExt_Crud
 * @author    lbritez <<EMAIL>>
 * @copyright 2010 Monits
 * @license   Copyright 2010. All rights reserved.
 * @version   Release: 1.0.0
 * @link      http://www.monits.com/
 * @since     1.0.0
 */
abstract class ZendExt_Crud_TemplateAbstract implements ZendExt_Crud_Template
{
    private $_title = '';

    /**
     * Set the title of the form.
     *
     * @param $title The new title for the form.
     *
     * @return void
     */
    public function setTitle($title)
    {
        $this->_title = $title;
    }

    /**
     * The content to be render between head() and footer().
     *
     * @return void
     */
    private function _renderContent()
    {
    }

    /**
     * Render the form.
     *
     * @return void
     */
    public function render()
    {
        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
        echo '<html>';
        echo '<head>';
        echo     '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
        echo     '<title>'. $this->_title .'</title>';
        echo '</head>';
        echo '<body>';

        $this->_renderContent();

        echo '</body>';
        echo '</html>';
    }
}
{'fraction_non_alphanumeric': 0.15245951726245036, 'fraction_numerical': 0.021387106630003056, 'mean_word_length': 1.9415992812219227, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2132413', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1040, 'n_words': 267}