Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.455 kb
<?
function t_string($column, $title = null){
return array('column' => $column,
'title' => ($title ? $title : util_humanize($column))
);
}
function t_link($column, $url, $title = null){
return array_merge(
array('type' => 'link', 'url' => $url),
t_string($column, $title));
}
function t_icon($column, $url, $title = null){
return array_merge(
t_string($column),
array('type' => 'icon', 'url' => $url, 'title' => ($title ? $title : '')));
}
Jump to Line
Something went wrong with that request. Please try again.