File: /var/www/vhosts/creativefellows.nl/figi.creativefellows.nl/classes/FigiCategoryController.php
<?php
class FigiCategoryController extends BaseController{
function __construct($category,$router_base_url)
{
$this->router_url = $router_base_url;
foreach($category as $el => $val)
{
$this->$el = $val;
}
}
public function getCategoryId()
{
return $this->id;
}
public function getCategoryCode()
{
return $this->code;
}
public function getVisibility()
{
return $this->on_website;
}
public function getCategoryName()
{
return $this->descr;
}
}
?>