Amazon_S3_And_CloudFront::ajax_save_bucket PHP Method

ajax_save_bucket() public method

Handler for AJAX callback to save the selection of a bucket
public ajax_save_bucket ( )
    function ajax_save_bucket()
    {
        $this->verify_ajax_request();
        $bucket = $this->ajax_check_bucket();
        $manual = false;
        // are we inputting the bucket manually?
        if (isset($_POST['action']) && false !== strpos($_POST['action'], 'manual-save-bucket')) {
            $manual = true;
        }
        $this->save_bucket_for_ajax($bucket, $manual);
    }
Amazon_S3_And_CloudFront