private function assign_hidden($thing) { if ($this->hidden) { $thing->hide(); } $this->hidden = false; }