Lines Matching refs:optname
290 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value) in _php_tidy_set_tidy_opt() argument
292 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt()
297 php_error_docref(NULL, E_WARNING, "Unknown Tidy configuration option \"%s\"", optname); in _php_tidy_set_tidy_opt()
302 php_error_docref(NULL, E_WARNING, "Attempting to set read-only option \"%s\"", optname); in _php_tidy_set_tidy_opt()
1169 char *optval, *optname; in PHP_FUNCTION() local
1174 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1180 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1183 …gument_value_error(getThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()
1311 char *optname; in PHP_FUNCTION() local
1318 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, tidy_ce_doc, &optname,… in PHP_FUNCTION()
1324 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1327 …gument_value_error(getThis() ? 1 : 2, "is an invalid configuration option, \"%s\" given", optname); in PHP_FUNCTION()