Browse
For agents
About
Import WP – CSV & XML Import Export for WordPress
/
2.14.23
Import WP – CSV & XML Import Export for WordPress
v2.14.23
Switch version
2.15.1
2.15.0
2.14.24
2.14.23
2.7.0
2.7.1
2.7.10
2.7.11
2.7.12
2.7.13
2.7.14
2.7.2
2.7.3
2.7.4
2.7.5
2.7.6
2.7.7
2.7.8
2.7.9
2.8.0
2.8.1
2.8.2
2.8.3
2.9.0
2.9.1
All 144 releases
Overview
Code
jc-importer
/
class
/
Common
/
AddonAPI
/
Importer
/
Template
/
FieldGroup.php
FieldGroup.php
in Import WP – CSV & XML Import Export for WordPress 2.14.23, at class/Common/AddonAPI/Importer/Template/FieldGroup.php
32 lines
516 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
namespace
ImportWP
\
Common
\
AddonAPI
\
Importer
\
Template
;
4
5
class
FieldGroup
extends
Group
6
{
7
private
$
_id
;
8
private
$
_name
;
9
10
public
function
__construct
(
$
name
,
$
args
=
[
]
)
11
{
12
$
this
->
_id
=
$
args
[
'
id
'
]
??
sanitize_title
(
$
name
)
;
13
$
this
->
_name
=
$
name
;
14
}
15
16
public
function
get_id
(
)
17
{
18
return
$
this
->
_id
;
19
}
20
21
public
function
get_name
(
)
22
{
23
return
$
this
->
_name
;
24
}
25
26
public
function
get_args
(
)
27
{
28
$
args
=
[
]
;
29
return
$
args
;
30
}
31
}
32