root/buddyloo/files/lib/action/BuddylooSocialAction.class.php @ 350

Revision 350, 0.7 kB (checked in by d0nut, 5 years ago)

social page integration.. first step for opensocial (yes, i had a long train travel...)

Line 
1<?php
2// imports
3require_once(WCF_DIR.'lib/action/AbstractAction.class.php');
4
5/**
6 * handles box actions
7 *
8 * @author      Torben Brodt
9 * @package     de.easy-coding.wcf.buddyloo
10 * @license     GNU General Public License <http://opensource.org/licenses/gpl-3.0.html>
11 */
12class BuddylooSocialAction extends AbstractAction {
13        public $colums = array();
14       
15        /**
16         * @see Action::readParameters()
17         */
18        public function readParameters() {
19                parent::readParameters();
20               
21                foreach($_POST as $col) {
22                        $this->columns[] = $col;
23                }
24        }
25       
26        /**
27         * @see Action::execute()
28         */
29        public function execute() {
30                // call execute event
31                parent::execute();
32               
33                // save status
34                $sql = "UPDATE  wcf".WCF_N."
35                        SET     ";
36               
37                // call executed event
38                $this->executed();
39        }
40}
41?>
Note: See TracBrowser for help on using the browser.