You are here

function fillpdf_scheme_options in FillPDF 7

Returns acceptable file scheme options.

Suitable for use with FAPI radio buttons.

Return value

array Array of acceptable file scheme options as identifier => translated title.

4 calls to fillpdf_scheme_options()
fillpdf_default_scheme in ./fillpdf.module
Returns the default scheme for PDF files populated by FillPDF.
fillpdf_form_edit in ./fillpdf.admin.inc
Edit existing PDF form.
fillpdf_settings in ./fillpdf.admin.inc
Settings form for user to place API Key.
fillpdf_template_scheme in ./fillpdf.module
Returns the configured template scheme for FillPDF.

File

./fillpdf.module, line 2134

Code

function fillpdf_scheme_options() {
  $options = array();
  foreach (file_get_stream_wrappers(STREAM_WRAPPERS_WRITE_VISIBLE) as $scheme => $info) {
    $options[$scheme] = check_plain($info['description']);
  }
  return $options;
}