Skip to content

Instantly share code, notes, and snippets.

View VincentChalnot's full-sized avatar
🛠️
Open to work

Vincent Chalnot VincentChalnot

🛠️
Open to work
View GitHub Profile
@VincentChalnot
VincentChalnot / generator.yml
Created August 1, 2012 08:00
Ultimate generator.yml file for sfSurfaceGenerator
# $PARAMS: related_class=$PHP_CLASS completion_url=$URL add_url=$URL peer_method=$PHP_METHOD mailto=true|false size=$INTEGERx$INTEGER|size=$INTEGER increment=$INTEGER no_input=true|false min=$STRING max=$STRING unit=$STRING decimals=$INTEGER popup_height=$INTEGER popup_width=$INTEGER default=0|1 filter_default=0|1 default_value=TODO? date_format=$PHP_DATE_FORMAT from_hour=$INTEGER from_minutes=$INTEGER step_minutes=$INTEGER text_method=$PHP_METHOD text=$STRING rich=fck??? tool=Simple??? through_class=$PHP_CLASS
# $EXPORT_PARAMS: weight=$INTEGER label=true|false readonly=readonly
# $CREDENTIALS: [ truc/machin ]
# $FIELD_TYPE: textarea_tag|surface_autocomplete_peer|input_hidden_tag|input_time_tag|surface_boolean_tag|input_color_tag|input_number_tag|input_minutes_tag|checkbox_with_label|surface_link_to|workflow_view_mode|workflow_namespace|surface_autocomplete_list|surface_autocomplete|select_tag|input_tag|surface_double_list|assoc_files
# $MAGIC_STRING: $STRING # Will replace all %%FIELD_NAME%% by the actual va