| [ Indice ] |
Riferimento incrociato di Joomla! 1.5.14 - VM 1.1.4Servizio fornito da VMItalia |
[Vedi sorgente] [Stampa] [Statistiche Progetto]
(nessuna descrizione)
| Dimensione file: | 806 righe (33 kb) |
| Incluso o richiesto: | 18 volte |
| Referenziato: | 0 volte |
| Inclusioni o richieste: | 0 files |
vm_ps_userfield:: (10 metodi):
validateOnSave()
saveField()
changeColumn()
deleteField()
listUserFields()
showFields()
prepareFieldDataSave()
getUserFields()
getSkipFields()
printJS_formValidation()
ps_userfield:: (0 metodi):
Classe: vm_ps_userfield - X-Ref
| validateOnSave( &$d ) X-Ref |
| Nessuna descrizione |
| saveField( &$d ) X-Ref |
| Nessuna descrizione |
| changeColumn( $column, $type, $action) X-Ref |
| Add, change or drop fields from the VirtueMart user tables Currently these are: #__{vm}_user_info, #__{vm}_order_user_info param: string $column param: string $type The column type is determined in the validateOnSave function param: string $action Can be: add, update or delete |
| deleteField( &$d ) X-Ref |
| Remove a user field from the system param: int $cid return: boolean The result of the delete action |
| listUserFields( $rowFields, $skipFields=array() X-Ref |
| This allows us to print the user fields on the various sections of the shop param: array $rowFields An array returned from ps_database::loadObjectlist param: array $skipFields A one-dimensional array holding the names of fields that should NOT be displayed param: ps_DB $db A ps_DB object holding ovalues for the fields param: boolean $startform If true, print the starting <form...> tag |
| showFields( show, fields ) X-Ref |
| Nessuna descrizione |
| prepareFieldDataSave($fieldType,$fieldName,$value=null) X-Ref |
| Nessuna descrizione |
| getUserFields( $section = 'registration', $required_only=false, $sys = '', $exclude_delimiters=false, $exclude_skipfields=false ) X-Ref |
| This function allows you to get an object list of user fields param: string $section The section the fields belong to (e.g. 'registration' or 'account') param: boolean $required_only param: mixed $sys When left empty, doesn't filter by sys return: array |
| getSkipFields() X-Ref |
| Returns an array of fieldnames which are NOT used for VirtueMart tables return: array Field names which are to be skipped by VirtueMart db functions |
| printJS_formValidation( $required_fields, $allfields, $formname = 'adminForm', $functioname='submitregistration', $div_id_postfix = '_div' ) X-Ref |
| Prints a JS function to validate all fields given in the array $required_fields Does only test if non-empty (or if no options are selected) Includes a check for a valid email-address param: array $required_fields The list of form elements that are to be validated param: string $formname The name for the form element param: string $div_id_postfix The ID postfix to identify the label for the field |
Classe: ps_userfield - X-Ref
| Generato il: Mon Oct 19 20:29:27 2009 | Generato con PHPXref 0.7 |