Skip to content

Tree Behavior for PhalconPHP your table must have field : - parent_id type bigint null - lft type bigint null - rght type bigint null your model must provice setter and getter variable method save this behavior on yourappName/models/Behavour/TreeBehavior.php use it on your model public function initialize() { $this->addBehavior(new TreeBehavior(…

License

Notifications You must be signed in to change notification settings

bendo01/Phalcon-TreeBehavior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Phalcon-TreeBehavior

Tree Behavior for PhalconPHP your table must have field :

  • parent_id type int null
  • lft type int null
  • rght type int null

your model must provice setter and getter variabel method

save this Behavior on yourappName/models/Behavour/TreeBehavior.php use it on your model public function initialize() { $this->addBehavior(new TreeBehavior()); }

example how to use it is on https://gist.github.com/bendo01/7090438

About

Tree Behavior for PhalconPHP your table must have field : - parent_id type bigint null - lft type bigint null - rght type bigint null your model must provice setter and getter variable method save this behavior on yourappName/models/Behavour/TreeBehavior.php use it on your model public function initialize() { $this->addBehavior(new TreeBehavior(…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages