bubasuma\simplechat\Module::beforeAction PHP Method

beforeAction() public method

public beforeAction ( $action )
    public function beforeAction($action)
    {
        if (!parent::beforeAction($action)) {
            return false;
        }
        $this->db->tablePrefix = $this->id . '_';
        return true;
    }