/** * The maximum length of the result field * * @return int */ protected function _getResultFieldLength() { if (null !== $this->resultFieldLength) { return $this->resultFieldLength; } if (null !== self::$staticResultFieldLength) { $this->resultFieldLength = self::$staticResultFieldLength; return $this->resultFieldLength; } $model = new \MUtil_Model_TableModel('gems__tokens'); self::$staticResultFieldLength = $model->get('gto_result', 'maxlength'); $this->resultFieldLength = self::$staticResultFieldLength; return $this->resultFieldLength; }