[NFR] Default values of method parameters in documentation
It would be great to see default values of method parameters in documentation, instead of searching them in source code.
+1. Spent very huge amount of time on this.
I can offer such an option
old: http://docs.phalconphp.com/en/latest/api/Phalcon_Cache_Backend_File.html

new: http://docs.phalconphp.ru/ru/latest/api/Phalcon_Cache_Backend_File.html

Are you sure that all default values are NULL? or it is just an example?
I used the method getDefaultValue in Reflection, tihs real example. Tell me which class is not null default, test it =)
Reflection does not work with classes/interfaces/function ... from extensions (read warnings). I have test this fact today, before create this issue.
Ooops =(
Tell me which class is not null default, i want to solve this problem
I don't now such classes, but I think that some bool params could have true by default.
found:
if (!stop_buffer) {
PHALCON_INIT_VAR(stop_buffer);
ZVAL_BOOL(stop_buffer, 1);
}
Search and completion of such values will require a lot of time. Maybe put the problem in NFR?
Added NFR to the issue title
+1
+1
+1
+100500 It definitely should be specified in the source code docs
Moreover, we are now discussing with @xboston the multilingual application for convenient display of API docs, so this information is necessary.
Please post this NFR in the docs repository: https://github.com/phalcon/docs, this can't be implemented in the extension itself, thanks
Ok, done https://github.com/phalcon/docs/issues/104
@glagola thanks