phpDocumentor files
[ class tree: files ] [ index: files ] [ all elements ]

Procedural File: _file_settings.form.php

Source Location: /qp_inc/files/views/_file_settings.form.php

Page Details

This file implements the UI view for the file settings.

This file is part of Quam Plures - http://quamplures.net/ See also https://launchpad.net/quam-plures.

Author:  fplanque: Francois PLANQUE.
Author:  mbruneau: Marc BRUNEAU / PROGIDISTRI
Author:  fsaya: Fabrice SAYA-GASNIER / PROGIDISTRI
Copyright:  

(c)2003-2009 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2005-2006 by PROGIDISTRI - http://progidistri.com/.

Copyright:  (c) 2009 - 2011 by the Quam Plures developers - http://quamplures.net/
Filesource:  Source Code for this file
Functions
JS_showhide_class_on_checkbox  [line 51]

void JS_showhide_class_on_checkbox( string $class, string $checkbox_id  )

Javascript to init hidden/shown state of something (like a DIV) based on a checkbox

EXPERIMENTAL Will be moved to another file, I'm leaving it here for a short period, in order to provide context

PROBLEM: jQuery is not necessarily loaded at the moment we use this :(

Parameters:
string   $class:  DOM class
string   $checkbox_id:  DOM id


[ Top ]
JS_showhide_class_on_this  [line 117]

void JS_showhide_class_on_this( string $class  )

Javascript hide/show all DOM elements with a particular class based on current checkbox

EXPERIMENTAL Will be moved to another file, I'm leaving it here for a short period, in order to provide context

Parameters:
string   $class:  DOM class name


[ Top ]
JS_showhide_ffield_on_checkbox  [line 101]

void JS_showhide_ffield_on_checkbox( string $field_id, string $checkbox_id  )

Javascript to init hidden/shown state of a fastform field based on a checkbox

EXPERIMENTAL Will be moved to another file, I'm leaving it here for a short period, in order to provide context

Parameters:
string   $field_id:  form field id as used when creating it with the Form class
string   $checkbox_id:  DOM id


[ Top ]
JS_showhide_ffield_on_this  [line 138]

void JS_showhide_ffield_on_this( string $field_id  )

Javascript hide/show a fastform field based on current checkbox

EXPERIMENTAL Will be moved to another file, I'm leaving it here for a short period, in order to provide context

Parameters:
string   $field_id:  DOM id


[ Top ]
JS_showhide_ids_on_checkbox  [line 75]

void JS_showhide_ids_on_checkbox( array|string $div_ids, string $checkbox_id  )

Javascript to init hidden/shown state of something (like a DIV) based on a checkbox

EXPERIMENTAL Will be moved to another file, I'm leaving it here for a short period, in order to provide context

Parameters:
array|string   $div_ids:  DOM id
string   $checkbox_id:  DOM id


[ Top ]