Jump to content

danallen

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by danallen

  1. It's been awhile since posting this, but I still appreciate the response. Usually, I am working with arrays. I have had occasion to catch up to a degree on php objects, how and why they are used, read some discussions of trade-offs, and after all that, I would have to say, your explanation is exactly perfect from my perspective, so thank you.
  2. Hi, sometimes simple things are hard. I asked at the pub down the street, but no one had a clue. How do we reference the property [sess_expiration] in the object below? Seems like it should be possible to use $this->config->config->sess_expiration Array( [config] => Config Object ( [config] => Array ( [sess_cookie_name] => weird_session [sess_expiration] => 2592000 ) ) ) This does the job, but this is stupid-looking: $value_i_need=get_object_vars(get_object_vars($this)['config'])['config']['sess_expiration'] If you could fill me in on how to deal with this, I would really appreciate it. Thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.