This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnldap/classes/Model/LDAP.php
2014-02-07 23:34:37 +11:00

26 lines
708 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class provides our ORM interaction with LDAP
*
* @package Kohana/LDAP
* @category Model/LDAP
* @author Deon George
* @copyright (c) 2013 phpLDAPadmin Development Team
* @license http://dev.phpldapadmin.org/license.html
*/
class Model_LDAP extends ORM_LDAP {
public $_reload_on_wakeup = FALSE;
protected $_has_one = array(
'bp_manager'=>array('model'=>'LDAP','foreign_key'=>'dn','far_key'=>'manager'),
'tl_manager'=>array('model'=>'LDAP','foreign_key'=>'dn','far_key'=>'glteamlead'),
);
// Unused - by required for page rendering for admin menu items
public function isAdmin() {
return FALSE;
}
}
?>