Function __global->generate_catalogue_entry_title
Definitions
sources/hooks/systems/content_meta_aware/catalogue_entry.php
- Find an entry title.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $row | array | No | No | required parameter | N/A | N/A | Database row of entry |
| $render_type | integer | No | No | 1 | N/A | N/A | A FIELD_RENDER_* constant |
| $resource_fs_style | boolean | No | No | False | N/A | N/A | Whether to use the content API as resource-fs requires (may be slightly different) |
Returns
- Content title (string or Tempcode, depending on $render_type) (null: could not generate)
- Type: ?mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find an entry title.
*
* @param array $row Database row of entry
* @param integer $render_type A FIELD_RENDER_* constant
* @param boolean $resource_fs_style Whether to use the content API as resource-fs requires (may be slightly different)
* @return ?mixed Content title (string or Tempcode, depending on $render_type) (null: could not generate)
*/
function generate_catalogue_entry_title(array $row, int $render_type = 1, bool $resource_fs_style = false)
* Find an entry title.
*
* @param array $row Database row of entry
* @param integer $render_type A FIELD_RENDER_* constant
* @param boolean $resource_fs_style Whether to use the content API as resource-fs requires (may be slightly different)
* @return ?mixed Content title (string or Tempcode, depending on $render_type) (null: could not generate)
*/
function generate_catalogue_entry_title(array $row, int $render_type = 1, bool $resource_fs_style = false)

