Lines Matching refs:data
26 'data' => 'string',
39 function buildAttributes($data, $myObj, $addClass='', $mode='xhtml') {
41 $attList = $this->getAttributes($data);
95 /* special case 1: data-* attributes: */
96 if (preg_match('/^data-[a-z][a-z0-9_-]*$/', $key)) {
132 function getAttributes($data) {
134 //dbg('getAttributes("$data="' . $data . '"');
139 $tokens = $this->tokenizeAttr($data);
197 * Split the input data into suitable tokens
201 function tokenizeAttr($data) {
209 forEach(str_split($data) as $c) {