27 lines
531 B
PHP
Executable File
27 lines
531 B
PHP
Executable File
<?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();
|
|
} |