public static function ThrobberTypes::toArray in Ajax loader 7
Returns array of all throbber types with their respective labels.
Return value
array
3 calls to ThrobberTypes::toArray()
- AjaxLoaderTestCase::testEmptySettings in ./
ajax_loader.test - Test all the things when settings are empty.
- AjaxLoaderTestCase::testManager in ./
ajax_loader.test - Test manager.
- _ajax_loader_get_options in includes/
settings.ajax_loader.inc - Returns all throbbers as option array.
File
- lib/
ThrobberTypes.php, line 27 - Class ThrobberTypes
Class
- ThrobberTypes
- @file Class ThrobberTypes
Code
public static function toArray() {
return array(
self::CHASING_DOTS => 'Chasing dots',
self::CIRCLE => 'Circle',
self::CUBE_GRID => 'Cube grid',
self::DOUBLE_BOUNCE => 'Double bounce',
self::FADING_CIRCLE => 'Fading circle',
self::FOLDING_CUBE => 'Folding cube',
self::PULSE => 'Pulse',
self::ROTATING_PLANE => 'Rotating plane',
self::THREE_BOUNCE => 'Three bounce',
self::WANDERING_CUBES => 'Wandering cubes',
self::WAVE => 'Wave',
);
}