protected function __templates($customTemplate = null, $customTemplateSuffix = null) {
		$templates = SSViewer::get_templates_by_class($this->class, $customTemplateSuffix, \FormField::class);
		//$templates = \SSViewer::get_templates_by_class($this->class, '', __CLASS__);
		if (!$templates) {
			throw new \Exception("No template found for {$this->class}");
		}
		if($customTemplate) {
			array_unshift($templates, $customTemplate);
		}
		return $templates;
	}
protected function __templates($customTemplate = null, $customTemplateSuffix = null) {
		$templates = SSViewer::get_templates_by_class($this->class, $customTemplateSuffix, \FormField::class);
		//$templates = \SSViewer::get_templates_by_class($this->class, '', __CLASS__);
		if (!$templates) {
			throw new \Exception("No template found for {$this->class}");
		}
		if($customTemplate) {
			array_unshift($templates, $customTemplate);
		}
		return $templates;
	}
protected function __templates ( $ customTemplate = null , $ customTemplateSuffix = null ) { $ templates = SSViewer :: get_templates_by_class ( $ this -> class , $ customTemplateSuffix , \ FormField :: class ) ; //$templates = \SSViewer::get_templates_by_class($this->class, '', __CLASS__); if ( ! $ templates ) { throw new \ Exception ( "No template found for {$this->class}" ) ; } if ( $ customTemplate ) { array_unshift ( $ templates , $ customTemplate ) ; } return $ templates ; }
Generate an array of class name strings to use for rendering this form field into HTML.

@param string $customTemplate
@param string $customTemplateSuffix

@return array
Generate an array of class name strings to use for rendering this form field into HTML .