public class $.symphonyDuplicator

symphony.duplicator.js

This plugin creates a Symphony duplicator.

				$('.duplicator').symphonyDuplicator({
					orderable: true,
					collapsible: true
				});

Methods

static symphonyDuplicator(Object $custom_settings, String $custom_settings.instances, String $custom_settings.templates, String $custom_settings.headers, Boolean $custom_settings.orderable, Boolean $custom_settings.collapsible, Boolean $custom_settings.constructable, Boolean $custom_settings.destructable, Integer $custom_settings.minimum, Integer $custom_settings.maximum, String $custom_settings.speed, Boolean $custom_settings.delay_initialize)

This plugin creates a Symphony duplicator.

				$('.duplicator').symphonyDuplicator({
					orderable: true,
					collapsible: true
				});
Parameters
  • $custom_settings ObjectAn object specifying containing the attributes specified below

  • $custom_settings.instances StringSelector to find children to use as instances

  • $custom_settings.templates StringSelector to find children to use as templates

  • $custom_settings.headers StringSelector to find the header part of each instance

  • $custom_settings.orderable BooleanCan instances be ordered

  • $custom_settings.collapsible BooleanCan instances be collapsed

  • $custom_settings.constructable BooleanAllow construction of new instances

  • $custom_settings.destructable BooleanAllow destruction of instances

  • $custom_settings.minimum IntegerDo not allow instances to be removed below this limit

  • $custom_settings.maximum IntegerDo not allow instances to be added above this limit

  • $custom_settings.speed StringAnimation speed

  • $custom_settings.delay_initialize BooleanInitialise plugin extensions before the duplicator itself is initialised

public
collapseAll()

Collapse all open items

See Also
Requires
  • $.symphonyCollapsible plugin
  • constructor { collapsible: true }
public
expandAll()

Expand all closed items

See Also
Requires
  • $.symphonyCollapsible plugin
  • constructor { collapsible: true }

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details