Lines Matching refs:optname
226 static int _php_tidy_set_tidy_opt(TidyDoc doc, const char *optname, zval *value) in _php_tidy_set_tidy_opt() argument
228 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt()
233 php_error_docref(NULL, E_WARNING, "Unknown Tidy configuration option \"%s\"", optname); in _php_tidy_set_tidy_opt()
238 php_error_docref(NULL, E_WARNING, "Attempting to set read-only option \"%s\"", optname); in _php_tidy_set_tidy_opt()
1165 char *optname; in PHP_FUNCTION() local
1170 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1176 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1179 …gument_value_error(hasThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()
1305 char *optname; in PHP_FUNCTION() local
1312 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1318 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1321 …gument_value_error(hasThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()