<?php
class HeaderWidget extends Widget
{
    public $title;
    
    public $description = '';
    
    public $keywords = '';
    
    public function run()
    {
        $this->render('root.templates.'. setting('template') . '.web.header', array(
                'iorange_id' => $this->getOwner()->uid(),
                'username' => $this->getOwner()->userName(),
                'iorange' => $this->getOwner()->iorange(),
                'title' => $this->title,
                'description' => $this->description,
                'keywords' => $this->keywords, 
            )
        );
    }
}