/** * Return a list of appropriate templates for this class, with the given suffix using * {@link SSViewer::get_templates_by_class()} * * @param string $suffix * @return array */ public function getTemplatesWithSuffix($suffix) { $templates = SSViewer::get_templates_by_class(get_class($this), $suffix, __CLASS__); return SSViewer::chooseTemplate($templates); }