Nooku Server is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

nooku-server

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
 * @version     $Id$
 * @category    Nooku
 * @package     Nooku_Server
 * @subpackage  Users
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */

/**
 * Captcha controller class
 *
 * @author     Arunas Mazeika <http://nooku.assembla.com/profile/arunasmazeika>
 * @category   Nooku
 * @package    Nooku_Server
 * @subpackage Users
 */
class ComUsersControllerCaptcha extends ComDefaultControllerResource
{
    public function __construct(KConfig $config)
    {
        // TODO: Remove when the getActions problem at KControllerAbstract (http://ow.ly/a7jl3) is resolved:
        $this->getActions();

        parent::__construct($config);
    }

    protected function _initialize(KConfig $config)
    {
        $config->append(array('behaviors' => array('com://site/users.controller.behavior.captcha.captchable')));

        parent::_initialize($config);
    }
}
Ajax-loader Loading, please wait...