Created
November 6, 2012 19:49
-
-
Save mcfdn/4027042 to your computer and use it in GitHub Desktop.
Call to Table View Helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo $this->renderTable( | |
array( | |
'#' => 'Id', | |
'Username' => 'Username', | |
'Email Address' => 'EmailAddress', | |
'Date Added' => 'DateCreated', | |
'Manage' => array( | |
'Static' => '<a href="/user/view?id=%UserId%">View %Username%</a>', | |
'Placeholders' => array( | |
'UserId' => 'Id', | |
'Username' => 'Username' | |
) | |
) | |
), | |
$this->users | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment