render() public méthode

Default way to render the links. Feel free to come up with your own way.
public render ( ) : string
Résultat string
Exemple #1
0
"></A>
		</TD>
		<?php 
        }
        ?>
	</TR>
<?php 
    }
    // foreach
    ?>
</table>
<table class="indent">
<TR>
	<TD>
		<?php 
    echo $pager->render();
    ?>
	</TD>
</TR>
</TABLE>
<?php 
} else {
    ?>
	<BLOCKQUOTE>
	<LI><?php 
    echo $translator->trans('No sections');
    ?>
</LI>
	</BLOCKQUOTE>
	<?php 
}
Exemple #2
0
				</SELECT>
			</TD>
			<TD><INPUT TYPE="submit" class="button" NAME="Search" VALUE="<?php  putGS('Search'); ?>"></TD>
		</TR>
		</TABLE>
		</FORM>
	</TD>
</TR>
</TABLE>

<P>

<table class="indent">
<TR>
	<TD>
		<?php echo $pager->render(); ?>
	</TD>
</TR>
</TABLE>
<?php if (count($logs) > 0) { ?>
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" class="table_list">
<TR class="table_list_header">
	<TD ALIGN="LEFT" VALIGN="TOP"><B><?php  putGS("Date/Time"); ?></B></TD>
	<TD ALIGN="LEFT" VALIGN="TOP"><B><?php  putGS("User"); ?></B></TD>
	<?php  if ($f_event_search_id == 0) { ?>
	<TD ALIGN="LEFT" VALIGN="TOP"><B><?php  putGS("Event"); ?></B></TD>
	<?php  } ?>
	<TD ALIGN="LEFT" VALIGN="TOP"  ><B><?php  putGS("Description"); ?></B></TD>
	<TD ALIGN="LEFT" VALIGN="TOP"  ><B><?php  putGS("User IP Address"); ?></B></TD>
</TR>
<?php
Exemple #3
0
        'section_nr' => $f_section_nr,
        'article_nr' => $f_article_nr
    );

    $polls = Poll::getPolls($constraints, $f_poll_assigned, $f_poll_offset, $f_poll_limit, $f_poll_order);

    $param_string = "f_poll_item=$f_poll_item&amp;f_issue_nr=$f_issue_nr&amp;f_language_id=$f_language_id&amp;f_publication_id=$f_publication_id";
    $pager_params = "?$param_string&amp;f_poll_order=$f_poll_order&amp;";
    $pager = new SimplePager(Poll::countPolls($f_language_id), $f_poll_limit, "f_poll_offset", $pager_params, false);

    Poll::countPolls($f_language_id)
    ?>

    <tr>
        <td colspan="2" style="padding: 3px; background-color: #EEE; border-left: 1px solid #8baed1; border-right: 1px solid #8baed1;">
           &nbsp;&nbsp;&nbsp; <?php echo $pager->render(); ?>
        </td>
    </tr>

    <tr>
        <td colspan="2" style="padding: 3px; background-color: #EEE; border-left: 1px solid #8baed1; border-right: 1px solid #8baed1;">
        <TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" class="table_list" style="padding-top: 5px;" width="95%">
        <?php
        $counter = 0;
        $color= 0;

        if (count($polls)) {
            ?>
            <TR class="table_list_header">
                <TD ALIGN="center" VALIGN="TOP" width="20">
                    <A href="?<?php p($param_string) ?>&amp;f_poll_offset=<?php echo $f_poll_offset ?>&amp;f_poll_assigned=<?php p($f_poll_item) ?>"><IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/delete.png" BORDER="0"></a>