public function setType($type) { $this->type = $type; if ('css' == strtolower($type)) { $this->setMovable(false); } return $this; }