cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
217 stars 160 forks source link

get_att_logs unrecognized command. Readme Typo #53

Open plonknimbuzz opened 6 years ago

plonknimbuzz commented 6 years ago

hi. thanks for this great library. full documented and example. very easy to use without any problem. all documented well in the readme and issue menu.

But, i found a problem here: in readme i find several get_att_logs() with s , but if i using that instead get_att_log() without s , i meet unrecognized command error

Array
(
    [0] => get_date
    [1] => get_att_log
    [2] => get_user_info
    [3] => get_all_user_info
    [4] => get_user_template
    [5] => get_combination
    [6] => get_option
    [7] => set_user_info
    [8] => set_user_template
    [9] => delete_user
    [10] => delete_template
    [11] => delete_user_password
    [12] => delete_data
    [13] => refresh_db
    [14] => get_platform
    [15] => get_fingerprint_algorithm
    [16] => get_serial_number
    [17] => get_oem_vendor
    [18] => get_mac_address
    [19] => get_device_name
    [20] => get_manufacture_time
    [21] => get_antipassback_mode
    [22] => get_workcode
    [23] => get_ext_format_mode
    [24] => get_encrypted_mode
    [25] => get_pin2_width
    [26] => get_ssr_mode
    [27] => get_firmware_version
    [28] => get_free_sizes
    [29] => set_date
    [30] => delete_admin
    [31] => enable
    [32] => disable
    [33] => restart
    [34] => poweroff
)

not found any get_att_logs

sry i cant create permalink by line code with readme.md (i just know this)

ahmedfarghaly1 commented 6 years ago

get_att_log() not get_att_logs()