|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($argv=array()) | |
| execute () | |
| usage () | |
Protected Member Functions | |
| _getOrphanVocabInterests () | |
Additional Inherited Members | |
Data Fields inherited from CommandLineTool | |
| $argv | |
| $scriptName | |
CLI tool to remove user interests that are not referenced by any user accounts.
Definition at line 18 of file cleanReviewerInterests.php.
| ReviewerInterestsDeletionTool::__construct | ( | $argv = array() | ) |
Constructor.
| $argv | array command-line arguments |
Reimplemented from CommandLineTool.
Definition at line 24 of file cleanReviewerInterests.php.
References CommandLineTool\$argv, and usage().
|
protected |
Returns user interests that are not referenced
Definition at line 83 of file cleanReviewerInterests.php.
References DAORegistry\getDAO().
Referenced by execute().
| ReviewerInterestsDeletionTool::execute | ( | ) |
Remove user interests that are not referenced by any user account
Definition at line 48 of file cleanReviewerInterests.php.
References _getOrphanVocabInterests(), DAORegistry\getDAO(), and usage().
| ReviewerInterestsDeletionTool::usage | ( | ) |
Print command usage information.
Reimplemented from CommandLineTool.
Definition at line 38 of file cleanReviewerInterests.php.
Referenced by __construct(), and execute().