'title', 'ARTIST' => 'artist', 'DATE' => 'date', 'IMAGE' => 'img', 'CATALOGUE' => 'catalogue' ); public $values; protected $layout; protected $layouts = array( 'default' => 'view_in_toc', 'toc' => 'view_in_toc' ); function __construct($keys,$config) { parent::__construct($keys,$config); } function simple() { return sprintf("sdsd"); } function view_in_toc() { $f3 = \Base::instance(); $v = (object) $this->values; $img = new CachedImage($this->config['path'].$v->img); $img_html = sprintf('', $img->get_src(1000)); return sprintf( "