mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add an interface for checking xml
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8931 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
af48b6f406
commit
de686008dd
4 changed files with 108 additions and 11 deletions
|
|
@ -19,6 +19,19 @@
|
|||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check whether the passing filename exists or not. Detect the file type, too.
|
||||
*/
|
||||
function procImporterAdminCheckXmlFile() {
|
||||
$filename = Context::get('filename');
|
||||
|
||||
// TODO : when it success
|
||||
$this->add('exists', 'true');
|
||||
$this->add('type', 'XML'); // or TTXML
|
||||
|
||||
// return new Object(-1, 'error');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief sync member information with document information
|
||||
**/
|
||||
|
|
@ -936,5 +949,6 @@
|
|||
}
|
||||
return $extra_vars;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue