class-XMLUserImporter

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

Class XMLUserImporter

Package: com\tecnick\tcexam\admin
Author: Nicola Asuni [www.tecnick.com]
Version: 1.0.000
Class:

XMLUserImporter This PHP Class imports users and groups data directly from a XML file.


Located at admin/code/tce_import_users.php
Methods summary
public
# __construct( $xmlfile )

Class constructor.

public
# __destruct( )

Class destructor;

private
# startElementHandler( $parser, $name, $attribs )

Sets the start element handler function for the XML parser parser.start_element_handler.

private
# endElementHandler( $parser, $name )

Sets the end element handler function for the XML parser parser.end_element_handler.

private
# segContentHandler( $parser, $data )

Sets the character data handler function for the XML parser parser.handler.

Properties summary
private string $current_element

String Current data element.

# ''
private string $current_data

String Current data value.

# ''
private array $user_data

Array Array for storing user data.

# array()
private array $group_data

Array for storing user's group data.

# array()
private integer $user_id

Int ID of last inserted user (counter)

# 0
private string $xmlfile

String XML file

# ''
 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy