Lines Matching refs:optname
273 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value) in _php_tidy_set_tidy_opt() argument
275 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt()
280 php_error_docref(NULL, E_WARNING, "Unknown Tidy configuration option \"%s\"", optname); in _php_tidy_set_tidy_opt()
285 php_error_docref(NULL, E_WARNING, "Attempting to set read-only option \"%s\"", optname); in _php_tidy_set_tidy_opt()
1151 char *optval, *optname; in PHP_FUNCTION() local
1156 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1162 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1165 …gument_value_error(getThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()
1293 char *optname; in PHP_FUNCTION() local
1300 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1306 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1309 …gument_value_error(getThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()