array( array( 'id' => 'paperview', 'title' => 'Paper View', 'group' => 'paper', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'paperedit', 'title' => 'Paper Edit', 'group' => 'paper', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'paperanswer', 'title' => 'Paper Answer', 'group' => '', 'roles' => array('authenticated'), 'valid' => array() ), ) ) ); register_types(array( 'pluginid' => 'paper', 'file' => 'Paper', 'title' => 'Paper', 'icon' => 'plugins/paper/paper.gif', 'icon_method' => NULL, 'task' => 1, 'type' => 'paper' ) ); register_types(array( 'pluginid' => 'paper', 'file' => 'PaperViews', 'title' => 'Paper', 'icon' => 'plugins/paper/paper.gif', 'icon_method' => NULL, 'view' => 'paperview', 'answer' => 'paperanswer', 'edit' => 'paperedit', 'task' => 1, 'type' => 'paper' ) ); register_actions('paper', array( 'PaperViews' => array( array( 'id' => 'save_paper', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'answer_paper', 'roles' => array('authenticated'), 'valid' => array() ), ) ) ); register_menus(array( array( 'title' => 'View', 'group' => 'paper', 'page' => 'paperview', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ), array( 'title' => 'Edit', 'group' => 'paper', 'page' => 'paperedit', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ), array( 'title' => 'Answer', 'group' => 'paper', 'page' => 'paperanswer', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ) ) ); */ ?>