Lines Matching refs:data

86         $data['namespaces'] = str_replace('&', ',', $data['namespaces']);
91 $data['height'] = 0;
92 $data['width'] = 0;
93 $data['align'] = '';
94 $data['format'] = 'dot';
95 $data['depth'] = 3;
96 $data['include_media'] = 'none';
97 $data['use_cached_pages'] = 1;
104 $data[trim($key)] = trim($value);
107 $data = array_change_key_case($data, CASE_LOWER);
108 return $data;
115 function render($mode, &$renderer, $data) { argument
136 if ( $data['format'] == 'gexf') {
138 $xml = $plugin_path.'xml.php?'.buildURLparams($data);
143 $data['format'] = 'dot';
145 $img = $plugin_path.'img.php?'.buildURLparams($data);
147 if ( ($data['height'] != 0) || ($data['width'] != 0) ) {
153 … $renderer->doc .= '<img src="'.$img.'" class="media'.$data['align'].'" alt=""';
154 if($data['width']) $renderer->doc .= ' width="'.$data['width'].'"';
155 if($data['height']) $renderer->doc .= ' height="'.$data['height'].'"';
156 if($data['align'] == 'right') $renderer->doc .= ' align="right"';
157 if($data['align'] == 'left') $renderer->doc .= ' align="left"';
160 if ( ($data['height'] != 0) || ($data['width'] != 0) ) {
173 * @param data plugin data
176 function get_gathered_data( $data ) { argument
179 if ( $data['use_cached_pages'] == 0 )
182 if ( ($data['namespaces'] == '') || ($data['namespaces'] == ':') ) {
192 if ( $data['use_first_header'] == 1 ) {
197 $namespaces = explode(',', $data['namespaces']);
201 $namespaces, $data['depth'],
202 $data['include_media'],
212 * @param data parameters.
216 function get_gexf_xml( $data ) { argument
221 $gathered_data = $this->get_gathered_data( $data );
231 * @param data parameters.
235 function get_graphviz_image( $data ) { argument
240 $gathered_data = $this->get_gathered_data( $data );
249 $cmd .= ' -K'.$data['layout'];
268 $pass['cht'] = 'gv:'.$data['format'];
502 function get_dot(&$data ) { argument
503 $pages =& $data['pages'];
504 $media =& $data['media'];
532 function get_gexf(&$data){ argument
533 $pages =& $data['pages'];
534 $media =& $data['media'];