public function sticky($attribute, $params) { if (!$this->hasErrors()) { $this->_stickyAttributes[$attribute] = $this->{$attribute}; } }