function plugin_details($plugin_id) { if (isset($plugin_id)) { $table = DB_PLUGINS; //set variable value to retrieve all columns $column = '*'; $where = 'plugin_id'; $field = array($plugin_id); //build single query from BuildQuery class $db_results = BuildQuery::single_field_query($table, $column, $where, $field); self::$db_plugin_details = $db_results; } }