Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ArrayAccess to improve API quality of life. #45

Open
silbinarywolf opened this issue Jun 22, 2017 · 0 comments
Open

Implement ArrayAccess to improve API quality of life. #45

silbinarywolf opened this issue Jun 22, 2017 · 0 comments

Comments

@silbinarywolf
Copy link

I'd like to be able to do things like:

$this->MyMultiValueField['Test'] = 'Value';

Without having to do getValue()/setValue() everywhere.

Taitava added a commit to Taitava/silverstripe-multivaluefield that referenced this issue Sep 6, 2018
Solves symbiote#45. Note that this is meant for the older version 3 of this module. I didn't start from the master branch because I still have SilverStripe 3 so I wouln't be able to test with SS4. But I guess this can be easily adapted to the newer version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants