Lines Matching refs:args
70 * @param string[] $args HTML attributes for the item
73 static public function pageToolItem($link, $caption, $svg, $args = array()) {
74 if(blank($args['title'])) {
75 $args['title'] = $caption;
78 if(!blank($args['accesskey'])) {
79 $args['title'] .= ' [' . strtoupper($args['accesskey']) . ']';
82 if(blank($args['rel'])) {
83 $args['rel'] = 'nofollow';
86 $args['href'] = $link ?: '#';
91 $attributes = buildAttributes($args, true);