Public Member Functions | |
SKINEXPORT () | |
addTemplate ($id) | |
addSkin ($id) | |
setInfo ($info) | |
export ($setHeaders=1) | |
escapeCDATA ($cdata) | |
Public Attributes | |
$templates | |
$skins | |
$info |
Definition at line 430 of file skinie.php.
SKINEXPORT::SKINEXPORT | ( | ) |
Constructor initializes data structures
Definition at line 439 of file skinie.php.
SKINEXPORT::addTemplate | ( | $ | id | ) |
Adds a template to be exported
id | template ID |
Definition at line 457 of file skinie.php.
References TEMPLATE::existsID(), and TEMPLATE::getNameFromId().
SKINEXPORT::addSkin | ( | $ | id | ) |
Adds a skin to be exported
id | skin ID |
Definition at line 472 of file skinie.php.
References SKIN::existsID(), and SKIN::getNameFromId().
SKINEXPORT::setInfo | ( | $ | info | ) |
Sets the extra info to be included in the exported file
Definition at line 483 of file skinie.php.
References $info.
SKINEXPORT::export | ( | $ | setHeaders = 1 |
) |
Outputs the XML contents of the export file
$setHeaders | set to 0 if you don't want to send out headers (optional, default 1) |
Definition at line 495 of file skinie.php.
References escapeCDATA(), TEMPLATE::getDesc(), mysql_fetch_object(), sql_query(), and sql_table().
SKINEXPORT::escapeCDATA | ( | $ | cdata | ) |
Escapes CDATA content so it can be included in another CDATA section
Definition at line 565 of file skinie.php.
Referenced by export().
SKINEXPORT::$templates |
Definition at line 432 of file skinie.php.
SKINEXPORT::$skins |
Definition at line 433 of file skinie.php.
SKINEXPORT::$info |