PHPackages                             akawalko/zfext - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. akawalko/zfext

ActiveLibrary[Framework](/categories/framework)

akawalko/zfext
==============

Library extends the functionality of Zend Framework version 1.12.

1.0(11y ago)021MITCSSPHP &gt;=5.3.0

Since Aug 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/akawalko/ZFExt)[ Packagist](https://packagist.org/packages/akawalko/zfext)[ Docs](https://github.com/akawalko/ZFExt)[ RSS](/packages/akawalko-zfext/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

ZFExt
=====

[](#zfext)

ZFExt is a library extending components of the Zend Framework 1.12. I have several projects build on top of ZF1, so I decided to share my tips and tricks with you.

ZFExt\_Db\_Table
----------------

[](#zfext_db_table)

This class is derived from Zend\_Db\_Table. It provide clean, almost transparent cache layer.

### Usage

[](#usage)

First we have to create class that inherits from ZFExt\_Db\_Table. Here we declare two standard methods, **get()** &amp; **getAll()**, which will fetch record from database table called **users** by ID and fetch all records respectively. By passing argument called **$useCache** we can control when retrieve data from the database and when from the buffer.

```
