This topic is locked

Documentation on $values variables in events

9/17/2006 2:29:22 AM
PHPRunner General questions
M
MikeB941 author

Hello:
Is there any documentation regarding environmental, signed on user, and $values variables available that documents the variable names and data they contain and when they are and are not available in the various events (or other places i.e. are any variables available to use in the Edit SQL?
Thanks a million!
Take Care... Mike.

Alexey admin 9/19/2006

Mike,
we don't have a programmer's reference yet.
There is a number of sample event code snippets available in PHPRunner Help and at the site:

http://www.xlinesoft.com/phprunner/articles/index.htm

J
jgestiot 11/8/2006

Mike,

we don't have a programmer's reference yet.
There is a number of sample event code snippets available in PHPRunner Help and at the site:

http://www.xlinesoft.com/phprunner/articles/index.htm


The programmer's reference should be a priority as it is impossible to create templates that significantly depart from the current look and feel without it.
We need details as to what the variables available during the initial template compilation are. We need to know what the values assigned to Smarty are for each template file. I've just done 3 days of sifting through the code and I cannot get off the ground.
We don't just need the documentation, we also need the certainty that the variables will not change name or be obsolete in the next version.
The alternative is to have most of the applications created with PHPRunner to look the same. I don't think that's desirable either.
Just a quick example as to the specific problems I am facing.
I want to create an interface that looks a bit like this at the top of the list.htm page:
Home >> [Master table name] >> [Name of the record in master table] >> [ name of the detail table ]
Now, that should just be a matter of looking up the reference and filling in the blank. Instead, I have to go though a lot of code and I cannot even be sure that the stuff I produce will hold up in the next version.
I've worked out that in order to get [Name of the record in master table] I need to have a field called "name" for example and include the smarty variable $showmaster_name . I found the name of the detail table, now I am sifting through more code to get the name of the Master table.
Please help, not just for this, for the many other templates I have to do.