Please add Ellipsis in ZF

Truncating a long string and adding ellipsis is something that time from time you need to do. The worst of it is that you never remember the function name or how you did at the first time, so you have to re-do it all again.

I was talking to a friend of mine and we both got the same conclusion: this should be at Zend Framework.

Meanwhile when this doesn’t happen, here is a great blog with a function snippet to work it out:


About mcloide

Making things simpler, just check: View all posts by mcloide

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: