options->nopriv || ! Helper::has_access_to_adminer() || ! Request::exists( 'connection_id' ) ) return false; $connection_id = Request::get_var( 'connection_id', 0, 'num' ); $connection_model = $this->model( 'Connection' ); $entity = $connection_model->get_connection( $connection_id ); if ( false === $entity ) return false; $data = $entity->to_array( array( 'created', 'modified', 'author_id' ) ); return $data; } }