You are here

function styleguide_rows in Style Guide 6

Same name and namespace in other branches
  1. 7 styleguide.module \styleguide_rows()

Return a random table row array.

Parameters

$size: The size of the list to return.

Return value

An array of row elements.

1 call to styleguide_rows()
styleguide_styleguide in ./styleguide.styleguide.inc
Implements hook_styleguide().

File

./styleguide.module, line 219

Code

function styleguide_rows($size = 5) {
  $rows = array();
  for ($i = 0; $i < $size; $i++) {
    $rows[] = styleguide_list($size);
  }
  return $rows;
}