<?php
return array(
// Unique identifier of the plugin
// Same name as the plugin folder
'myplugin' => array(
// Name of the plugin
'name' => 'My Plugin',
// Description of the plugin
'description' => 'Description of myplugin',
// Author of the plugin
'author' => 'Joe Public',
// Email of the author the plugin
'email' => 'myplugin@example.com',
// 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, group)
'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
)
),
); |