Ajax/semantic/html/base/HtmlSemDoubleElement.php 1 location
|
@@ 28-35 (lines=8) @@
|
25 |
|
protected $_params=array (); |
26 |
|
|
27 |
|
|
28 |
|
public function __construct($identifier, $tagName="p", $baseClass="ui", $content=NULL) { |
29 |
|
parent::__construct($identifier, $tagName); |
30 |
|
$this->_baseClass=$baseClass; |
31 |
|
$this->setClass($baseClass); |
32 |
|
if (isset($content)) { |
33 |
|
$this->content=$content; |
34 |
|
} |
35 |
|
} |
36 |
|
|
37 |
|
/** |
38 |
|
* Defines the popup attributes |
Ajax/semantic/html/elements/html5/HtmlLink.php 1 location
|
@@ 13-19 (lines=7) @@
|
10 |
|
class HtmlLink extends HtmlSemDoubleElement { |
11 |
|
use HtmlLinkTrait; |
12 |
|
|
13 |
|
public function __construct($identifier, $href="#", $content="Link",$target=NULL) { |
14 |
|
parent::__construct($identifier, "a", ""); |
15 |
|
$this->setHref($href); |
16 |
|
if(isset($target)) |
17 |
|
$this->setTarget($target); |
18 |
|
$this->content=$content; |
19 |
|
} |
20 |
|
|
21 |
|
/* |
22 |
|
* (non-PHPdoc) |