<?php

/**
 * Copyright (c) 2013, Kairat Bakytow
 * All rights reserved.

 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */

/**
 *
 * @author Kairat Bakytow
 * @package ow_plugins.smileys.controllers
 * @since 1.0
 */
class SMILEYS_CTRL_Smileys extends OW_ActionController
{
    public function getSmileysByCategory( array $param = array() )
    {
        exit ( json_encode(SMILEYS_BOL_Service::getInstance()->getSmileysByCategory($_POST['category'])) );
    }
}
