Properties

Properties existing in the Solar_Csrf class.

Public

None.

Protected

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

$_current

(static string) The current value of the anti-CSRF token.

$_key

(static string) The name of the $_POST key containing the anti-CSRF token.

$_request

(static Solar_Request) A Solar_Request dependency.

$_session

(static Solar_Session) A Solar_Session object.

$_updated

(static bool) Has the token value been updated?

Private

None.



Local