pushrbx icon

Untitled

pushrbx | PRO | 02/24/14 06:10:01 AM UTC | 0 ⭐ | 373 👁️ | Never ⏰ | []
PHP |

740 B

|

None

|

0 👍

/

0 👎

$datasheets = ItJsonDecoder::decode($f,
    function(&$stack, $endAr = false)
    {
        /*
         * stack array inner index:
         * 1,0 -> genre
         * 1,1 -> Songs (just anime, this vanquishes when its not)
         * 1,2 -> Raw Data (skip)
         * 
         */
        $data = array(
                'Node' => array(
                        'user_id' => 1
                ),
                'Datasheet' => array(
                        'Contributor' => array()
                ),
                'Taxonomy' => array(),
                'Character' => array()
        );
        
        $this->Node->create();
        //$ds = $stack[0][0];
        // tobb retegu mindegyik
        Debugger::log($stack, 0);
        
        if($this->counter != 40)
            $this->counter++;
        else 
            exit();
    },
    function($key, $startAr = false)
    {
        if($startAr)
        {
            Debugger::log('Array start. Key: ' . $key, 0);
        }
    }
);

Comments