PHP 클래스 Clickalicious\PhpMemAdmin\App

Core of phpMemAdmin. Responsible for aggregating data via Memcached.php. Dispatching requests and rendering views from templates.
파일 보기 프로젝트 열기: clickalicious/phpmemadmin

보호된 프로퍼티들

프로퍼티 타입 설명
$action integer The action currently processed : defaults to 1
$authentication boolean Whether authentication is required.
$baseUrl string Normally no need to be modified. But if App is run from outside a vhost that maps "/web" to "/" then it is required to inform the App about the new path/URL.
$client Clickalicious\Memcached\Client Master instance of Memcached client for cloning from.
$clients array The collection of clients instantiated and used by the current run.
$cluster string The name of the cluster.
$config stdClass The configuration.
$connections array The connections already established.
$credentials array Credentials valid for access.
$dateFormat string The format used when displaying date/time values.
$defaultTemplateVariables array The list of memcached hosts.
$error string The last error's message.
$errorMessages array Error Messages.
$hosts array The list of memcached hosts.
$info string An info message
$success string An success message
$title string The app title.

공개 메소드들

메소드 설명
__construct ( stdClass $config, Clickalicious\Memcached\Client $client, string $baseUrl = self::DEFAULT_BASEURL, string $dateFormat = self::DEFAULT_DATEFORMAT, string $title = self::DEFAULT_TITLE ) : App Constructor.
getAction ( ) : integer Getter for action.
getActiveHost ( boolean $asArray = false ) : string Returns currently active host. If no host is active, the first one found in list of servers is the active one.
getMenuHtml ( ) : string
render ( string $route = self::DEFAULT_BASEURL, array $arguments = [] ) : string Renders the result (HTML5 output) for passed $route and $arguments.

보호된 메소드들

