27.09.2017, 13:48
1 Yes. As far as I know inline works only on a structure like
2. No. Again, as far as I know inline functions are made to make your life easier. (Well, I have used inlines with Dialogs (y_dialog.inc) and Queries (MySQL R41)) If you need to call the function Externally you have 2 ways (as far as my brain can think): Make the inline to a public OR copy the inline to the function where it is required.
PHP код:
ParentFunction()
{
inline ChildFunction()
{
}
FunctionToCallInline
}