Releases: rougin/wildfire
Releases · rougin/wildfire
v0.6.0
Added
$pagee
for customizing pagination inPaginateTrait
WritableTrait
for handling CRUD operations- Usage of timestamps (e.g.,
CREATED_AT
,UPDATED_AT
)
Changed
WildfireTrait::wildfire
returnsWildfire
instance- Code coverage to
Codecov
- Code documentation by
php-cs-fixer
- Improved code quality by
phpstan
- Simplified code structure
- Workflow to
Github Actions
Fixed
- Getting offset value in
PaginateTrait
v0.5.0
NOTE: This release will introduce a backward compatability break if upgrading from v0.4.0
release.
Added
Model
classTraits\PaginateTrait::paginate($page, $total, $config = array())
Traits\ValidateTrait::errors
Traits\WildfireTrait
Wildfire::__construct($data)
Wildfire::dropdown($column)
Wildfire::find($table, $id)
Wildfire::get($table = '', $limit = null, $offset = null)
Wildfire::result($model = '')
Removed
CodeigniterModel
classHelpers
directoryTraits\DatabaseTrait
traitTraits\ModelTrait
traitTraits\PaginateTrait::paginate($perPage, $config = array())
Traits\ResultTrait
traitTraits\ValidateTrait::validation_errors
Wildfire::__construct($database = null, $query = null)
Wildfire::asDropdown($description = 'description')
Wildfire::find($table, $delimiters = array())
Wildfire::get($table = '')
Wildfire::result
Wildfire::setDatabase($database)
Wildfire::setQuery($query)
Wildfire
extended toCI_Model
v0.4.0
Added
CodeigniterModel
that extends toCI_Model
$belongs_to
for one-to-one relationships$hidden
for hiding columnsValidateTrait
for validating data using CodeIgniter'sForm_validation
classPaginateTrait
for creating pagination links using CodeIgniter'sPagination
class
Changed
- Version of
rougin/describe
to~1.5