/**
  * Function to setup the data editor table.
  * This function will display the result of
  * user suppiled query, if user not supplied
  * any query then this function will display
  * all entities in the data service.
  */
 public function display()
 {
     if ($this->_query == '') {
         WCFDataServicesEntity::displayEntities();
     } else {
         WCFDataServicesEntity::displayEntityData();
     }
 }