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

[NFR] Allow calling methods syntax in Volt #183

Closed
mrspartak opened this issue Nov 13, 2012 · 1 comment
Closed

[NFR] Allow calling methods syntax in Volt #183

mrspartak opened this issue Nov 13, 2012 · 1 comment
Labels
new feature request Planned Feature or New Feature Request
Milestone

Comments

@mrspartak
Copy link

Volt template engine is really awesome! Thanks a lot guys!

But its too simle and gives too few advanteges to make some actions in template.
for example, we couldn't call predifinied functions or Models methods, to make something with data.

It would be very great if you add this feature.

Got it from your examples and converted to what it should be look like.

<? echo $products->getProductTypes()->name; ?>
{{ products.getProductTypes().name }}
@mrspartak mrspartak mentioned this issue Nov 17, 2012
@phalcon
Copy link
Collaborator

phalcon commented Dec 16, 2012

This syntax is now supported in 0.8.0, thanks

@phalcon phalcon closed this as completed Dec 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request Planned Feature or New Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant