protected function withoutBulk(array $data = [])
    {
        if ($this->isArray($data)) {
            return;
        }

        $row = $this->data->addChild('row');

        $row->addAttribute('no', 1);

        foreach ($data['data'] as $key => $value) {
            $child = $row->addChild('FL', $value);

            $child->addAttribute('val', $key);
        }
    }
protected function withoutBulk(array $data = [])
    {
        if ($this->isArray($data)) {
            return;
        }

        $row = $this->data->addChild('row');

        $row->addAttribute('no', 1);

        foreach ($data['data'] as $key => $value) {
            $child = $row->addChild('FL', $value);

            $child->addAttribute('val', $key);
        }
    }
protected function withoutBulk ( array $ data = [ ] ) { if ( $ this -> isArray ( $ data ) ) { return ; } $ row = $ this -> data -> addChild ( 'row' ) ; $ row -> addAttribute ( 'no' , 1 ) ; foreach ( $ data [ 'data' ] as $ key => $ value ) { $ child = $ row -> addChild ( 'FL' , $ value ) ; $ child -> addAttribute ( 'val' , $ key ) ; } }
Only one element in data array. For BC.

@param array $data
Only one element in data array . For BC .