You are here

function pollim_create in Poll Improved 7

Create a pollim object.

1 call to pollim_create()
PollimUIController::hook_menu in ./pollim.admin.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.
1 string reference to 'pollim_create'
pollim_entity_info in ./pollim.module
Implement hook_entity_info().

File

./pollim.module, line 276
Module for the Pollim Entity - a starting point to create your own Entity and associated administration interface

Code

function pollim_create($values = array()) {
  return entity_get_controller('pollim')
    ->create($values);
}