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
Request a plugin
If you need a plugin to your website, one could make a request to a developer.