P
P
Peter2015-11-23 17:26:15
1C-Bitrix
Peter, 2015-11-23 17:26:15

How to find where the class is located in Bitrix?

Hello
On duty, I have to understand Bitrix, while not having access to the source code (you have to view the code through the Bitrix admin panel).
I came across a line that was completely incomprehensible to me. I wanted to figure out what the methods return, but I don’t understand how to find where they are located.
The line looks like this:

if(project_title::getUserRule($USER_DATA["GROUPS"]) <= project_title::getUserRule(CUser::GetUserGroup(CUser::GetID())) ) {
        $IS_CAN_SET_EDU = true;
    }

How to find the project_title class?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2015-11-23
@alexey-m-ukolov

bxapi.ru
But there is no such shit code even in Bitrix, it was one of the implementers who tried, so you won’t find it without the source code. You need to look in the folders /(bitrix|local)/modules/<something>.<something> or /(bitrix|local)/php_interface.
And in the admin panel, you can see the source code in Content -> Site Structure -> Files and folders .
$IS_CAN_SET_EDU is generally epic. Letsmispicfrommyhart is simple.

K
kompi, 2015-11-23
@kompi

If you have access to the admin part, then it's easier to make a backup and get the source code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question