\SVGTemplate
Class SVGTemplate
Synopsis
class SVGTemplate
extends ViewableData
{
- // members
- private static string $base_path = 'mysite/images/svg/';
- private static string $extension = 'svg';
- private static array $default_extra_classes = ;
- private $path;
- private $fill;
- private $width;
- private $height;
- private $extraClasses;
- // methods
- public void __construct()
- public $this fill()
- public $this width()
- public $this height()
- public $this size()
- public $this extraClass()
- private string process()
- public string forTemplate()
Hierarchy
Extends
- ViewableData
Members
private
- $base_path
—
string
The base path to your SVG location - $default_extra_classes — array
- $extension — string
- $extraClasses — array
- $fill — string
- $height — string
- $path — string
- $width — string