function _ginvite_invited_by in Group 7
Schema API definition for the invited_by column.
Helper function for shared column between invites and memberships.
5 calls to _ginvite_invited_by()
- ginvite_install in modules/
ginvite/ ginvite.install - Implements hook_install().
- ginvite_schema in modules/
ginvite/ ginvite.install - Implements hook_schema().
- ginvite_schema_alter in modules/
ginvite/ ginvite.module - Implements hook_schema_alter().
- ginvite_update_7001 in modules/
ginvite/ ginvite.install - Add the invited_on and invited_by columns to {group_invite} and {group_membership}.
- ginvite_update_7002 in modules/
ginvite/ ginvite.install - Remove default values from 'invited_on' and 'invited_by'.
File
- modules/
ginvite/ ginvite.install, line 25 - Install, update and uninstall functions for the Group invite project.
Code
function _ginvite_invited_by() {
return array(
'description' => 'The {users}.uid of the inviter.',
'type' => 'int',
'unsigned' => TRUE,
);
}