default
[ class tree: default ] [ index: default ] [ all elements ]

Procedural File: view_helper.php

Source Location: /helpers/view_helper.php



Page Details:









back_button [line 191]

string back_button( string $target, [string $label = ''], [mixed $extra = array()])

Back Button

Generates back link using saved history in session If history session is not set use target value




Tags:

return:  html output
access:  public


Parameters

string   $target  
string   $label  
mixed   $extra   params to html tag
[ Top ]



date_dropdown [line 17]

string date_dropdown( string $name, [string $date = ''], [boolean $mandatory = true], [mixed $end = '2099'], [mixed $start = '1910'])

Date Dropdown

Generates date selection form




Tags:

return:  html output
access:  public


Parameters

string   $name   name of field
string   $date   default date
boolean   $mandatory   if field must be filled
mixed   $end   ending year limitation of date selection
mixed   $start   starting year limitation of date selection
[ Top ]



get_offset [line 165]

array get_offset( integer $offset, integer $total_count, [integer $limit = false])

Get Offset

Calculate offset for pagination view If offset is higher than total the matching multiple of limit is returned offset




Tags:

return:  contains offset and limit
access:  public


Parameters

integer   $offset  
integer   $total_count  
integer   $limit  
[ Top ]



merge_date_dropdown [line 102]

string merge_date_dropdown( string $name)

Merge Date Dropdown

Returns a date from date dropdown form as one string




Tags:

return:  html output
access:  public


Parameters

string   $name   name of field
[ Top ]



merge_time_dropdown [line 123]

string merge_time_dropdown( string $name)

Merge Time Dropdown

Returns a time from time dropdown form as one string




Tags:

return:  html output
access:  public


Parameters

string   $name   name of field
[ Top ]



pagination_setting [line 143]

array pagination_setting( )

Pagination Settng

Returns html setting for pagination div




Tags:

access:  public


[ Top ]



time_dropdown [line 63]

string time_dropdown( string $name, [string $time = ''], [boolean $mandatory = true])

Time Dropdown

Generates time selection form




Tags:

return:  html output
access:  public


Parameters

string   $name   name of field
string   $time   default time
boolean   $mandatory   if field must be filled
[ Top ]



Documentation generated on Sun, 11 Jan 2009 04:21:15 +0100 by phpDocumentor 1.4.1