Function __global->make_fractionable_editable
Definitions
sources/global3.php
- Make some text fractionally editable (i.e. inline editable).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_type | ID_TEXT | No | No | required parameter | N/A | N/A | Content type |
| $id | mixed | No | No | required parameter | N/A | N/A | Content ID |
| $title | mixed | No | No | required parameter | N/A | N/A | Content title (either unescaped string, or Compiled Comcode [i.e. Tempcode]) |
Returns
- Inline editable HTML to put into output
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Make some text fractionally editable (i.e. inline editable).
*
* @param ID_TEXT $content_type Content type
* @param mixed $id Content ID
* @param mixed $title Content title (either unescaped string, or Compiled Comcode [i.e. Tempcode])
* @return Tempcode Inline editable HTML to put into output
*/
function make_fractionable_editable(string $content_type, $id, $title) : object
* Make some text fractionally editable (i.e. inline editable).
*
* @param ID_TEXT $content_type Content type
* @param mixed $id Content ID
* @param mixed $title Content title (either unescaped string, or Compiled Comcode [i.e. Tempcode])
* @return Tempcode Inline editable HTML to put into output
*/
function make_fractionable_editable(string $content_type, $id, $title) : object

