function _cis_shortcodes_build_code

cis7 cis_shortcodes.module _cis_shortcodes_build_code($properties)
cle7 cis_shortcodes.module _cis_shortcodes_build_code($properties)
elmsmedia7 cis_shortcodes.module _cis_shortcodes_build_code($properties)
icor7 cis_shortcodes.module _cis_shortcodes_build_code($properties)
meedjum_blog7 cis_shortcodes.module _cis_shortcodes_build_code($properties)
mooc7 cis_shortcodes.module _cis_shortcodes_build_code($properties)

Helper to return a built code from properties

Parameters

$properties: a keyed array of properties used to generate a shortcode.

Return value

string a string representation of the properties as a shortcode.

1 call to _cis_shortcodes_build_code()
cis_shortcodes_entity_view in sites/all/modules/elmsln_contrib/cis_connector/modules/cis_shortcodes/cis_shortcodes.module
Implements hook_entity_view().

File

sites/all/modules/elmsln_contrib/cis_connector/modules/cis_shortcodes/cis_shortcodes.module, line 188
Handle shortcode generation for use in sites running cis_filter.

Code

function _cis_shortcodes_build_code($properties) {
  $ary = array();
  foreach ($properties as $key => $val) {
    $ary[] = $key . '=' . $val;
  }
  return '[ciscode|' . implode('|', $ary) . ']';
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.