Méthode | Description | |
---|---|---|
__construct ( ) | Import the Database object | |
convertMultiField ( string $table, string $field ) | Convert a multi source field to UUIDs | |
convertOrderField ( string $table, string $field ) | Convert an order source field to UUIDs | |
convertSingleField ( string $table, string $field ) | Convert a single source field to UUIDs | |
run210Update ( ) | Version 2.10.0 update | |
run28Update ( ) | Version 2.8.0 update | |
run292Update ( ) | Version 2.9.2 update | |
run29Update ( ) | Version 2.9.0 update | |
run300Update ( ) | Version 3.0.0 update | |
run31Update ( ) | Version 3.1.0 update | |
run32Update ( ) | Version 3.2.0 update | |
run33Update ( ) | Version 3.3.0 update | |
run35Update ( ) | Version 3.5.0 update | |
run40Update ( ) | Version 4.0.0 update | |
scanUploadFolder ( string $strPath = null, integer $pid = null ) | Scan the upload folder and create the database entries | |
updateFileTreeFields ( ) | Update all FileTree fields |
Méthode | Description | |
---|---|---|
createContentElement ( |
Create a content element | |
generateHelperObject ( mixed $value ) : stdClass | Generate a helper object based on a field value |
public static convertMultiField ( string $table, string $field ) | ||
$table | string | The table name |
$field | string | The field name |
public static convertOrderField ( string $table, string $field ) | ||
$table | string | The table name |
$field | string | The field name |
public static convertSingleField ( string $table, string $field ) | ||
$table | string | The table name |
$field | string | The field name |
protected createContentElement ( |
||
$objElement | A database result object | |
$strPtable | string | The name of the parent table |
$strField | string | The name of the text column |
protected static generateHelperObject ( mixed $value ) : stdClass | ||
$value | mixed | The field value |
Résultat | stdClass | The helper object |
public scanUploadFolder ( string $strPath = null, integer $pid = null ) | ||
$strPath | string | The target folder |
$pid | integer | The parent ID |