Pbxt
class Pbxt extends StorageEngine (View source)
The PBXT storage engine
Constants
protected SUPPORT_NO |
|
protected SUPPORT_DISABLED |
|
protected SUPPORT_YES |
|
protected SUPPORT_DEFAULT |
|
protected DETAILS_TYPE_PLAINTEXT |
|
protected DETAILS_TYPE_SIZE |
|
protected DETAILS_TYPE_NUMERIC |
|
protected DETAILS_TYPE_BOOLEAN |
|
Properties
string | $engine | from StorageEngine | |
string | $title | from StorageEngine | |
string | $comment | from StorageEngine | |
int | $support | Engine supported by current server. |
from StorageEngine |
Methods
Get the lengths of a table of database
Loads the corresponding engine plugin, if available.
Returns true if given engine name is supported/valid, otherwise false
returns the pbxt engine specific handling for DETAILS_TYPE_SIZE variables.
Returns array with detailed info about engine specific server variables
Information message on whether this storage engine is supported
Returns array with variable names dedicated to PBXT storage engine
Returns string with filename for the MySQL helppage about this storage engine
Returns the pattern to be used in the query for SQL variables related to the storage engine
Get information about pages
Get content of documentation page
Details
__construct(string $engine)
No description
static array
getStorageEngines()
Returns array of storage engines
static bool
hasMroongaEngine()
Returns if Mroonga is available to be used
This is public to be used in the StructureComtroller, the first release of this function was looking Mroonga in the engines list but this second method checks too that mroonga is installed successfully
static array
getMroongaLengths(string $dbName, string $tableName)
Get the lengths of a table of database
static array
getArray()
No description
static StorageEngine
getEngine(string $engine)
Loads the corresponding engine plugin, if available.
static bool
isValid(string $engine)
Returns true if given engine name is supported/valid, otherwise false
string
getHtmlVariables()
Returns as HTML table of the engine's server variables
array
resolveTypeSize(int|string $value)
returns the pbxt engine specific handling for DETAILS_TYPE_SIZE variables.
array
getVariablesStatus()
Returns array with detailed info about engine specific server variables
string
getTitle()
Reveals the engine's title
string
getComment()
Fetches the server's comment about this engine
string
getSupportInformationMessage()
Information message on whether this storage engine is supported
array
getVariables()
Returns array with variable names dedicated to PBXT storage engine
string
getMysqlHelpPage()
Returns string with filename for the MySQL helppage about this storage engine
string
getVariablesLikePattern()
Returns the pattern to be used in the query for SQL variables related to the storage engine
array
getInfoPages()
Get information about pages
string
getPage(string $id)
Generates the requested information page
string
getPageDocumentation()
Get content of documentation page