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")); }