Dao Plugin


Data Access Object layer plugin. 

Allows to create, retrieve, update, delete and manipulate database as objects. Works with Jooma 1.6 as well.

Example:

$content = new Content();
$content->title = 'Lorem ipsum';
$content->Save();

$content = Content::Retrieve( 1 );
$content->title = 'Updated title';
$content->Save();

$content->Delete();

Sources on github:
http://github.com/fornve/Joomla--DAO

No comments:

Post a Comment