Sections
Voir aussi...
- Abstract_Item
- Abstract_List
- Admin_Helper
- auth_index
- Browser_Helper
- config_auth
- core_controller
- default_index
- File_Helper
- Folder_Helper
- Form_Helper
- GenList2_po_enclass
- GenList2_po_frclass
- GenList2_po_Generic
- Image_Helper
- LangTranslationManager
- MenuAdmin_Helper
- Mysql_Helper
- Pager_Helper
- Référence PHP
- YSMAuth
- YSMAuth_Container
- YSMAuthArray_Container
Abstract_Item
Description
Modèle abstrait pour la gestion d'item pour les modèles avec base de données
Synopsis de la classe
Abstract_Item { /* Propriétés */ protected PDO $_db = null protected string $_lasterror = '' protected File_Helper $_filehelper = null protected string $_filehelperstring = '' /* Méthodes */ public void __construct([PDO $db = null) protected Abstract_Item assign_array(array &$row) public boolean delete_item(integer $id) public boolean download_file(string $fieldname[, string $url = '' [, integer $itemid = 0]]) public boolean execute_delete_item(string $sql) public integer execute_insert_item(string $sql) public boolean execute_update_item(string $sql) public Abstract_Item fetch_item(integer $id[, array $uniques = null]) public string fetch_last_error() public File_Helper filehelper() public array get_file_info(string $fieldname[, integer $itemid = 0[, string $value = '']]) public integer insert_item() protected void set_error(array $error[, string $sql = '']) protected void set_lasterror(string $error) protected string sql_select_fields([string $tblPrefix = '']) protected string sql_insert_fields() protected string sql_insert_values() protected string sql_update_set() public array toArray() public boolean update_item(integer $id) public boolean upload_file(string $fieldname, integer $itemid[, string $inputPrefix = '']) }
Dernière modification: 2014-09-03 11:58:10 par Yan Morin
Hébergé par ProgYSM