fasttoggle.inc in Fasttoggle 7
Same filename and directory in other branches
Provides common routines and declarations for Fasttoggle.
File
fasttoggle.incView source
<?php
/**
* @file
* Provides common routines and declarations for Fasttoggle.
*/
/**
* Displays the current state of a setting (e.g. "published", "active").
*/
define('FASTTOGGLE_LABEL_STATUS', 0x0);
/**
* Displays the action that will be performed (e.g. "unpublish", "block").
*/
define('FASTTOGGLE_LABEL_ACTION', 0x1);
/**
* Read custom strings from settings.php.
*/
define('FASTTOGGLE_LABEL_CUSTOM', 0x2);
/**
* Return a link in the resulting HTML format.
*/
define('FASTTOGGLE_FORMAT_HTML', 0x0);
/**
* Return a link as the structure passed to l().
*/
define('FASTTOGGLE_FORMAT_LINK_ARRAY', 0x1);
/**
* Return a link as the structure for a form build.
*/
define('FASTTOGGLE_FORMAT_FORM', 0x2);
Constants
Name | Description |
---|---|
FASTTOGGLE_FORMAT_FORM | Return a link as the structure for a form build. |
FASTTOGGLE_FORMAT_HTML | Return a link in the resulting HTML format. |
FASTTOGGLE_FORMAT_LINK_ARRAY | Return a link as the structure passed to l(). |
FASTTOGGLE_LABEL_ACTION | Displays the action that will be performed (e.g. "unpublish", "block"). |
FASTTOGGLE_LABEL_CUSTOM | Read custom strings from settings.php. |
FASTTOGGLE_LABEL_STATUS | Displays the current state of a setting (e.g. "published", "active"). |