/** * Private function to handle ensureVisible stuff * * @return void * @access private */ function _ensureVisible() { $this->ensureVisible = true; $this->expanded = true; if (!is_null($this->parent)) { $this->parent->_ensureVisible(); } }