|
|
| version 1.27, 2016/03/31 21:46:19 | version 1.32, 2023/09/26 20:49:05 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b Methoded and Methoded_array classes. | Parser: @b Methoded and Methoded_array classes. |
| Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| #include "classes.h" | #include "classes.h" |
| Line 13 volatile const char * IDENT_CLASSES_C="$ | Line 13 volatile const char * IDENT_CLASSES_C="$ |
| // Methoded | // Methoded |
| void Methoded::register_directly_used(Request& r) { | void Methoded::register_directly_used(Request& r) { |
| if(used_directly()) { | if(used_directly()) |
| r.classes().put(name(), this); | r.put_class(this); |
| } | |
| // prevent system classes from modification [calling set_method] | // prevent system classes from modification [calling set_method] |
| // ^process[$string:CLASS]{@method} prohibited from now on... | // ^process[$string:CLASS]{@method} prohibited from now on... |