lithium\tests\integration\test\FilterTest::_perms PHP Method

_perms() protected method

protected _perms ( $arr )
    protected function _perms($arr)
    {
        $p = array();
        for ($i = 0; $i < $this->_factorial(count($arr)); $i++) {
            $p[] = $this->_perm($arr, $i);
        }
        return $p;
    }