public function add($obj, $boolApplyDefaultFloatStyle = true) { $obj = parent::add($obj); if ($boolApplyDefaultFloatStyle) { $obj->addHtmlOption('style', 'display: block;'); } return $obj; }
public function add($obj, $boolApplyDefaultStyles = true) { $obj = parent::add($obj); if ($boolApplyDefaultStyles == true) { $obj->addHtmlOption('style', 'float: left;'); } return $obj; }
public function add($obj) { return parent::add(new JamElement("LI", $obj)); }