protected function getMetaColumns($sPrefix = '', $aCols = [])
    {
        if ($this->aMetaColumns === null) {

            $oDb                = Factory::service('Database');
            $aResult            = $oDb->query('DESCRIBE `' . $this->tableMeta . '`')->result();
            $this->aMetaColumns = [];

            foreach ($aResult as $oResult) {
                if ($oResult->Field !== 'user_id') {
                    $this->aMetaColumns[] = $oResult->Field;
                }
            }
        }

        $aCols = array_merge($aCols, $this->aMetaColumns);

        return $this->prepareDbColumns($sPrefix, $aCols);
    }
protected function getMetaColumns($sPrefix = '', $aCols = [])
    {
        if ($this->aMetaColumns === null) {

            $oDb                = Factory::service('Database');
            $aResult            = $oDb->query('DESCRIBE `' . $this->tableMeta . '`')->result();
            $this->aMetaColumns = [];

            foreach ($aResult as $oResult) {
                if ($oResult->Field !== 'user_id') {
                    $this->aMetaColumns[] = $oResult->Field;
                }
            }
        }

        $aCols = array_merge($aCols, $this->aMetaColumns);

        return $this->prepareDbColumns($sPrefix, $aCols);
    }
protected function getMetaColumns ( $ sPrefix = '' , $ aCols = [ ] ) { if ( $ this -> aMetaColumns === null ) { $ oDb = Factory :: service ( 'Database' ) ; $ aResult = $ oDb -> query ( 'DESCRIBE `' . $ this -> tableMeta . '`' ) -> result ( ) ; $ this -> aMetaColumns = [ ] ; foreach ( $ aResult as $ oResult ) { if ( $ oResult -> Field !== 'user_id' ) { $ this -> aMetaColumns [ ] = $ oResult -> Field ; } } } $ aCols = array_merge ( $ aCols , $ this -> aMetaColumns ) ; return $ this -> prepareDbColumns ( $ sPrefix , $ aCols ) ; }
Defines the list of columns in the meta table

@param string $sPrefix The prefix to add to the columns
@param array  $aCols   Any additional columns to add

@return array
Defines the list of columns in the meta table