Skip to content

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

2 participants