|
|
| version 1.3, 2002/04/29 05:59:33 | version 1.4, 2004/03/30 08:32:17 |
|---|---|
| Line 1 | Line 1 |
| /** @page Methoded Methoded: конфигурируемый класс | /** @page Methoded Methoded: configurable class |
| Классы[mail, string, ...], это или напрямую используемый, | Classes[mail, string, ...], are direct and indirect decendants of Methoded. |
| или используемый в качестве базового класса потомок Methoded. | |
| Methoded могут быть испольнованы напрямую [Methoded::used_directly()=true], | Methoded can be used directly [Methoded::used_directly()=true], |
| тогда в начале обработки запроса Methoded_array::register_directly_used | then at the request processing stat method Methoded_array::register_directly_used |
| регистрирует их в Request::classes(). | whould register them in Request::classes(). |
| Пример: класс mail [MMail]. | Example: class mail [MMail]. |
| Или не напрямую, тогда они[глобальная переменная] используются в | Or indirectly, then they[global instance] are used in |
| Value::get_class для указания класса производной от Value сущности. | Value::get_class to specify a class of Value descendant. |
| Пример: класс string [экземпляр MString в VString::get_class]. | Excample: class string [instance of MString in VString::get_class]. |
| Класс также может иметь параметры определяемые Главным конфигурационным файлом (системным parser3.conf), | Any class can also can parameters defined in @conf in global auto.p file, |
| для работы с ними следует переопределить Methoded::configure_admin. | to work with those one should override Methoded::configure_admin. |
| Класс также может иметь параметры, задаваемые пользователем: Methoded::configure_user. | Class can also can user-defined parameters: Methoded::configure_user. |
| */ | */ |