Exemplo n.º 1
0
 /**
  *
  * @param string $side
  * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
  */
 public function setAttachment(HtmlSemDoubleElement $toElement, $value = Side::BOTH)
 {
     if (isset($toElement)) {
         $toElement->addToPropertyCtrl("class", "attached", array("attached"));
     }
     return $this->addToPropertyCtrl("class", $value . " attached", Side::getConstantValues("attached"));
 }
Exemplo n.º 2
0
 public function setAttached($side = "", HtmlDoubleElement $toElement = NULL)
 {
     if (isset($toElement)) {
         $toElement->addToPropertyCtrl("class", "attached", array("attached"));
     }
     return $this->addToPropertyCtrl("class", $side . " attached", Side::getConstantValues("attached"));
 }
Exemplo n.º 3
0
 public function setAttached($side = Side::TOP, $direction = Direction::NONE)
 {
     if ($direction !== Direction::NONE) {
         return $this->addToPropertyCtrl("class", $side . " " . $direction . " attached", Side::getConstantValues($direction . " attached"));
     } else {
         return $this->addToPropertyCtrl("class", $side . " attached", Side::getConstantValues("attached"));
     }
 }