Horde_Kolab_Server_Object_Kolabinetorgperson::generateId PHP Method

generateId() public method

Generates an ID for the given information.
public generateId ( array &$info ) : string | PEAR_Error
$info array The data of the object.
return string | PEAR_Error The ID.
    public function generateId(array &$info)
    {
        /**
         * Never rename the object, even if the components of the CN attribute
         * changed
         */
        if ($this->exists()) {
            return false;
        }
        return self::ATTRIBUTE_CN . '=' . $this->generateCn($info);
    }