36 $this->_variations = [
50 $this->_container = $container;
56 $this->content = $value;
66 $to = min($this->_container->count(), $this->_row + $rowspan - 1);
68 $this->_container->toDelete($i, $this->_col);
71 return $this->_container->_setMerged(
true);
75 $to = min($this->_container->count(), $this->_row + $rowspan - 1);
77 $this->_container->toRowspanned($i, $this->_col);
80 return $this->_container->_setMerged(
true);
84 if (! $this->_rowMerged) {
85 $this->_rowMerged =
true;
86 return $this->
setRowspan($this->_container->count());
92 if (! $this->_colMerged) {
93 $this->_colMerged =
true;
94 return $this->
setColspan($this->_container->getRow($this->_row)
101 $to = min($this->_container->getRow($this->_row)->count(), $this->_col + $colspan - 1);
103 $this->_container->delete($this->_row, $this->_col + 1);
111 if (\array_key_exists(
"colspan", $this->properties))
118 if (\array_key_exists(
"rowspan", $this->properties))
124 if ($callback($this)) {
136 if (\is_string($this->content)) {
137 $this->content =
new HtmlLink(
"", $href, $this->content);
143 if (\is_int($width)) {
153 $this->_deleted =
true;
158 if (! $this->_deleted)
159 return parent::compile($js, $view);
addToProperty($name, $value, $separator=" ")
addContent($content, $before=false)
setProperty($name, $value)
conditionalCellFormat($callback, $format)
Base class for Semantic double elements.
__construct($identifier, $content=NULL, $tagName="td")
compile(JsUtils $js=NULL, &$view=NULL)
setContainer($container, $row, $col)
addToPropertyCtrl($name, $value, $typeCtrl)