Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
iterating though a cages variables
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
matt  
View profile  
 More options Jun 27 2009, 2:30 pm
From: matt <m...@mmckeon.com>
Date: Sat, 27 Jun 2009 11:30:00 -0700 (PDT)
Subject: iterating though a cages variables
I've run into a case where my app is getting a bunch of GET params and
I need to be able to iterate through all the caged GET params, but
that doesn't seem possible. I see that I could get crazy and access
Inspekt_Cage::_source, but that obviously isn't intended. Is their a
recommend way to accomplish this without having to specify the name of
each param?

Thanks,
Matt


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 27 2009, 4:13 pm
From: Ed Finkler <funkat...@gmail.com>
Date: Sat, 27 Jun 2009 16:13:55 -0400
Local: Sat, Jun 27 2009 4:13 pm
Subject: Re: [inspekt] iterating though a cages variables
Not really, but it sounds like something that should be considered.
Now that we're PHP5-only, we should be able to implement some sort of
iterable interface, I'd think. Do you have any thoughts on how to
accomplish this?

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
matt  
View profile  
 More options Jun 27 2009, 5:19 pm
From: matt <m...@mmckeon.com>
Date: Sat, 27 Jun 2009 14:19:51 -0700 (PDT)
Local: Sat, Jun 27 2009 5:19 pm
Subject: Re: iterating though a cages variables
I'm thinking making the cage's array-like by extending the ArrayObject
[0] class would make accessing and iterating pretty easy. What are
your thoughts?

[0] http://uk2.php.net/arrayobject

On Jun 27, 4:13 pm, Ed Finkler <funkat...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 27 2009, 5:32 pm
From: Ed Finkler <funkat...@gmail.com>
Date: Sat, 27 Jun 2009 17:32:03 -0400
Local: Sat, Jun 27 2009 5:32 pm
Subject: Re: [inspekt] Re: iterating though a cages variables
It makes sense. I am not sure what all will be involved in refactoring
the Cage object, and we also need to make sure that we can't modify
the data inside the Cage object. I might ask someone smarter than me
to help with this 8)

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Vargas  
View profile  
 More options Jun 28 2009, 4:30 pm
From: Alex Vargas <varg...@gmail.com>
Date: Sun, 28 Jun 2009 15:30:38 -0500
Local: Sun, Jun 28 2009 4:30 pm
Subject: Re: [inspekt] Re: iterating though a cages variables

I am not smarter, but I would like to give it a shot :-p

--
Alex J P Vargas
Email: mailto:varg...@gmail.com

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 28 2009, 4:39 pm
From: Ed Finkler <funkat...@gmail.com>
Date: Sun, 28 Jun 2009 16:39:01 -0400
Local: Sun, Jun 28 2009 4:39 pm
Subject: Re: [inspekt] Re: iterating though a cages variables
go for it!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt McKeon  
View profile  
 More options Jun 29 2009, 8:43 am
From: Matt McKeon <m...@mmckeon.com>
Date: Mon, 29 Jun 2009 08:43:32 -0400
Local: Mon, Jun 29 2009 8:43 am
Subject: Re: [inspekt] Re: iterating though a cages variables
Ok, I started to get this working, but needs to be cleaned up. Weekend
got a little busy. Hoping to have some code ready for review tonight to
see what you think.

-Matt


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 29 2009, 9:49 am
From: Ed Finkler <funkat...@gmail.com>
Date: Mon, 29 Jun 2009 09:49:21 -0400
Local: Mon, Jun 29 2009 9:49 am
Subject: Re: [inspekt] Re: iterating though a cages variables
word up, thx!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt McKeon  
View profile  
 More options Jun 30 2009, 12:26 am
From: Matt McKeon <m...@mmckeon.com>
Date: Tue, 30 Jun 2009 00:26:30 -0400
Local: Tues, Jun 30 2009 12:26 am
Subject: Re: [inspekt] Re: iterating though a cages variables
hey hey,

I branched the project on github and pushed my changes there. Is that
the best way? Anyway, you can see my changes here
<https://github.com/widox/inspekt/commit/6c79f20ba68567eee506ac2c423ed...>
I can email if preferred.

Now, I tested with the(some) examples that were already in there. I also
created another one showing looping through caged GET data.

So, if anyone has any suggestions/comments/changes/etc I'm more then
welcome to hear them. Hope this can be useful, if not as an idea starter.

Matt


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 30 2009, 9:08 am
From: Ed Finkler <funkat...@gmail.com>
Date: Tue, 30 Jun 2009 09:08:39 -0400
Local: Tues, Jun 30 2009 9:08 am
Subject: Re: [inspekt] Re: iterating though a cages variables
Awesome. I believe you can send me a pull request on GitHub, but I
don't know that this is necessary -- I can just pull from your repo
without it.  I'll look into it when I have a minute.

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt McKeon  
View profile  
 More options Jun 30 2009, 9:55 am
From: Matt McKeon <m...@mmckeon.com>
Date: Tue, 30 Jun 2009 09:55:11 -0400
Local: Tues, Jun 30 2009 9:55 am
Subject: Re: [inspekt] Re: iterating though a cages variables
Let me know if you'd like me to submit a pull request. I'm not all that
familiar with GitHub yet.

Thanks,
Matt


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 30 2009, 10:01 am
From: Ed Finkler <funkat...@gmail.com>
Date: Tue, 30 Jun 2009 10:01:31 -0400
Local: Tues, Jun 30 2009 10:01 am
Subject: Re: [inspekt] Re: iterating though a cages variables
Why not? Let's get crazy.

-Ed


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google