<?php
namespace Cassette;
class TagController extends BaseController{
function __construct($tag_entry)
{
foreach($tag_entry as $el => $val)
{
$this->$el = $val;
}
}
public function getUrl()
{
return $this->vl( $this->getName() );
}
public function getName()
{
return $this->name;
}
public function getLink(){
return '<a href="'. $this->entry_link .'">'. $this->entry_link_label .'</a>';
}
}
?>