ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.arEditFields.php
Go to the documentation of this file.
1
<?php
2
require_once(
'./Customizing/global/plugins/Libraries/ActiveRecord/Views/class.arViewField.php'
);
3
require_once(
'./Customizing/global/plugins/Libraries/ActiveRecord/Views/class.arViewFields.php'
);
4
12
class
arEditFields
extends
arViewFields
{
13
14
const
FIELD_CLASS
=
'arEditField'
;
15
16
20
public
function
sortFields
() {
21
uasort($this->
fields
,
function
(
arEditField
$field_a,
arEditField
$field_b) {
22
//If both fields are or are not subelements, then let the position decide which is displayed first
23
if
(($field_a->
getSubelementOf
()) == ($field_b->
getSubelementOf
())) {
24
return
$field_a->
getPosition
() > $field_b->
getPosition
();
25
}
//If only one of the elements is a subelement, then the other has to be generated first
26
else
{
27
return
$field_a->
getSubelementOf
();
28
}
29
});
30
}
31
}
arEditField\getSubelementOf
getSubelementOf()
Definition:
class.arEditField.php:34
arViewFields
GUI-Class arViewFields.
Definition:
class.arViewFields.php:12
fields
$errors fields
Definition:
imgupload.php:48
arEditFields
GUI-Class arEditFields.
Definition:
class.arEditFields.php:12
arEditFields\FIELD_CLASS
const FIELD_CLASS
Definition:
class.arEditFields.php:14
arEditField
GUI-Class arEditField.
Definition:
class.arEditField.php:11
arViewField\getPosition
getPosition()
Definition:
class.arViewField.php:90
arEditFields\sortFields
sortFields()
Definition:
class.arEditFields.php:20
Services
ActiveRecord
Views
Edit
class.arEditFields.php
Generated on Mon Mar 31 2025 19:00:42 for ILIAS by
1.8.13 (using
Doxyfile
)