PHP Class Mitul\Generator\FormFieldsGenerator

Show file Open project: mitulgolakiya/laravel-api-generator Class Usage Examples

Public Methods

Method Description
checkbox ( $templateData, $field )
date ( $templateData, $field )
email ( $templateData, $field )
file ( $templateData, $field )
generateLabel ( $field ) added bootstrap default class to the label
number ( $templateData, $field )
password ( $templateData, $field )
radio ( $templateData, $field )
select ( $templateData, $field )
text ( $templateData, $field )
textarea ( $templateData, $field )

Private Methods

Method Description
replaceFieldVars ( $textField, $field )

Method Details

checkbox() public static method

public static checkbox ( $templateData, $field )

date() public static method

public static date ( $templateData, $field )

email() public static method

public static email ( $templateData, $field )

file() public static method

public static file ( $templateData, $field )

generateLabel() public static method

added bootstrap default class to the label
public static generateLabel ( $field )

number() public static method

public static number ( $templateData, $field )

password() public static method

public static password ( $templateData, $field )

radio() public static method

public static radio ( $templateData, $field )

select() public static method

public static select ( $templateData, $field )

text() public static method

public static text ( $templateData, $field )

textarea() public static method

public static textarea ( $templateData, $field )