Commit 8ab0ff14 authored by jaapjansma's avatar jaapjansma

initial commit

parents
This diff is collapsed.
# action-provider
![Screenshot](/images/screenshot.png)
(*FIXME: In one or two paragraphs, describe what the extension does and why one would download it. *)
The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Requirements
* PHP v5.4+
* CiviCRM (*FIXME: Version number*)
## Installation (Web UI)
This extension has not yet been published for installation via the web UI.
## Installation (CLI, Zip)
Sysadmins and developers may download the `.zip` file for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).
```bash
cd <extension-dir>
cv dl action-provider@https://github.com/FIXME/action-provider/archive/master.zip
```
## Installation (CLI, Git)
Sysadmins and developers may clone the [Git](https://en.wikipedia.org/wiki/Git) repo for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).
```bash
git clone https://github.com/FIXME/action-provider.git
cv en action_provider
```
## Usage
(* FIXME: Where would a new user navigate to get started? What changes would they see? *)
## Known Issues
(* FIXME *)
This diff is collapsed.
<?php
require_once 'action_provider.civix.php';
use CRM_ActionProvider_ExtensionUtil as E;
/**
* Implements hook_civicrm_config().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
*/
function action_provider_civicrm_config(&$config) {
_action_provider_civix_civicrm_config($config);
}
/**
* Implements hook_civicrm_xmlMenu().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
*/
function action_provider_civicrm_xmlMenu(&$files) {
_action_provider_civix_civicrm_xmlMenu($files);
}
/**
* Implements hook_civicrm_install().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
*/
function action_provider_civicrm_install() {
_action_provider_civix_civicrm_install();
}
/**
* Implements hook_civicrm_postInstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
*/
function action_provider_civicrm_postInstall() {
_action_provider_civix_civicrm_postInstall();
}
/**
* Implements hook_civicrm_uninstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
*/
function action_provider_civicrm_uninstall() {
_action_provider_civix_civicrm_uninstall();
}
/**
* Implements hook_civicrm_enable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
*/
function action_provider_civicrm_enable() {
_action_provider_civix_civicrm_enable();
}
/**
* Implements hook_civicrm_disable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
*/
function action_provider_civicrm_disable() {
_action_provider_civix_civicrm_disable();
}
/**
* Implements hook_civicrm_upgrade().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
*/
function action_provider_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
return _action_provider_civix_civicrm_upgrade($op, $queue);
}
/**
* Implements hook_civicrm_managed().
*
* Generate a list of entities to create/deactivate/delete when this module
* is installed, disabled, uninstalled.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
*/
function action_provider_civicrm_managed(&$entities) {
_action_provider_civix_civicrm_managed($entities);
}
/**
* Implements hook_civicrm_caseTypes().
*
* Generate a list of case-types.
*
* Note: This hook only runs in CiviCRM 4.4+.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
*/
function action_provider_civicrm_caseTypes(&$caseTypes) {
_action_provider_civix_civicrm_caseTypes($caseTypes);
}
/**
* Implements hook_civicrm_angularModules().
*
* Generate a list of Angular modules.
*
* Note: This hook only runs in CiviCRM 4.5+. It may
* use features only available in v4.6+.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
*/
function action_provider_civicrm_angularModules(&$angularModules) {
_action_provider_civix_civicrm_angularModules($angularModules);
}
/**
* Implements hook_civicrm_alterSettingsFolders().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
*/
function action_provider_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
_action_provider_civix_civicrm_alterSettingsFolders($metaDataFolders);
}
// --- Functions below this ship commented out. Uncomment as required. ---
/**
* Implements hook_civicrm_preProcess().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_preProcess
*
function action_provider_civicrm_preProcess($formName, &$form) {
} // */
/**
* Implements hook_civicrm_navigationMenu().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu
*
function action_provider_civicrm_navigationMenu(&$menu) {
_action_provider_civix_insert_navigation_menu($menu, NULL, array(
'label' => E::ts('The Page'),
'name' => 'the_page',
'url' => 'civicrm/the-page',
'permission' => 'access CiviReport,access CiviContribute',
'operator' => 'OR',
'separator' => 0,
));
_action_provider_civix_navigationMenu($menu);
} // */
<?xml version="1.0"?>
<extension key="action-provider" type="module">
<file>action_provider</file>
<name>Actin Provider</name>
<description>This is a base extension providing an abstract action interface to be used in other extensions.</description>
<license>AGPL-3.0</license>
<maintainer>
<author>Jaap Jansma</author>
<email>jaap.jansma@civicoop.org</email>
</maintainer>
<urls>
<url desc="Main Extension Page">https://lab.civicrm.org/jaapjansma/action-provider</url>
<url desc="Documentation">https://lab.civicrm.org/jaapjansma/action-provider/wikis/home</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2018-02-08</releaseDate>
<version>1.0</version>
<develStage>alpha</develStage>
<compatibility>
<ver>4.7</ver>
</compatibility>
<comments>This is a module in a prototype stage</comments>
<civix>
<namespace>CRM/ActionProvider</namespace>
</civix>
</extension>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment