Initial Commit
This commit is contained in:
19
core/Elements/Style.class.php
Normal file
19
core/Elements/Style.class.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Elements;
|
||||
|
||||
class Style extends Source {
|
||||
|
||||
private $style;
|
||||
|
||||
function __construct($style) {
|
||||
parent::__construct('style', '');
|
||||
$this->style = $style;
|
||||
}
|
||||
|
||||
function getCode() {
|
||||
return "<style>$this->style</style>";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user