Lines Matching refs:member

150 static zval *xsl_objects_write_property_with_validation(zend_object *object, zend_string *member, z…  in xsl_objects_write_property_with_validation()  argument
157 zend_std_write_property(object, member, value, NULL); in xsl_objects_write_property_with_validation()
162 …_error("%s::$%s must be greater than or equal to 0", ZSTR_VAL(object->ce->name), ZSTR_VAL(member)); in xsl_objects_write_property_with_validation()
169 static zval *xsl_objects_write_property(zend_object *object, zend_string *member, zval *value, void… in xsl_objects_write_property() argument
172 if (zend_string_equals_literal(member, "maxTemplateDepth")) { in xsl_objects_write_property()
174 return xsl_objects_write_property_with_validation(object, member, value, cache_slot, property); in xsl_objects_write_property()
175 } else if (zend_string_equals_literal(member, "maxTemplateVars")) { in xsl_objects_write_property()
177 return xsl_objects_write_property_with_validation(object, member, value, cache_slot, property); in xsl_objects_write_property()
179 return zend_std_write_property(object, member, value, cache_slot); in xsl_objects_write_property()
183 static bool xsl_is_validated_property(const zend_string *member) in xsl_is_validated_property() argument
185 …return zend_string_equals_literal(member, "maxTemplateDepth") || zend_string_equals_literal(member in xsl_is_validated_property()
188 static zval *xsl_objects_get_property_ptr_ptr(zend_object *object, zend_string *member, int type, v… in xsl_objects_get_property_ptr_ptr() argument
190 if (xsl_is_validated_property(member)) { in xsl_objects_get_property_ptr_ptr()
194 return zend_std_get_property_ptr_ptr(object, member, type, cache_slot); in xsl_objects_get_property_ptr_ptr()
197 static zval *xsl_objects_read_property(zend_object *object, zend_string *member, int type, void **c… in xsl_objects_read_property() argument
200 if (type != BP_VAR_IS && type != BP_VAR_R && xsl_is_validated_property(member)) { in xsl_objects_read_property()
201 …, "Indirect modification of %s::$%s is not allowed", ZSTR_VAL(object->ce->name), ZSTR_VAL(member)); in xsl_objects_read_property()
205 return zend_std_read_property(object, member, type, cache_slot, rv); in xsl_objects_read_property()
208 static void xsl_objects_unset_property(zend_object *object, zend_string *member, void **cache_slot) in xsl_objects_unset_property() argument
210 if (xsl_is_validated_property(member)) { in xsl_objects_unset_property()
211 zend_throw_error(NULL, "Cannot unset %s::$%s", ZSTR_VAL(object->ce->name), ZSTR_VAL(member)); in xsl_objects_unset_property()
215 zend_std_unset_property(object, member, cache_slot); in xsl_objects_unset_property()