List

 →  Функция вывода списка

published 27 July 2011

//for drupal 6 $title = MYTITLE; $type = ‘ul’; $attributes = array( ‘id’ => ‘MYITEMLISTID’, ); $page_contents .= theme(‘item_list’, $items, $title, $type, $attributes);

//for drupal 7 $output = theme(‘item_list’, array(‘items’ => $items, ’type’ => ‘ul’, ‘attrebutes’ => $attributes ));