src/LdapClient.php
public function create($dn, array $entries)
	{
		if (!$this->isBound || !$this->isConnected())
		{
			return false;
		}

		return ldap_add($this->resource, $dn, $entries);
	}
public function create($dn, array $entries)
	{
		if (!$this->isBound || !$this->isConnected())
		{
			return false;
		}

		return ldap_add($this->resource, $dn, $entries);
	}
public function create ( $ dn , array $ entries ) { if ( ! $ this -> isBound || ! $ this -> isConnected ( ) ) { return false ; } return ldap_add ( $ this -> resource , $ dn , $ entries ) ; }
Add entries to LDAP directory

@param   string  $dn       The DN where you want to put the object
@param   array   $entries  An array of arrays describing the object to add

@return  boolean

@since   1.0
Add entries to LDAP directory