Created
December 9, 2011 16:30
-
-
Save dkobia/1452238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') OR die('No direct access allowed.'); | |
/** | |
* Config for Twitter Plugin | |
* | |
* PHP version 5 | |
* LICENSE: This source file is subject to GPLv3 license | |
* that is available through the world-wide-web at the following URI: | |
* http://www.gnu.org/copyleft/gpl.html | |
* @author Ushahidi Team <[email protected]> | |
* @package SwiftRiver - http://github.com/ushahidi/Swiftriver_v2 | |
* @subpackage Plugin Configs | |
* @copyright Ushahidi - http://www.ushahidi.com | |
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License v3 (GPLv3) | |
*/ | |
return array( | |
// Unique identifier of the plugin | |
// ** same name as the plugin folder | |
'twitter' => array( | |
// Name of the plugin | |
'name' => 'Twitter', | |
// Description of the plugin | |
'description' => 'Adds the twitter service to Sweeper.', | |
// Author of the plugin | |
'author' => 'David Kobia', | |
// Email of the author the plugin | |
'email' => '[email protected]', | |
// Version the plugin | |
'version' => '0.1.0', | |
// Is plugin a channel? | |
'channel' => TRUE, | |
// Does plugin have a crawler? | |
'crawler' => TRUE, | |
// Array of available channel options | |
'channel_options' => array( | |
// Channel option with type | |
'keyword' => array( | |
// Label of the option (*tip use i18n __('xxx')) | |
'label' => __('Keyword'), | |
// Option type (text, textarea, password, radio) | |
'type' => 'text', | |
// Available values for this option | |
'values' => array() | |
), | |
'person' => array( | |
'label' => __('Person'), | |
'type' => 'text', | |
'values' => array() | |
), | |
'place' => array( | |
'label' => __('Place'), | |
'type' => 'text', | |
'values' => array() | |
) | |
), | |
'dependencies' => array( | |
'core' => array( | |
'min' => '0.2.0', | |
'max' => '10.0.0', | |
), | |
'plugins' => array() // unique plugin names | |
) | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment