Readable name of moodle/user:viewalldetails capability by Евгений Мамаев - Thursday, 13 February 2020, 6:55 PM Number of replies: 2 How to get readable name of any core capability, such as moodle/user:viewalldetails?I try to use get_string('user:viewalldetails'), but no luck Average of ratings: - Permalink Reply In reply to Евгений Мамаев Re: Readable name of moodle/user:viewalldetails capability by Mayank Tyagi - Thursday, 13 February 2020, 7:54 PM Hi, You need to use "get_capability_string('moodle/user:viewalldetails');" to get its string. Average of ratings: Useful (2) Permalink Show parent Reply In reply to Mayank Tyagi Re: Readable name of moodle/user:viewalldetails capability by Евгений Мамаев - Thursday, 13 February 2020, 8:02 PM Thanks, this works! Average of ratings: - Permalink Show parent Reply
In reply to Евгений Мамаев Re: Readable name of moodle/user:viewalldetails capability by Mayank Tyagi - Thursday, 13 February 2020, 7:54 PM Hi, You need to use "get_capability_string('moodle/user:viewalldetails');" to get its string. Average of ratings: Useful (2) Permalink Show parent Reply In reply to Mayank Tyagi Re: Readable name of moodle/user:viewalldetails capability by Евгений Мамаев - Thursday, 13 February 2020, 8:02 PM Thanks, this works! Average of ratings: - Permalink Show parent Reply
In reply to Mayank Tyagi Re: Readable name of moodle/user:viewalldetails capability by Евгений Мамаев - Thursday, 13 February 2020, 8:02 PM Thanks, this works! Average of ratings: - Permalink Show parent Reply