You are here

function _skinr_ui_ajax_id in Skinr 6.2

Helper function to retrieve a unique id for each skinr class. Used by AJAX.

1 call to _skinr_ui_ajax_id()
skinr_ui_skinr_skins_alter in ./skinr_ui.module
Implementation of hook_skinr_alter().

File

./skinr_ui.module, line 759

Code

function _skinr_ui_ajax_id() {
  static $skinr_id = 0;
  return ++$skinr_id;
}