Page MenuHomePhabricator

abstract class PhabricatorLiskDAO
Phabricator Technical Documentation (Storage)

This class is not documented.

Tasks

Configuring Storage

Other Methods

Methods

public static function pushStorageNamespace($namespace)

This method is not documented.
Parameters
$namespace
Return
wild

public static function popStorageNamespace()

This method is not documented.
Return
wild

public static function getDefaultStorageNamespace()

This method is not documented.
Return
wild

public static function getStorageNamespace()

This method is not documented.
Return
wild

public function setForcedStorageNamespace($namespace)

This method is not documented.
Parameters
$namespace
Return
wild

protected function establishLiveConnection($mode)

This method is not documented.
Parameters
$mode
Return
wild

private function newClusterConnection($application, $database, $mode)

This method is not documented.
Parameters
$application
$database
$mode
Return
wild

private function raiseImproperWrite($database)

This method is not documented.
Parameters
$database
Return
wild

private function raiseImpossibleWrite($database)

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnconfigured($database)

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnreachable($database, $proxy)

This method is not documented.
Parameters
$database
Exception$proxy
Return
wild

public function getTableName()

This method is not documented.
Return
wild

abstract public function getApplicationName()

This method is not documented.
Return
wild

protected function getDatabaseName()

This method is not documented.
Return
wild

public static function chunkSQL($fragments, $limit)

Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with qsprintf()) into chunks which will fit under the MySQL 'max_allowed_packet' limit.

If a statement is too large to fit within the limit, it is broken into its own chunk (but might fail when the query executes).

Parameters
array$fragments
$limit
Return
wild

protected function assertAttached($property)

This method is not documented.
Parameters
$property
Return
wild

protected function assertAttachedKey($value, $key)

This method is not documented.
Parameters
$value
$key
Return
wild

protected function detectEncodingForStorage($string)

This method is not documented.
Parameters
$string
Return
wild

protected function getUTF8StringFromStorage($string, $encoding)

This method is not documented.
Parameters
$string
$encoding
Return
wild

protected function willReadData(&$data)

This method is not documented.
Parameters
array&$data
Return
wild

protected function willWriteData(&$data)

This method is not documented.
Parameters
array&$data
Return
wild