phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlImg.php
Go to the documentation of this file.
1<?php
2
4
6
8
9 public function __construct($identifier, $src="", $alt="") {
10 parent::__construct($identifier, $src, $alt);
11 $this->_baseClass="ui image";
12 $this->setClass($this->_baseClass);
13 }
14
15 public function asAvatar($caption=NULL) {
16 if (isset($caption))
17 $this->wrap("", $caption);
18 return $this->addToProperty("class", "avatar");
19 }
20
25 public function addContent($content, $before=false) {}
26}
wrap($before, $after="")
Definition BaseHtml.php:170
addToProperty($name, $value, $separator=" ")
addContent($content, $before=false)
Definition HtmlImg.php:25
__construct($identifier, $src="", $alt="")
Definition HtmlImg.php:9