Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
5c83f8cd
Commit
5c83f8cd
authored
Jan 25, 2017
by
Damyon Wiese
Browse files
MDL-57273 persistent: Remove use of helper as getter
get('blah') are for properties get_blah() are for helpers
parent
ae099a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin/tool/lp/classes/form/competency.php
View file @
5c83f8cd
...
...
@@ -67,7 +67,7 @@ class competency extends persistent {
$mform
->
setType
(
'parentid'
,
PARAM_INT
);
$mform
->
setConstant
(
'parentid'
,
(
$parent
)
?
$parent
->
get
(
'id'
)
:
0
);
$parentlevel
=
(
$parent
)
?
$parent
->
get
(
'
level
'
)
:
0
;
$parentlevel
=
(
$parent
)
?
$parent
->
get
_
level
(
)
:
0
;
$parentname
=
(
$parent
)
?
$parent
->
get
(
'shortname'
)
:
get_string
(
'competencyframeworkroot'
,
'tool_lp'
);
$parentlabel
=
''
;
if
(
!
empty
(
$competency
->
get
(
'id'
)))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
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 comment