Download the PHP package k1low/has_no without Composer
On this page you can find all versions of the php package k1low/has_no. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor k1low
Package has_no
Short Description Simple binding model practice plugin for CakePHP.
License MIT
Homepage https://github.com/k1LoW/has_no
Package has_no
Short Description Simple binding model practice plugin for CakePHP.
License MIT
Homepage https://github.com/k1LoW/has_no
Please rate this library. Is it a good library?
Informations about the package has_no
Simple binding model practice plugin for CakePHP.
This plugin support following binding model practice.
Bake and write bind property on model file. unbindModel() all. bindModel() you want to.
Features
- unbindModel() all by Model::belongsTo, Model::hasOne, Model::hasMany, Model::hasAndBelongsToMany.
- Provide simple bind model method has(), hasAll() by Model::belongsTo, Model::hasOne, Model::hasMany, Model::hasAndBelongsToMany.
!!!!!NOTICE!!!!!
HasNo >= 3.x
Containable based
HasNo 2.x
Property modifiy based
Usage
Add the following code in whichever model you want to unbindModel() all (ex. Post
Model).
And if you want to use model's bind property, use method $this->Post->has('Comment')
, $this->Post->has(array('Comment', 'Tag'))
or $this->Post->hasAll()
.
License
under MIT License
All versions of has_no with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
*
The package k1low/has_no contains the following files
Loading the files please wait ....