136136(defcustom php-mode-default-face 'default
137137 " Default face in `php-mode' buffers."
138138 :group 'php-mode
139+ :tag " PHP Mode Default Face"
139140 :type 'face )
140141
141142(define-obsolete-variable-alias 'php-speedbar-config 'php-mode-speedbar-config " 1.20.0" )
142143(defcustom php-mode-speedbar-config t
143144 " When set to true automatically configures Speedbar to observe PHP files.
144145Ignores php-file patterns option; fixed to expression \" \\ .\\ (inc\\ |php[s345]?\\ )\" "
145146 :group 'php-mode
147+ :tag " PHP Mode Speedbar Config"
146148 :type 'boolean
147149 :set (lambda (sym val )
148150 (set-default sym val)
@@ -154,6 +156,7 @@ Ignores php-file patterns option; fixed to expression \"\\.\\(inc\\|php[s345]?\\
154156 " Normally `php-mode' starts with the speedbar closed.
155157Turning this on will open it whenever `php-mode' is loaded."
156158 :group 'php-mode
159+ :tag " PHP Mode Speedbar Open"
157160 :type 'boolean
158161 :set (lambda (sym val )
159162 (set-default sym val)
@@ -164,6 +167,7 @@ Turning this on will open it whenever `php-mode' is loaded."
164167(defcustom php-mode-template-compatibility t
165168 " Should detect presence of html tags."
166169 :group 'php-mode
170+ :tag " PHP Mode Template Compatibility"
167171 :type 'boolean )
168172
169173(defun php-mode-extra-constants-create-regexp (kwds )
@@ -194,13 +198,15 @@ of constants when set."
194198(defcustom php-mode-lineup-cascaded-calls nil
195199 " Indent chained method calls to the previous line."
196200 :group 'php-mode
201+ :tag " PHP Mode Lineup Cascaded Calls"
197202 :type 'boolean )
198203
199204
200205(define-obsolete-variable-alias 'php-extra-constants 'php-mode-extra-constants " 1.20.0" )
201206(defcustom php-mode-extra-constants '()
202207 " A list of additional strings to treat as PHP constants."
203208 :group 'php-mode
209+ :tag " PHP Mode Extra Constants"
204210 :type '(repeat string)
205211 :set 'php-mode-extra-constants-set )
206212
@@ -213,6 +219,8 @@ set to `semantic-create-imenu-index' due to `c-mode' being its
213219parent. Set this variable to t if you want to use
214220`imenu-default-create-index-function' even with `semantic-mode'
215221enabled."
222+ :group 'php-mode
223+ :tag " PHP Mode Do Not Use Semantic Imenu"
216224 :type 'boolean )
217225
218226(defcustom php-completion-file " "
@@ -233,38 +241,54 @@ enabled."
233241
234242(defcustom php-mode-hook nil
235243 " List of functions to be executed on entry to `php-mode' ."
244+ :group 'php-mode
245+ :tag " PHP Mode Hook"
236246 :type 'hook )
237247
238248(defcustom php-mode-pear-hook nil
239249 " Hook called when a PHP PEAR file is opened with `php-mode' ."
250+ :group 'php-mode
251+ :tag " PHP Mode Pear Hook"
240252 :type 'hook )
241253
242254(defcustom php-mode-drupal-hook nil
243255 " Hook called when a Drupal file is opened with `php-mode' ."
256+ :group 'php-mode
257+ :tag " PHP Mode Drupal Hook"
244258 :type 'hook )
245259
246260(defcustom php-mode-wordpress-hook nil
247261 " Hook called when a WordPress file is opened with `php-mode' ."
262+ :group 'php-mode
263+ :tag " PHP Mode WordPress Hook"
248264 :type 'hook )
249265
250266(defcustom php-mode-symfony2-hook nil
251267 " Hook called when a Symfony2 file is opened with `php-mode' ."
268+ :group 'php-mode
269+ :tag " PHP Mode Symfony2 Hook"
252270 :type 'hook )
253271
254272(defcustom php-mode-psr2-hook nil
255273 " Hook called when a PSR-2 file is opened with `php-mode' ."
274+ :group 'php-mode
275+ :tag " PHP Mode PSR-2 Hook"
256276 :type 'hook )
257277
258278(defcustom php-mode-force-pear nil
259279 " Normally PEAR coding rules are enforced only when the filename contains \" PEAR.\"
260280Turning this on will force PEAR rules on all PHP files."
281+ :group 'php-mode
282+ :tag " PHP Mode Force Pear"
261283 :type 'boolean )
262284
263285(defcustom php-mode-warn-if-mumamo-off t
264286 " Warn once per buffer if you try to indent a buffer without
265287mumamo-mode turned on. Detects if there are any HTML tags in the
266288buffer before warning, but this is is not very smart; e.g. if you
267289have any tags inside a PHP string, it will be fooled."
290+ :group 'php-mode
291+ :tag " PHP Mode Warn If MuMaMo Off"
268292 :type '(choice (const :tag " Warn" t ) (const " Don't warn" nil )))
269293
270294(defcustom php-mode-coding-style 'pear
@@ -282,6 +306,8 @@ This variable can take one of the following symbol values:
282306`Symfony2' - use coding styles preferred for working with Symfony2 projects.
283307
284308`PSR-2' - use coding styles preferred for working with projects using PSR-2 standards."
309+ :group 'php-mode
310+ :tag " PHP Mode Coding Style"
285311 :type '(choice (const :tag " Default" default )
286312 (const :tag " PEAR" pear)
287313 (const :tag " Drupal" drupal)
@@ -297,18 +323,24 @@ This variable can take one of the following symbol values:
297323
298324If you want to suppress styles from being overwritten by directory / file
299325local variables, set NIL."
326+ :group 'php-mode
327+ :tag " PHP Mode Enable Project Coding Style"
300328 :type 'boolean )
301329
302330(defcustom php-mode-enable-backup-style-variables t
303331 " When set to `T' , back up values set by hook and buffer local variables.
304332
305333This function may interfere with other hooks and other behaviors.
306334In that case set to `NIL' ."
335+ :group 'php-mode
336+ :tag " PHP Mode Enable Backup Style Variables"
307337 :type 'boolean )
308338
309339(define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook " 1.21.0" )
310340(defcustom php-mode-disable-c-mode-hook t
311341 " When set to `T' , do not run hooks of parent modes (`java-mode' , `c-mode' )."
342+ :group 'php-mode
343+ :tag " PHP Mode Disable C Mode Hook"
312344 :type 'boolean
313345 :group 'php-mode )
314346
@@ -1234,6 +1266,7 @@ current `tags-file-name'."
12341266If non-nil, this shadows the value of `browse-url-browser-function' when
12351267calling `php-search-documentation' or `php-search-local-documentation' ."
12361268 :group 'php
1269+ :tag " PHP Search Documentation Browser Function"
12371270 :type '(choice (const :tag " default" nil ) function)
12381271 :link '(variable-link browse-url-browser-function))
12391272
0 commit comments