Skip to content

Instantly share code, notes, and snippets.

@dkobia
Created December 12, 2011 16:19
Show Gist options
  • Save dkobia/1468075 to your computer and use it in GitHub Desktop.
Save dkobia/1468075 to your computer and use it in GitHub Desktop.
<?php
...
// Array of available channel options
'channel_options' => array(
// Channel option with type
'email' => array(
// Label of the option (*tip use i18n __('xxx'))
'label' => __('Email'),
// Option type (text, textarea, password, radio)
'type' => 'text',
// Available values for this option
'values' => array()
),
'password' => array(
'label' => __('Password'),
'type' => 'text',
'values' => array()
),
'host' => array(
'label' => __('Host'),
'type' => 'text',
'values' => array()
)
),
'channel_options_groups' => array(
'email' => array(
'label' => 'Email Account',
'options' => array('email', 'password', 'host')
)
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment