mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
24
apps/atlbiomed/modules/support/actions/actions.class.php
Executable file
24
apps/atlbiomed/modules/support/actions/actions.class.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* support actions.
|
||||
*
|
||||
* @package atlbiomed
|
||||
* @subpackage support
|
||||
* @author Your name here
|
||||
* @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
|
||||
*/
|
||||
class supportActions extends sfActions
|
||||
{
|
||||
/**
|
||||
* Executes index action
|
||||
*
|
||||
*/
|
||||
public function executeIndex()
|
||||
{
|
||||
$c = new Criteria();
|
||||
$c->add(UserPeer::USER_TYPE, 'Administrator');
|
||||
$c->add(UserPeer::USER_TYPE, 'Office');
|
||||
$this->administrator = UserPeer::doSelect($c);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user