1 | <?php |
||
11 | class ThreemaGateway_Option_ReceiveCallback |
||
12 | { |
||
13 | /** |
||
14 | * @var int The default length of an access token |
||
15 | */ |
||
16 | const ACCESS_TOKEN_LENGTH = 46; |
||
17 | |||
18 | /** |
||
19 | * Renders the debug mode text input field with on/off buttons. |
||
20 | * |
||
21 | * @param XenForo_View $view View object |
||
22 | * @param string $fieldPrefix Prefix for the HTML form field name |
||
23 | * @param array $preparedOption Prepared option info |
||
24 | * @param bool $canEdit True if an "edit" link should appear |
||
25 | * |
||
26 | * @return XenForo_Template_Abstract Template object |
||
27 | */ |
||
28 | public static function renderOption(XenForo_View $view, $fieldPrefix, array $preparedOption, $canEdit) |
||
49 | |||
50 | /** |
||
51 | * Verifies whether the dir of the file is valid (can be created) and is writable. |
||
52 | * |
||
53 | * @param XenForo_DataWriter $dataWriter |
||
54 | * @param string $fieldName Name of field/option |
||
55 | * |
||
56 | * @return bool |
||
57 | */ |
||
58 | public static function verifyOption(&$input, XenForo_DataWriter $dataWriter, $fieldName) |
||
67 | |||
68 | /** |
||
69 | * Generates the default, which should be used for this option. |
||
70 | * |
||
71 | * @return string |
||
72 | */ |
||
73 | protected static function generateDefault() |
||
77 | } |
||
78 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.