PHPackages                             zuborawka/cakephp-thread-utility - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zuborawka/cakephp-thread-utility

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

zuborawka/cakephp-thread-utility
================================

Utility class to handle threaded data which genereted by CakePHP Model::find('threaded')

v1.0(12y ago)012MITPHPPHP &gt;=5.2.8

Since Feb 3Pushed 12y agoCompare

[ Source](https://github.com/zuborawka/cakephp-thread-utility)[ Packagist](https://packagist.org/packages/zuborawka/cakephp-thread-utility)[ Docs](https://github.com/zuborawka/cakephp-thread-utility)[ RSS](/packages/zuborawka-cakephp-thread-utility/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

cakephp-thread-utility
======================

[](#cakephp-thread-utility)

Utility class to handle threaded data generated by CakePHP Model::find('threaded')

### Usage

[](#usage)

#### in CategoriesController

[](#in-categoriescontroller)

// Category model acts as Tree

```
$threaded = $this->Category->find('threaded');
$tableRows = ThreadUtility::threadToRows($threaded);
```

#### in view

[](#in-view)

```
