Posts by Lucas César • 81 points
6 posts
-
1
votes0
answers183
viewsQ: Best way to treat string in nodes
I am working on an application using a socket for an application on my server. I’m having trouble handling the calls generated by the net module. My application is in real time, that is, every 200ms…
-
2
votes4
answers3553
viewsQ: How to get the next element in a PHP foreach
How do I get the next element of an array using foreach? For example, I am iterating in an array and I need to know if the next element of this array is equal to what I’m doing to do some operation…
-
0
votes1
answer82
viewsQ: How to trigger the drop event by pressing enter in Extjs
I wonder if there’s any way I can trigger a drop event by pressing enter on a treepanel. I’m not able to fire the event manually, which I’ve achieved so far: mediaCenter.getEl().addKeyMap({…
-
0
votes2
answers1948
viewsQ: Convert seconds to hours in Extjs
I’m looking to convert seconds into hours in Extjs and would like to know if there is a function similar to gmdate("H:i:s", $total) in PHP.
-
4
votes2
answers342
viewsQ: Function to generate INI from Array
There is a function that does the inverse of parse_ini_file to be able to generate a configuration file from an array?
-
0
votes1
answer271
viewsQ: Replace static text in multiple files
I have a static site and I am implementing some functions in php in it and one of them is to include a menu on all pages, the same is already created and all files are with it. What I want is this:…