Property | Type | Description | |
---|---|---|---|
$Form | Gdn_Form | ||
$Uses | Models to automatically instantiate. |
Property | Type | Description | |
---|---|---|---|
$specialHeaders | Special-case HTTP headers that are otherwise unidentifiable as HTTP headers. Typically, HTTP headers in the $_SERVER array will be prefixed with HTTP_ or X_. These are not so we list them here for later reference. |
Method | Description | |
---|---|---|
alive ( ) | Signs of life. | |
fetchPageInfo ( $Url = '' ) | Return some meta information about any page on the internet in JSON format. | |
getFeed ( $type = 'news', $length = 5, $feedFormat = 'normal' ) | Grab a feed from the mothership. | |
initialize ( ) | Runs before every call to this controller. | |
ping ( ) | ||
set ( string $UserPropertyColumn = '', string $Name = '', string $Value = '', string $TransientKey = '' ) | Allows the setting of data into one of two serialized data columns on the user table: Preferences and Attributes. | |
setClientHour ( $ClientHour = '', string $TransientKey = '' ) | Set the user's timezone (hour offset). | |
setHourOffset ( ) | ||
sort ( ) | Set the sort order for data on an arbitrary database table. | |
sprites ( ) | ||
structure ( ) | Update database structure based on current definitions in each app's structure.php file. | |
update ( ) | Run a structure update on the database. | |
upgrade ( ) | Because people try this a lot and get confused. |
Method | Description | |
---|---|---|
runStructure ( boolean $captureOnly = true ) | Run the database structure or /utility/structure. |
public fetchPageInfo ( $Url = '' ) |
public getFeed ( $type = 'news', $length = 5, $feedFormat = 'normal' ) |
public set ( string $UserPropertyColumn = '', string $Name = '', string $Value = '', string $TransientKey = '' ) | ||
$UserPropertyColumn | string | The type of value being saved: preference or attribute. |
$Name | string | The name of the property being saved. |
$Value | string | The value of the property being saved. |
$TransientKey | string | A unique transient key to authenticate that the user intended to perform this action. |
public setClientHour ( $ClientHour = '', string $TransientKey = '' ) | ||
$TransientKey | string | Security token. |
public sort ( ) |
public structure ( ) |
public update ( ) |