fannie/modules/plugins2.0/GiftCardTracker/GiftCardTracker.php
Method get_newgc_view
has 113 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_newgc_view()
{
$json = FormLib::get('json');
$dbc = FannieDB::get($this->config->get('OP_DB'));
Method get_view
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_view()
{
$dbc = FannieDB::get($this->config->get('OP_DB'));
$save = FormLib::get('save');
$uid = FormLib::get('uid');
Method get_gcid_save_handler
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_gcid_save_handler()
{
$user = FannieAuth::getUID($this->current_user);
$dbc = FannieDB::get($this->config->get('OP_DB'));
$args = array($user);