|
|
| version 1.2, 2001/05/07 13:29:55 | 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 |
| в вызове констуктора VStateless_class. | Value::get_class to specify a class of Value descendant. |
| Пример: класс string [экземпляр MString в конструкторе VString]. | Excample: class string [instance of MString in VString::get_class]. |
| Any class can also can parameters defined in @conf in global auto.p file, | |
| Класс также может иметь auto.p параметры, для работы с ними | to work with those one should override Methoded::configure_admin. |
| следует переопределить Methoded::configure_admin и/или Methoded::configure_user. | Class can also can user-defined parameters: Methoded::configure_user. |
| */ | */ |