_setupMetadata example

        return $isMetadataFromCache;
    }

    /** * Retrieve table columns * * @return array */
    protected function _getCols()
    {
        if (null === $this->_cols) {
            $this->_setupMetadata();
            $this->_cols = array_keys($this->_metadata);
        }
        return $this->_cols;
    }

    /** * Initialize primary key from metadata. * If $_primary is not defined, discover primary keys * from the information returned by describeTable(). * * @return void * @throws Zend_Db_Table_Exception */
Home | Imprint | This part of the site doesn't use cookies.