TemplateHandler::init(), TemplateHandler::parse() visibility 변경

This commit is contained in:
bnu 2015-04-10 14:55:17 +09:00
parent 8af24d698a
commit 6d093aed91

View file

@ -68,7 +68,7 @@ class TemplateHandler
* @param string $tpl_file
* @return void
*/
private function init($tpl_path, $tpl_filename, $tpl_file = '')
protected function init($tpl_path, $tpl_filename, $tpl_file = '')
{
// verify arguments
if(substr($tpl_path, -1) != '/')
@ -213,7 +213,7 @@ class TemplateHandler
* @param string $buff template file
* @return string compiled result in case of success or NULL in case of error
*/
private function parse($buff = null)
protected function parse($buff = null)
{
if(is_null($buff))
{