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
Mysql_Helper
Description
Classe de base pour les contrôleur de modèle avec base de données MySQL
Synopsis de la classe
Mysql_Helper extends Controller { /* Propriétés */ protected array $models = array() protected array $modifids = array() protected array $items = array() protected array $list = array() protected array $editor = array() protected array $editorConf = array('imageFolder' => '', 'imageModel' => null, 'linkModel' => null) /* Méthodes */ public void __construct() protected boolean _add_model(string $modelName) protected void _handle_save_form(string $modelName, integer $id[, string $saveAction = 'save'])integer $id) protected void _handle_table_form(string $modelName[, integer $page = 0[, string $order = '']]) protected void _post_save_form(string $modelName, array $result) protected void _post_table_form(string $modelName, array $result) protected void _pre_save_form(string $modelName, integer $id) protected void _pre_table_form(string $modelName) protected boolean _set_save_form(Abstract_ItemModel &$item, string $modelName, integer $id) protected integer _set_table_form(Abstract_ItemModel &$item, string $modelName, integer $id) private array _update_save_form(string $modelName, private array _update_table_form(string $modelName) public void admin_index([integer $page = 0[, string $order = '']]) public void admin_multisave([integer $page = 0[, string $order = '']]) public void admin_createtable(string $modelName) public void admin_add() public void admin_save([integer $id = 0]) public void admin_shortlist(integer $page) public void admin_shortsave([integer $id = 0]) }
Dernière modification: 2014-09-02 16:30:11 par Yan Morin
Hébergé par ProgYSM