Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4302d84f
authored
Jul 14, 2014
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
php4 gedoens
1 parent
2cbd6db8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
D/class_D.inc.php
php4modul.php
D/class_D.inc.php
View file @
4302d84
...
@@ -207,13 +207,18 @@ class D {
...
@@ -207,13 +207,18 @@ class D {
// self::new_echo("<b>show(".$param_string.")</b>", $param_print, $param_force);
// self::new_echo("<b>show(".$param_string.")</b>", $param_print, $param_force);
$string_show
=
"<br /><b>show("
.
$param_string
.
")</b>
$param_val
<br />"
;
if
(
is_array
(
$param_val
))
{
$string_show
=
"<br /><b>show("
.
$param_string
.
")</b> array<br />"
;
}
else
{
$string_show
=
"<br /><b>show("
.
$param_string
.
")</b>
$param_val
<br />"
;
}
if
(
$param_loglevel
>
1
)
{
if
(
$param_loglevel
>
1
)
{
if
(
is_object
(
$param_val
)
&&
get_class
(
$param_val
)
==
'DOMElement'
)
{
if
(
is_object
(
$param_val
)
&&
get_class
(
$param_val
)
==
'DOMElement'
)
{
D
::
showdomelement
(
$param_val
,
$string_show
.
$param_string
,
$param_print
,
$param_force
);
D
::
showdomelement
(
$param_val
,
$string_show
.
$param_string
,
$param_print
,
$param_force
);
}
else
{
}
else
{
if
(
is_array
(
$param_val
))
{
if
(
is_array
(
$param_val
))
{
$string_show
.=
"count(
"
.
$param_val
.
"
) = "
.
count
(
$param_val
)
.
""
;
$string_show
.=
"count(
param_val
) = "
.
count
(
$param_val
)
.
""
;
$result
=
$param_val
;
$result
=
$param_val
;
// self::new_echo("<br/>count(".$param_val.") = ".count($param_val)."", $param_print, $param_force);
// self::new_echo("<br/>count(".$param_val.") = ".count($param_val)."", $param_print, $param_force);
}
else
if
(
is_object
(
$param_val
))
{
}
else
if
(
is_object
(
$param_val
))
{
...
...
php4modul.php
0 → 100644
View file @
4302d84
<?php
function
session_is_registered
(
$x
)
{
if
(
isset
(
$_SESSION
[
'$x'
]))
return
true
;
else
return
false
;
}
function
session_register
(
$var
,
$value
)
{
if
(
!
isset
(
$_SESSION
[
$var
]))
{
// $_SESSION[$var] = $$var;
$_SESSION
[
$var
]
=
$value
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment