/**
  * Initialize internal state based on input variables
  *
  * @return bool if initialization was successfull
  */
 protected function initFromInput()
 {
     global $INPUT;
     $this->schemadata = null;
     $this->column = null;
     $pid = $INPUT->str('pid');
     list($table, $field) = explode('.', $INPUT->str('field'));
     if (blank($pid)) {
         return false;
     }
     if (blank($table)) {
         return false;
     }
     if (blank($field)) {
         return false;
     }
     $this->pid = $pid;
     try {
         $this->schemadata = AccessTable::byTableName($table, $pid);
     } catch (StructException $ignore) {
         return false;
     }
     $this->column = $this->schemadata->getSchema()->findColumn($field);
     if (!$this->column || !$this->column->isVisibleInEditor()) {
         $this->schemadata = null;
         $this->column = null;
         return false;
     }
     return true;
 }
 public function buildGetDataSQL()
 {
     return parent::buildGetDataSQL();
 }