You are here

class MoodleInstaller in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php \Composer\Installers\MoodleInstaller

Hierarchy

Expanded class hierarchy of MoodleInstaller

File

vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php, line 4

Namespace

Composer\Installers
View source
class MoodleInstaller extends BaseInstaller {
  protected $locations = array(
    'mod' => 'mod/{$name}/',
    'admin_report' => 'admin/report/{$name}/',
    'tool' => 'admin/tool/{$name}/',
    'assignment' => 'mod/assignment/type/{$name}/',
    'assignsubmission' => 'mod/assign/submission/{$name}/',
    'assignfeedback' => 'mod/assign/feedback/{$name}/',
    'auth' => 'auth/{$name}/',
    'availability' => 'availability/condition/{$name}/',
    'block' => 'blocks/{$name}/',
    'calendartype' => 'calendar/type/{$name}/',
    'format' => 'course/format/{$name}/',
    'coursereport' => 'course/report/{$name}/',
    'datafield' => 'mod/data/field/{$name}/',
    'datapreset' => 'mod/data/preset/{$name}/',
    'editor' => 'lib/editor/{$name}/',
    'enrol' => 'enrol/{$name}/',
    'filter' => 'filter/{$name}/',
    'gradeexport' => 'grade/export/{$name}/',
    'gradeimport' => 'grade/import/{$name}/',
    'gradereport' => 'grade/report/{$name}/',
    'gradingform' => 'grade/grading/form/{$name}/',
    'local' => 'local/{$name}/',
    'message' => 'message/output/{$name}/',
    'plagiarism' => 'plagiarism/{$name}/',
    'portfolio' => 'portfolio/{$name}/',
    'qbehaviour' => 'question/behaviour/{$name}/',
    'qformat' => 'question/format/{$name}/',
    'qtype' => 'question/type/{$name}/',
    'quizaccess' => 'mod/quiz/accessrule/{$name}/',
    'quiz' => 'mod/quiz/report/{$name}/',
    'report' => 'report/{$name}/',
    'repository' => 'repository/{$name}/',
    'scormreport' => 'mod/scorm/report/{$name}/',
    'theme' => 'theme/{$name}/',
    'profilefield' => 'user/profile/field/{$name}/',
    'webservice' => 'webservice/{$name}/',
    'workshopallocation' => 'mod/workshop/allocation/{$name}/',
    'workshopeval' => 'mod/workshop/eval/{$name}/',
    'workshopform' => 'mod/workshop/form/{$name}/',
  );

}

Members

Namesort descending Modifiers Type Description Overrides
BaseInstaller::$composer protected property
BaseInstaller::$package protected property
BaseInstaller::getInstallPath public function Return the install path based on package type. 1
BaseInstaller::getLocations public function Gets the installer's locations 1
BaseInstaller::inflectPackageVars public function For an installer to override to modify the vars per installer. 16
BaseInstaller::mapCustomInstallPaths protected function Search through a passed paths array for a custom install path.
BaseInstaller::templatePath protected function Replace vars in a path
BaseInstaller::__construct public function Initializes base installer.
MoodleInstaller::$locations protected property Overrides BaseInstaller::$locations