This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/Rails/ActionController/Response/Base.php

27 lines
531 B
PHP
Raw Normal View History

2013-10-02 08:12:58 +02:00
<?php
namespace Rails\ActionController\Response;
use Rails\ActionController;
abstract class Base extends ActionController\Response
{
public function __construct(array $params = array())
{
$this->_params = $params;
}
public function render_view()
{
$this->_render_view();
return $this;
}
public function get_contents()
{
return $this->_print_view();
}
abstract public function _render_view();
abstract public function _print_view();
}