/** * Fetch the metadata about this attrib from the table metadata, and * process it. * * @param array $metadata The table metadata from the table for this * attribute. */ public function fetchMeta($metadata) { $this->m_dbfieldtype = isset($metadata[$this->fieldName()]['gentype']) ? $metadata[$this->fieldName()]['gentype'] : null; if ($this->m_dbfieldtype == 'string') { parent::fetchMeta($metadata); } }