Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170
Plugin - Buto - Plugin - Buto -

PluginWfYml

Get yml as object with a save method.

getFilename

Get filename.

get

Get.

getString

getString

set

Set.

setById

This function is for set element who has id attribute without knowing the full path. @param type $id @param type $key @param type $value

unsetById

Unset by id.

getById

Get element by id. Hole element or specific value if key is set. @param string $id @param string $key @return PluginWfArray

setUnset

Unset.

save

Save yml.

sort

Sort.

dump

Dump.

isArrayAssociative

Check if array is associative. @param array $data @return boolean

setByTag

Set values where tag match data key. Example of usage is to replace innerHTML keys in an array where content is rs:name and data has a key with this id.

Example of element where tags are id and city and these keys exist in data array:

  type: span
  attribute:
  __data-id: 'rs:id'  
  innerHTML: 'rs:city'
  
@param array $data Array with matching keys. @param string $tag Text before colon. @param boolean $clear_nomatch If clear where key not exist in data. @return null

clearByTags

Clear tags. @param Array $tags Or string

merge

Merge data. @param array $value

Dependencies

Usage

Plugins

Browse and download the plugins you need for your theme.

Plugins

Request a plugin

If you need a plugin to your website, one could make a request to a developer.

Plugin request

Learn about plugin

Learn how to use or create a plugin.

Plugin knowledge