Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
b5e61f16
Commit
b5e61f16
authored
Jan 24, 2019
by
Doris Tam
Browse files
Bug 1810990: blocktype data: recentforumposts - documentation
Change-Id: I57f9d82e6ae93548198fba152851ed8ba1cbbe79
parent
e31fd693
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/testing/classes/generator/TestingDataGenerator.php
View file @
b5e61f16
...
...
@@ -1282,6 +1282,14 @@ EOD;
return
$configdata
;
}
/**
* generate configdata for blocktype: recentforumposts
*
* @param string $data inside data column in blocktype tables
* @param string $ownertype of user
* @param string $ownerid of the user
* @return array $configdata of key and values of db table
*/
public
static
function
generate_configdata_recentforumposts
(
$data
,
$ownertype
,
$ownerid
)
{
if
(
!
$data
)
return
;
$configdata
=
array
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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