Windwalker Models

Windwalker has many Model classes and each one do different things.



The basic model, it can fetch Table and provides a Registry interface to setting state, just same as Joomla Model.


Using for list page, you can write a query in it then this model will helper you get list from database and handle search, filter, sorting and pagination etc. See ListModel Section


A simple Model to get one item record.


CrudModel & AdminModel

These two models use on singular item page. CrudModel provides some methods help you do CRUD to a table. The AdminModel is extends CrudModel, provides some advanced functions when you do CRUD in admin.

$form = $model->getForm();


Found a typo? Help us improve this document.

This document is for Windwalker Joomla RAD, if you are finding Windwalker PHP framework, please see: Windwalker Framework