This topic is locked

srchOptShowStatus et al.

11/23/2012 5:31:39 PM
PHPRunner General questions
F
Flyarbox author

I notice that some of the code snippets in the manual or examples have code in them looking something like this:
$message=$message."<a href=\"ppmain_list.php?ctlSearchFor=".$category."&srchOptShowStatus=0&ctrlTypeComboStatus=0&srchWinShowStatus=0&a=integrated&id=1&criteria=and&value11=".$category."&field1=Category&option1=Contains\">".$data["Category"]." (".$data["numbers"].")</a>
";
So...there's all these apparent command line parameters that we should know that are used in the generated code, as input for "ppmain_list.php" in my pasted example above. In the example there's srchOptShowStatus, ctrlTypeComboStatus, srchWinShowStatus, and several others that are all taken as input for the generated ppmain_list.php file.
Where do these come from? I don't really find them described in the documentation. Since they're in event code, I'm pretty sure we need to know them. Can someone point me in the right direction on these? How can we know, use and understand them?
Steve

Sergey Kornilov admin 11/25/2012

My suggestion is to explain what you trying to achieve. There is a great chance you don't need anything like this.

F
Flyarbox author 11/25/2012



My suggestion is to explain what you trying to achieve. There is a great chance you don't need anything like this.


I'm sure you're more than likely correct. However, I don't KNOW that, and that doesn't mean it's not worth knowing. I don't want to rehash old noise about PHPRunner documentation; it is what it is. But while auto-generated PHPRunner functionality is "well paved", one step off the main road and you're in dense jungle, if you get the analogy. There is so much PHPRunner can do, but deep understanding seems to be a prerequisite.
I'm reading the section "Add dropdown list box with values for search" in the PHPRunner 6.1 Manual. It has the "usual" directive, "Note: Change the values listed in red to match your specific needs." One of the red parts of the snippet reads:
ctlSearchFor=".$data["company"]
where "company" is in red, indicating it's something I can/should fiddle with. There's also a phalanx of OTHER such URL options mentioned in the same example, doing who-knows-what miraculous user-tunable wonderful stuff. Given the example, I obviously need to know what ctlSearchFor does, and given the fact that MANY (or all, for all I know) of the generated PHP files take URL params just like these (lots and lots of them), it's probably worthwhile to know what all these params DO.
So, what am I trying to do? Why, just fully understand PHPRunner, the same thing I do every day.
Steve

F
Flyarbox author 11/26/2012

Is there no more information anyone can give me? This is just a mystery?
Steve

Sergey Kornilov admin 11/26/2012

ctlSearchFor URL parameter is what you enter into the search box on Advanced Search page or in search panel in version 6.1.
Deciphering search parameters is very easy in fact. Build your app, proceed to advanced search page, enter something distinctive into search box like '12345' and press search. Find your search string in the URL. Change search type from 'Contains' to 'Equals', run the search again, see what changes in the URL. This is it.