gaiagroup/mdogo — pull request #12 by dmbch (2014-07-07 14:19:55+00:00)
Title: adds subview support

```php
class Nested extends Mdogo_View
{
function __construct($main = false, $sub = false)
{
parent::__construct($main);
$this->sub = new Mdogo_View($sub);
}
}

$view = new Nested('{{foo}} {{sub}}', '{{bar}}');
echo $view->render(new Mdogo_Model_Example(1));
```