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 expect_user

Check to see if the current user is the expected user

Package: LegiScan\Common
Located at common.php
Parameters summary
string $expect The user name that is expected
Return value summary
boolean True if running as expected user, false otherwise
LegiScan API Client API documentation generated by ApiGen