Skip to content
Florian Voutzinos edited this page Oct 4, 2013 · 6 revisions

Postflight tasks in Manifest

You can specify postflight tasks in the manifest to be executed.

Example

<postflight>
   <task name="hey" />
   <task name="hello" />
</postflight>

will execute the functions

<?php

protected function hey($type, $parent)
{
}

protected function hello($type, $parent)
{
}

defined in the component installer class.

Predefined tasks

List of the predefined tasks in the redCORE installer available to all components.

deleteMenu

This is a predefined task that deletes the menu item associated with the current component.

<postflight>
   <task name="deleteMenu" />
</postflight>

Clone this wiki locally