Zend Framework

Zend_Service_Twitter - allow config array as constructor containing user and pass

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Service_Twitter
  • Labels:
    None

Description

Hi

I want to pass in a config array

i.e.
service->twitter->username
service->twitter->password

as a constructor attribute

simlar to how Zend DB allows it.

Ian

Activity

Hide
Jon Whitcraft added a comment -

I'll get this in the next release.

It will be like this going forward

__construct($username, $password = null) ... check $username is an array and $password is null
Show
Jon Whitcraft added a comment - I'll get this in the next release. It will be like this going forward
__construct($username, $password = null) ... check $username is an array and $password is null
Hide
Jon Whitcraft added a comment -

This was checked into the trunk with r18101 and into the release branch with r18102.

Show
Jon Whitcraft added a comment - This was checked into the trunk with r18101 and into the release branch with r18102.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: