Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Menu Location Key

Menu Location*

Default Permission

CO ID Inserted?

CO Person ID Inserted?

Available Since

cmp

Platform Menu

CMP Administrator

 

 

v0.8
cosCollaborations MenuMember of Any CO  v0.8

coconfig

CO Configuration Menu

CO Administrator

(tick)

 

v0.8

copeople

CO People Menu

Member of CO

(tick)

 

v0.8
cogroups*CO Groups MenuMember of CO(tick) v1.0.0

coperson

My Identities Menu

Member of CO

 

(tick)

v0.8
coservicesCO Services MenuMember of CO(tick) v1.1.0

*As of v1.0.0

An example:

Code Block
/**
  * Expose menu items.
  *
  * @ since COmanage Registry v0.9.2
  * @ return Array with menu location type as key and array of labels, controllers, actions as values.
  */
public function cmPluginMenus() {
  return array(
    "coperson" => array(_txt('pl.dirviewer.viewmenu') =>
                      array('controller' => "dir_viewers",
                            'action'     => "view"))
  );
}

...