메소드 설명
action ( integer $action ) Setter for action.
actionToTemplates ( integer $action ) : array Returns a collection in logical order of templates required for passed action.
aggregateStatistics ( array $hosts = [] ) : array Fetch statistics for a single host or (aggregated) for a collection of hosts (cluster).
authenticate ( ) Try to authenticate the user for active session.
baseUrl ( string $baseUrl ) Setter for baseUrl.
castAsPhpType ( mixed $value ) : mixed Returns the value casted to a native PHP type.
client ( Clickalicious\Memcached\Client $client ) Setter for client.
clients ( array $clients ) Setter for clients.
cluster ( string $cluster ) Setter for cluster.
config ( stdClass $config ) Setter for config.
convertUptime ( integer $timestamp ) : array Returns uptime converted to years, month, days, hours .
credentials ( string $username, string $password ) Setter for credentials.
dateFormat ( string $dateFormat ) Setter for dateFormat.
dumpEntries ( string $host, integer $port, string | null $namespace = null, boolean $flat = false ) : array Returns all entries for a passed slab (hostname & port) by passed namespace or all.
error ( string $error ) Setter for error.
errorContext ( integer $errorNumber, array $context = [] ) : array Returns an error context array which contains an error-number and variables related to the error.
formatNumberAsText ( mixed $value, string $lineEnding = '↵' ) : string Formats a number to display it better readable.
getAppendButtonHtml ( string $key ) : string Returns the HTML for the append button.
getBaseUrl ( ) : string Getter for baseUrl.
getClient ( ) : Clickalicious\Memcached\Client | null Getter for client.
getClients ( ) : Clickalicious\Memcached\Client[] Getter for clients.
getCluster ( ) : string Getter for cluster.
getConfig ( ) : stdClass Getter for config.
getContent ( integer $action ) : string Returns the inner content of the pages by action.
getCredentials ( ) : array Getter for credentials.
getDateFormat ( ) : string Getter for dateFormat.
getDecrementButtonHtml ( string $key ) : string Returns the HTML for the decrement button.
getDefaultTemplateVariables ( ) : array Returns the default template variables.
getDeleteButtonHtml ( string $key ) : string Returns the delete button rendered by template render engine.
getEditButtonHtml ( string $key, string $value ) : string Returns the edit button rendered by template render engine.
getError ( ) : string Getter for error.
getErrorMessageByNumber ( integer $number ) : string Returns the error for the passed number if set, otherwise the string 'n.a.'.
getErrorMessageHtml ( ) : string Returns the HTML for the error message if error is set, otherwise empty string.
getHostFromRequest ( ) : null\string Returns host from request if exist, otherwise NULL.
getHosts ( ) : array Getter for hosts.
getHtmlInfoMessage ( ) : string Returns the HTML for the info message if info is set, otherwise empty string.
getHtmlNavigationEntry ( integer $action, string $title, string $glyphicon = '' ) : string Creates
  • elements HTML used for generating navigation entries for example.
  • getHtmlSuccessMessage ( ) : string Returns the HTML for the success message if info is set, otherwise empty string.
    getIncrementButtonHtml ( string $key ) : string Returns the HTML for the increment button.
    getInfo ( ) : string Getter for info.
    getLinkForAction ( integer $action = null, array $arguments = [] ) : string Returns the link to the phpMemAdmin installation with optional action argument.
    getMemcachedClient ( string $host, integer $port = Client::DEFAULT_PORT, integer $timeout = null ) : Clickalicious\Memcached\Client Returns an instance of Client for host and port combination.
    getMemcachedLatestVersion ( ) : string Returns the latest version from memcached official website or 1.0.0 as fallback.
    getMessages ( ) : string Retrieves the messages to be shown in rendered page.
    getPrependButtonHtml ( string $key ) : string Returns the HTML for the prepend button.
    getSettings ( string $host ) : array Retrieve settings from Memcached instance.
    getSuccess ( ) : string Getter for success.
    getTitle ( ) : string Getter for title.
    getUrl ( array $arguments = [], string $prefix = '', $anchor = '' ) : string Return the URL for the current executed route.
    hosts ( array $hosts ) Setter for hosts.
    info ( string $info ) Setter for info.
    loadTemplates ( string | array $templates ) : string Loads a template from filesystem.
    parseArguments ( array $arguments ) : void Parser for arguments passed to this instance.
    processRequestOperations ( integer $action, array $arguments ) : void Processes the operations passed with the current request.
    redirect ( string $url ) : void Redirects to the passed URL.
    renderString ( string $string, array $variables = [] ) : string Renders the content of $string with variables from $variables.
    renderTemplate ( string $html, array $variables = [] ) : string Renders a template.
    retrieveStoredData ( string $host, integer $port ) : array Returns the stored data from a Memcached instance.
    setAction ( integer $action ) : void Setter for action.
    setBaseUrl ( string $baseUrl ) : void Setter for baseUrl.
    setClient ( Clickalicious\Memcached\Client $client ) : void Setter for client.
    setClients ( array $clients ) : void Setter for clients.
    setCluster ( string $cluster ) : void Setter for cluster.
    setConfig ( stdClass $config ) : void Setter for config.
    setCredentials ( string $username, string $password ) : void Setter for credentials.
    setDateFormat ( string $dateFormat ) : void Setter for dateFormat.
    setError ( string $error ) : void Setter for error.
    setHosts ( array $hosts ) : void Setter for hosts.
    setInfo ( string $info ) : void Setter for info.
    setSuccess ( string $success ) : void Setter for success.
    setTitle ( string $title ) : void Setter for title.
    success ( string $success ) Setter for success.
    title ( string $title ) Setter for title.
    uuid ( ) : string Simple generic hashing of dynamic input.

    메소드 상세

    __construct() 공개 메소드

    Constructor.
    저자: Benjamin Carl ([email protected])
    public __construct ( stdClass $config, Clickalicious\Memcached\Client $client, string $baseUrl = self::DEFAULT_BASEURL, string $dateFormat = self::DEFAULT_DATEFORMAT, string $title = self::DEFAULT_TITLE ) : App
    $config stdClass The configuration containing all preset values at least.
    $client Clickalicious\Memcached\Client The master client instance used for cloning instances.
    $baseUrl string The base URL of the application
    $dateFormat string The date format used for formatting dates
    $title string The title of the application
    리턴 App

    action() 보호된 메소드

    Setter for action.
    저자: Benjamin Carl ([email protected])
    protected action ( integer $action )
    $action integer The action to set

    actionToTemplates() 보호된 메소드

    Returns a collection in logical order of templates required for passed action.
    저자: Benjamin Carl ([email protected])
    protected actionToTemplates ( integer $action ) : array
    $action integer The action to return templates for
    리턴 array An collection of templates in logical order

    aggregateStatistics() 보호된 메소드

    Fetch statistics for a single host or (aggregated) for a collection of hosts (cluster).
    저자: Benjamin Carl ([email protected])
    protected aggregateStatistics ( array $hosts = [] ) : array
    $hosts array An array containing a single host or a collection of hosts to fetch statistics for.
    리턴 array The aggregated statistics

    authenticate() 보호된 메소드

    Try to authenticate the user for active session.
    저자: Benjamin Carl ([email protected])
    protected authenticate ( )

    baseUrl() 보호된 메소드

    Setter for baseUrl.
    저자: Benjamin Carl ([email protected])
    protected baseUrl ( string $baseUrl )
    $baseUrl string The base URL to set.

    castAsPhpType() 보호된 메소드

    Returns the value casted to a native PHP type.
    저자: Benjamin Carl ([email protected])
    protected castAsPhpType ( mixed $value ) : mixed
    $value mixed The value to cast magically.
    리턴 mixed The resulting value

    client() 보호된 메소드

    Setter for client.
    저자: Benjamin Carl ([email protected])
    protected client ( Clickalicious\Memcached\Client $client )
    $client Clickalicious\Memcached\Client The client to set

    clients() 보호된 메소드

    Setter for clients.
    저자: Benjamin Carl ([email protected])
    protected clients ( array $clients )
    $clients array The clients to set

    cluster() 보호된 메소드

    Setter for cluster.
    저자: Benjamin Carl ([email protected])
    protected cluster ( string $cluster )
    $cluster string The name of the cluster

    config() 보호된 메소드

    Setter for config.
    저자: Benjamin Carl ([email protected])
    protected config ( stdClass $config )
    $config stdClass The config to set

    convertUptime() 보호된 메소드

    ..
    저자: Benjamin Carl ([email protected])
    protected convertUptime ( integer $timestamp ) : array
    $timestamp integer The timestamp to parse
    리턴 array The result

    credentials() 보호된 메소드

    Setter for credentials.
    저자: Benjamin Carl ([email protected])
    protected credentials ( string $username, string $password )
    $username string The username used to authenticate
    $password string The password used to authenticate

    dateFormat() 보호된 메소드

    Setter for dateFormat.
    저자: Benjamin Carl ([email protected])
    protected dateFormat ( string $dateFormat )
    $dateFormat string The date-format string.

    dumpEntries() 보호된 메소드

    Returns all entries for a passed slab (hostname & port) by passed namespace or all.
    저자: Benjamin Carl ([email protected])
    protected dumpEntries ( string $host, integer $port, string | null $namespace = null, boolean $flat = false ) : array
    $host string The host (slab) to fetch items from
    $port integer The port
    $namespace string | null The namespace to filter on as string, otherwise NULL to fetch all
    $flat boolean TRUE to return plain key/value pairs, FALSE to return meta-data as well
    리턴 array List of entries indexed by key

    error() 보호된 메소드

    Setter for error.
    저자: Benjamin Carl ([email protected])
    protected error ( string $error )
    $error string The error to set

    errorContext() 보호된 메소드

    Returns an error context array which contains an error-number and variables related to the error.
    저자: Benjamin Carl ([email protected])
    protected errorContext ( integer $errorNumber, array $context = [] ) : array
    $errorNumber integer The error number
    $context array The related variables
    리턴 array An error context array containing key number and context

    formatNumberAsText() 보호된 메소드

    Formats a number to display it better readable.
    저자: Benjamin Carl ([email protected])
    protected formatNumberAsText ( mixed $value, string $lineEnding = '↵' ) : string
    $value mixed The value to format
    $lineEnding string The line-ending used for formatting value
    리턴 string The formatted value

    getAction() 공개 메소드

    Getter for action.
    저자: Benjamin Carl ([email protected])
    public getAction ( ) : integer
    리턴 integer The current action if set, otherwise NULL

    getActiveHost() 공개 메소드

    Returns currently active host. If no host is active, the first one found in list of servers is the active one.
    저자: Benjamin Carl ([email protected])
    public getActiveHost ( boolean $asArray = false ) : string
    $asArray boolean TRUE to return the host as prepared array, otherwise FALSE to return as string (default).
    리턴 string The active host name or ip

    getAppendButtonHtml() 보호된 메소드

    Returns the HTML for the append button.
    저자: Benjamin Carl ([email protected])
    protected getAppendButtonHtml ( string $key ) : string
    $key string The key to render button for
    리턴 string The HTML of the button

    getBaseUrl() 보호된 메소드

    Getter for baseUrl.
    저자: Benjamin Carl ([email protected])
    protected getBaseUrl ( ) : string
    리턴 string The base URL for this instance

    getClient() 보호된 메소드

    Getter for client.
    저자: Benjamin Carl ([email protected])
    protected getClient ( ) : Clickalicious\Memcached\Client | null
    리턴 Clickalicious\Memcached\Client | null $client The client if set, otherwise NULL

    getClients() 보호된 메소드

    Getter for clients.
    저자: Benjamin Carl ([email protected])
    protected getClients ( ) : Clickalicious\Memcached\Client[]
    리턴 Clickalicious\Memcached\Client[] The clients if set, otherwise empty array

    getCluster() 보호된 메소드

    Getter for cluster.
    저자: Benjamin Carl ([email protected])
    protected getCluster ( ) : string
    리턴 string The name of the cluster

    getConfig() 보호된 메소드

    Getter for config.
    저자: Benjamin Carl ([email protected])
    protected getConfig ( ) : stdClass
    리턴 stdClass config

    getContent() 보호된 메소드

    Returns the inner content of the pages by action.
    저자: Benjamin Carl ([email protected])
    protected getContent ( integer $action ) : string
    $action integer The action to return content for
    리턴 string HTML

    getCredentials() 보호된 메소드

    Getter for credentials.
    저자: Benjamin Carl ([email protected])
    protected getCredentials ( ) : array
    리턴 array The credentials

    getDateFormat() 보호된 메소드

    Getter for dateFormat.
    저자: Benjamin Carl ([email protected])
    protected getDateFormat ( ) : string
    리턴 string The active date-time format

    getDecrementButtonHtml() 보호된 메소드

    Returns the HTML for the decrement button.
    저자: Benjamin Carl ([email protected])
    protected getDecrementButtonHtml ( string $key ) : string
    $key string The key to render button for
    리턴 string The HTML of the button

    getDefaultTemplateVariables() 보호된 메소드

    This method merges the pre-defined variables (defaultTemplateVariables) with runtime and date/time information to a final collection of template variables.
    저자: Benjamin Carl ([email protected])
    protected getDefaultTemplateVariables ( ) : array
    리턴 array The default template variables

    getDeleteButtonHtml() 보호된 메소드

    Returns the delete button rendered by template render engine.
    저자: Benjamin Carl ([email protected])
    protected getDeleteButtonHtml ( string $key ) : string
    $key string The key for button
    리턴 string The HTML of the button

    getEditButtonHtml() 보호된 메소드

    Returns the edit button rendered by template render engine.
    저자: Benjamin Carl ([email protected])
    protected getEditButtonHtml ( string $key, string $value ) : string
    $key string The key for button
    $value string The value to edit
    리턴 string The HTML of the button

    getError() 보호된 메소드

    Getter for error.
    저자: Benjamin Carl ([email protected])
    protected getError ( ) : string
    리턴 string Error

    getErrorMessageByNumber() 보호된 메소드

    Returns the error for the passed number if set, otherwise the string 'n.a.'.
    저자: Benjamin Carl ([email protected])
    protected getErrorMessageByNumber ( integer $number ) : string
    $number integer The number to return error for
    리턴 string The error message

    getErrorMessageHtml() 보호된 메소드

    Returns the HTML for the error message if error is set, otherwise empty string.
    저자: Benjamin Carl ([email protected])
    protected getErrorMessageHtml ( ) : string
    리턴 string The HTML as string

    getHostFromRequest() 보호된 메소드

    Returns host from request if exist, otherwise NULL.
    저자: Benjamin Carl ([email protected])
    protected getHostFromRequest ( ) : null\string
    리턴 null\string

    getHosts() 보호된 메소드

    Getter for hosts.
    저자: Benjamin Carl ([email protected])
    protected getHosts ( ) : array
    리턴 array The list of hosts

    getHtmlInfoMessage() 보호된 메소드

    Returns the HTML for the info message if info is set, otherwise empty string.
    저자: Benjamin Carl ([email protected])
    protected getHtmlInfoMessage ( ) : string
    리턴 string The HTML as string

    getHtmlNavigationEntry() 보호된 메소드

    Creates
  • elements HTML used for generating navigation entries for example.
  • 저자: Benjamin Carl ([email protected])
    protected getHtmlNavigationEntry ( integer $action, string $title, string $glyphicon = '' ) : string
    $action integer The action of the entry
    $title string The text of the menu element
    $glyphicon string The optional glyphicon
    리턴 string Generated HTML as string

    getHtmlSuccessMessage() 보호된 메소드

    Returns the HTML for the success message if info is set, otherwise empty string.
    저자: Benjamin Carl ([email protected])
    protected getHtmlSuccessMessage ( ) : string
    리턴 string The HTML as string

    getIncrementButtonHtml() 보호된 메소드

    Returns the HTML for the increment button.
    저자: Benjamin Carl ([email protected])
    protected getIncrementButtonHtml ( string $key ) : string
    $key string The key to render button for
    리턴 string The HTML of the button

    getInfo() 보호된 메소드

    Getter for info.
    저자: Benjamin Carl ([email protected])
    protected getInfo ( ) : string
    리턴 string The info message

    getLinkForAction() 보호된 메소드

    Returns the link to the phpMemAdmin installation with optional action argument.
    저자: Benjamin Carl ([email protected])
    protected getLinkForAction ( integer $action = null, array $arguments = [] ) : string
    $action integer The action to attach
    $arguments array The arguments to attach to URL
    리턴 string The link to phpMemAdmin

    getMemcachedClient() 보호된 메소드

    Returns an instance of Client for host and port combination.
    저자: Benjamin Carl ([email protected])
    protected getMemcachedClient ( string $host, integer $port = Client::DEFAULT_PORT, integer $timeout = null ) : Clickalicious\Memcached\Client
    $host string The host to return instance for
    $port integer The port to return instance for
    $timeout integer The timeout used when connecting
    리턴 Clickalicious\Memcached\Client A client instance

    getMemcachedLatestVersion() 보호된 메소드

    Returns the latest version from memcached official website or 1.0.0 as fallback.
    저자: Benjamin Carl ([email protected])
    protected getMemcachedLatestVersion ( ) : string
    리턴 string The latest version of Memcached from website or 1.0.0 as fallback (timeout)

    getMenuHtml() 공개 메소드

    public getMenuHtml ( ) : string
    리턴 string

    getMessages() 보호된 메소드

    Retrieves the messages to be shown in rendered page.
    저자: Benjamin Carl ([email protected])
    protected getMessages ( ) : string
    리턴 string The message HTML string

    getPrependButtonHtml() 보호된 메소드

    Returns the HTML for the prepend button.
    저자: Benjamin Carl ([email protected])
    protected getPrependButtonHtml ( string $key ) : string
    $key string The key to render button for
    리턴 string The HTML of the button

    getSettings() 보호된 메소드

    Retrieve settings from Memcached instance.
    저자: Benjamin Carl ([email protected])
    protected getSettings ( string $host ) : array
    $host string The host to retrieve statistics from.
    리턴 array Containing the result

    getSuccess() 보호된 메소드

    Getter for success.
    저자: Benjamin Carl ([email protected])
    protected getSuccess ( ) : string
    리턴 string The success message

    getTitle() 보호된 메소드

    Getter for title.
    저자: Benjamin Carl ([email protected])
    protected getTitle ( ) : string
    리턴 string The title of the application

    getUrl() 보호된 메소드

    Return the URL for the current executed route.
    저자: Benjamin Carl ([email protected])
    protected getUrl ( array $arguments = [], string $prefix = '', $anchor = '' ) : string
    $arguments array Optional arguments to add
    $prefix string An optional prefix to prepend
    리턴 string The URL

    hosts() 보호된 메소드

    Setter for hosts.
    저자: Benjamin Carl ([email protected])
    protected hosts ( array $hosts )
    $hosts array The host array

    info() 보호된 메소드

    Setter for info.
    저자: Benjamin Carl ([email protected])
    protected info ( string $info )
    $info string The info message to set

    loadTemplates() 보호된 메소드

    Loads a template from filesystem.
    저자: Benjamin Carl ([email protected])
    protected loadTemplates ( string | array $templates ) : string
    $templates string | array A single template as string or a collection as array
    리턴 string Content of template(s) as string

    parseArguments() 보호된 메소드

    Parses arguments and stores the values.
    저자: Benjamin Carl ([email protected])
    protected parseArguments ( array $arguments ) : void
    $arguments array The arguments to parse
    리턴 void

    processRequestOperations() 보호된 메소드

    Processes the operations passed with the current request.
    저자: Benjamin Carl ([email protected])
    protected processRequestOperations ( integer $action, array $arguments ) : void
    $action integer The action we are running
    $arguments array The arguments to parse for commands
    리턴 void

    redirect() 보호된 메소드

    Redirects to the passed URL.
    저자: Benjamin Carl ([email protected])
    protected redirect ( string $url ) : void
    $url string The URL to redirect to
    리턴 void

    render() 공개 메소드

    The application is split in this way so we are able to execute the whole stack painless with mock data for unit tests and stuff like that.
    저자: Benjamin Carl ([email protected])
    public render ( string $route = self::DEFAULT_BASEURL, array $arguments = [] ) : string
    $route string The route running
    $arguments array Arguments from request
    리턴 string The rendered HTML(5) template ready for delivery

    renderString() 보호된 메소드

    Renders the content of $string with variables from $variables.
    저자: Benjamin Carl ([email protected])
    protected renderString ( string $string, array $variables = [] ) : string
    $string string The html of the template
    $variables array The template vars used for rendering (key => value)
    리턴 string The rendered string

    renderTemplate() 보호된 메소드

    Renders a template.
    저자: Benjamin Carl ([email protected])
    protected renderTemplate ( string $html, array $variables = [] ) : string
    $html string The html of the template
    $variables array The template vars used for rendering (key => value)
    리턴 string Rendered HTML as string

    retrieveStoredData() 보호된 메소드

    Returns the stored data from a Memcached instance.
    저자: Benjamin Carl ([email protected])
    protected retrieveStoredData ( string $host, integer $port ) : array
    $host string The host to return data from
    $port integer The port the Memcached daemon is listening on
    리턴 array The data requested

    setAction() 보호된 메소드

    Setter for action.
    저자: Benjamin Carl ([email protected])
    protected setAction ( integer $action ) : void
    $action integer The action to set
    리턴 void

    setBaseUrl() 보호된 메소드

    Setter for baseUrl.
    저자: Benjamin Carl ([email protected])
    protected setBaseUrl ( string $baseUrl ) : void
    $baseUrl string The base URL to set.
    리턴 void

    setClient() 보호된 메소드

    Setter for client.
    저자: Benjamin Carl ([email protected])
    protected setClient ( Clickalicious\Memcached\Client $client ) : void
    $client Clickalicious\Memcached\Client The client to set
    리턴 void

    setClients() 보호된 메소드

    Setter for clients.
    저자: Benjamin Carl ([email protected])
    protected setClients ( array $clients ) : void
    $clients array The client to set
    리턴 void

    setCluster() 보호된 메소드

    Setter for cluster.
    저자: Benjamin Carl ([email protected])
    protected setCluster ( string $cluster ) : void
    $cluster string The name of the cluster
    리턴 void

    setConfig() 보호된 메소드

    Setter for config.
    저자: Benjamin Carl ([email protected])
    protected setConfig ( stdClass $config ) : void
    $config stdClass The config to set
    리턴 void

    setCredentials() 보호된 메소드

    Setter for credentials.
    저자: Benjamin Carl ([email protected])
    protected setCredentials ( string $username, string $password ) : void
    $username string The username used to authenticate
    $password string The password used to authenticate
    리턴 void

    setDateFormat() 보호된 메소드

    Setter for dateFormat.
    저자: Benjamin Carl ([email protected])
    protected setDateFormat ( string $dateFormat ) : void
    $dateFormat string The date-format string.
    리턴 void

    setError() 보호된 메소드

    Setter for error.
    저자: Benjamin Carl ([email protected])
    protected setError ( string $error ) : void
    $error string The error to set
    리턴 void

    setHosts() 보호된 메소드

    Setter for hosts.
    저자: Benjamin Carl ([email protected])
    protected setHosts ( array $hosts ) : void
    $hosts array The host array
    리턴 void

    setInfo() 보호된 메소드

    Setter for info.
    저자: Benjamin Carl ([email protected])
    protected setInfo ( string $info ) : void
    $info string The info message to set
    리턴 void

    setSuccess() 보호된 메소드

    Setter for success.
    저자: Benjamin Carl ([email protected])
    protected setSuccess ( string $success ) : void
    $success string The success message to set
    리턴 void

    setTitle() 보호된 메소드

    Setter for title.
    저자: Benjamin Carl ([email protected])
    protected setTitle ( string $title ) : void
    $title string The title
    리턴 void

    success() 보호된 메소드

    Setter for success.
    저자: Benjamin Carl ([email protected])
    protected success ( string $success )
    $success string The success message to set

    title() 보호된 메소드

    Setter for title.
    저자: Benjamin Carl ([email protected])
    protected title ( string $title )
    $title string The title

    uuid() 보호된 메소드

    Simple generic hashing of dynamic input.
    저자: Benjamin Carl ([email protected])
    protected uuid ( ) : string
    리턴 string The calculated UUID

    프로퍼티 상세

    $action 보호되어 있는 프로퍼티

    The action currently processed : defaults to 1
    protected int $action
    리턴 integer

    $authentication 보호되어 있는 프로퍼티

    Whether authentication is required.
    protected bool $authentication
    리턴 boolean

    $baseUrl 보호되어 있는 프로퍼티

    Normally no need to be modified. But if App is run from outside a vhost that maps "/web" to "/" then it is required to inform the App about the new path/URL.
    protected string $baseUrl
    리턴 string

    $client 보호되어 있는 프로퍼티

    Master instance of Memcached client for cloning from.
    protected Client,Clickalicious\Memcached $client
    리턴 Clickalicious\Memcached\Client

    $clients 보호되어 있는 프로퍼티

    The collection of clients instantiated and used by the current run.
    protected array $clients
    리턴 array

    $cluster 보호되어 있는 프로퍼티

    The name of the cluster.
    protected string $cluster
    리턴 string

    $config 보호되어 있는 프로퍼티

    The configuration.
    protected stdClass $config
    리턴 stdClass

    $connections 보호되어 있는 정적으로 프로퍼티

    The connections already established.
    protected static array $connections
    리턴 array

    $credentials 보호되어 있는 프로퍼티

    Credentials valid for access.
    protected array $credentials
    리턴 array

    $dateFormat 보호되어 있는 프로퍼티

    The format used when displaying date/time values.
    protected string $dateFormat
    리턴 string

    $defaultTemplateVariables 보호되어 있는 프로퍼티

    The list of memcached hosts.
    protected array $defaultTemplateVariables
    리턴 array

    $error 보호되어 있는 프로퍼티

    The last error's message.
    protected string $error
    리턴 string

    $errorMessages 보호되어 있는 프로퍼티

    Error Messages.
    protected array $errorMessages
    리턴 array

    $hosts 보호되어 있는 프로퍼티

    The list of memcached hosts.
    protected array $hosts
    리턴 array

    $info 보호되어 있는 프로퍼티

    An info message
    protected string $info
    리턴 string

    $success 보호되어 있는 프로퍼티

    An success message
    protected string $success
    리턴 string

    $title 보호되어 있는 프로퍼티

    The app title.
    protected string $title
    리턴 string