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

Mapblock improvement (#48) #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Mapblock improvement (#48) #50

wants to merge 3 commits into from

Conversation

raelgc
Copy link
Owner

@raelgc raelgc commented Jan 13, 2021

Fixes #48.

Usage example:

$tpl->mapBlock('BLOCK_USERS', 'USER', $users); 

is same as:

foreach($users as $u) {
    $tpl->USER = $u;
    $tpl->block('BLOCK_USERS');
}

Still missing a mention on README.

@raelgc raelgc changed the title WIP: mapblock improvement (#48) Mapblock improvement (#48) Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

função de LOOP nos blocos
1 participant