Overview

Packages

  • LegiScan
    • API
    • Cache
    • Common
    • Exceptions
    • Utility
  • PHP

Functions

  • expect_user
  • is_cli
  • legiscan_getopt
  • legiscan_help
  • legiscan_option
  • memory_usage
  • prettyPrint
  • sec2hms
  • timer_clear
  • timer_read
  • timer_start
  • timer_stop
  • yes_no_prompt
  • Overview
  • Package
  • Function

Function legiscan_option

Check to see if an option is set and return the value if it had an argument, otherwise true/false

Package: LegiScan\Common
Located at common.php
Parameters summary
string $option Option name to lookup
mixed $default = false Return $default if no option set
Return value summary
mixed The parameter argument or true if a simple option set
LegiScan API Client API documentation generated by ApiGen