mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-16423 - refactor of portfolio_add_button into class for much better usability
currently portfolio_add_button still exists and just acts as a wrapper around the class so i have not changed any calling code to use the new objects yet.
This commit is contained in:
parent
7a8977d5fb
commit
ce09fecc99
3 changed files with 226 additions and 121 deletions
|
@ -56,6 +56,7 @@ $string['invalidproperty'] = 'Could not find that property ($a->property of $a->
|
|||
$string['invalidexportproperty'] = 'Could not find that export config property ($a->property of $a->class)';
|
||||
$string['invaliduserproperty'] = 'Could not find that user config property ($a->property of $a->class)';
|
||||
$string['invalidconfigproperty'] = 'Could not find that config property ($a->property of $a->class)';
|
||||
$string['invalidbuttonproperty'] = 'Could not find that property ($a) of portfolio_button';
|
||||
$string['manageportfolios'] = 'Manage portfolios';
|
||||
$string['manageyourportfolios'] = 'Manage your portfolios';
|
||||
$string['moderatefilesizethreshold'] = 'Moderate transfer filesize';
|
||||
|
@ -63,8 +64,10 @@ $string['moderatefilesizethresholddesc'] = 'Filesizes over this threshold will b
|
|||
$string['moderatedbsizethreshold'] = 'Moderate transfer dbsize';
|
||||
$string['moderatedbsizethresholddesc'] = 'Number of db records over which will be considered to take a moderate amount of time to transfer';
|
||||
$string['multipledisallowed'] = 'Trying to create another instance of a plugin that has disallowed multiple instances ($a)';
|
||||
$string['mustsetcallbackoptions'] = 'You must set the callback options either in the portfolio_add_button constructor or using the set_callback_options method';
|
||||
$string['noavailableplugins'] = 'Sorry, but there are no available portfolios for you to export to';
|
||||
$string['nocallbackfile'] = 'Something in the module you\'re trying to export from is broken - couldn\'t find a required file ($a)';
|
||||
$string['nocallbackclass'] = 'Could not find the callback class to use ($a)';
|
||||
$string['nocommonformats'] = 'No common formats between any available portfolio plugin and the calling location $a';
|
||||
$string['nopermissions'] = 'Sorry but you do not have the required permissions to export files from this area';
|
||||
$string['nonprimative'] = 'A non primative value was passed as a callback argument to portfolio_add_button. Refusing to continue. The key was $a->key and the value was $a->value';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue