Function __global->table_has_purpose_flag
Definitions
sources/database_relations.php
- Find if a table must be ignored for backups or whatever flag(s).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $table | string | No | No | required parameter | N/A | N/A | The table name |
| $flag | integer | No | No | required parameter | N/A | N/A | A particular flag(s) |
Returns
- Whether the flag(s) exists (at least one)
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if a table must be ignored for backups or whatever flag(s).
*
* @param string $table The table name
* @param integer $flag A particular flag(s)
* @return boolean Whether the flag(s) exists (at least one)
*/
function table_has_purpose_flag(string $table, int $flag) : bool
* Find if a table must be ignored for backups or whatever flag(s).
*
* @param string $table The table name
* @param integer $flag A particular flag(s)
* @return boolean Whether the flag(s) exists (at least one)
*/
function table_has_purpose_flag(string $table, int $flag) : bool

