17 $this->_properties=array();
23public function init($section) {
24 $this->_section=$section;
30 if ($status==
'init') {
44 public function delete() {
49 $path =
dbx()->os_path($path);
50 $path_file=$path.$file;
51 if (file_exists($path_file)) {
52 $ok=unlink($path_file);
68 $path_file=$path.$file;
74 if (!is_dir($archiv))
return 'error';
77 $date_dir=date(
"Y-m-d").
'/';
79 if (!is_dir($archiv)) {
80 if (!mkdir($archiv, 0777,
true)) {
89 $oldname=
dbx()->os_path($path_file);
90 $newname=
dbx()->os_path($archiv.$file);
91 if (file_exists($oldname)) {
92 $ok= rename($oldname, $newname);
108 $path=
dbx()->os_path($path);
112 if (!is_dir($path)) {
120 $all_files=scandir($path);
121 foreach ($all_files as
$file) {
122 $fext=substr(
$file, ($len * -1));
123 if ($ext === $fext) {
124 $file_path=$path.$file;
160 if ($status==
'run' && $pos >
$count) $status=
'end';
161 if ($status==
'end') $status=
'init';
162 if ($status==
'init') {
178 $path =
dbx()->os_path($path);
184 if ($status==
'run') {
193 if ($status==
'run' && is_Array(
$files)) {
195 if (isset(
$files[$pos])) {
198 $percent =(round($pos /
$count,2)*100);
Gemeinsame Basisklasse fuer dbXapp-System-, Modul- und Include-Objekte.
get_property($name, $default='', $section='', $modul='modul')
Liest eine Objekt- oder Session-Property.
set_property($name, $value, $section='', $modul='modul')
Speichert eine Objekt- oder Session-Property.
del_property($name, $section='', $modul='modul')
Loescht eine Objekt- oder Session-Property.
DBX schema administration.