1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CHotKeys

Открытые члены

 GetUIDbyHID ($hkID)
 GetCodeByClassName ($className, $name="", $code="")
 GetCodeByUrl ($url)
 GetTitle ($strTitleObj, $forHint=false)
 SetTitle ($className, $forHint=false)
 PrintJSExecs ($execs, $controlName="", $scriptTags=true, $checkHK=false)
 GetList ($aSort=array(), $arFilter=array())
 Add ($arFields)
 Update ($ID, $arFields)
 Delete ($ID)
 SetDefault ($userID)
 ShowHKAsChar ($hotKeysString)
 PrintPhpToJSVars ()
 IsActive ()
 PrintTPButton (&$arPanelButton, $parent="")
 PrintGlobalUrlVar ()
 AddDefaultKeyToAll ($codeID, $keysString)
 Export ()
 Import ($fileName, $userID)

Открытые статические члены

static GetInstance ()
static DeleteByUser ($USER_ID)
static CleanUp ($USER_ID=0)

Статические открытые данные

static $ExpImpFileName

Защищенные члены

 LoadToCache ()
 GetByCodeID ($codeID)
 GlueSelfToCode (&$arCode)
 CheckFields ($arFields, $ID=false)
 CheckKeysString ($keysString)
 IsDefaultOpt ()
 SetNotDefaultOpt ()
 CheckStickers ()

Защищенные статические члены

static CleanCache ($userId=null)
static getCacheId ($userId=null)

Защищенные данные

 $hkCacheTtl = 3600
 $arList
 $arServSymb

Статические защищенные данные

static $codes
static $instance
static $optUse

Подробное описание

См. определение в файле hot_keys.php строка 359

Методы

◆ Add()

Add ( $arFields)

См. определение в файле hot_keys.php строка 815

◆ AddDefaultKeyToAll()

AddDefaultKeyToAll ( $codeID,
$keysString )

Inserts default hot-keys combination to execute some code to all users wich uses hot keys

Аргументы
int$codeID- code ID to execute (CHotKeysCode->Add())
string$keysString- default combination of keys ("Ctrl+Shift+76")
Возвращает
int Count of users to wich adds hot-keys

См. определение в файле hot_keys.php строка 1130

◆ CheckFields()

CheckFields ( $arFields,
$ID = false )
protected

См. определение в файле hot_keys.php строка 703

◆ CheckKeysString()

CheckKeysString ( $keysString)
protected

См. определение в файле hot_keys.php строка 980

◆ CheckStickers()

CheckStickers ( )
protected

См. определение в файле hot_keys.php строка 1085

◆ CleanCache()

CleanCache ( $userId = null)
staticprotected

См. определение в файле hot_keys.php строка 508

◆ CleanUp()

CleanUp ( $USER_ID = 0)
static

См. определение в файле hot_keys.php строка 882

◆ Delete()

Delete ( $ID)

См. определение в файле hot_keys.php строка 857

◆ DeleteByUser()

DeleteByUser ( $USER_ID)
static

См. определение в файле hot_keys.php строка 870

◆ Export()

Export ( )

Exports current user's binded hot keys and using custom codes

Возвращает
string exported file name

См. определение в файле hot_keys.php строка 1178

◆ GetByCodeID()

GetByCodeID ( $codeID)
protected

См. определение в файле hot_keys.php строка 528

◆ getCacheId()

getCacheId ( $userId = null)
staticprotected

См. определение в файле hot_keys.php строка 517

◆ GetCodeByClassName()

GetCodeByClassName ( $className,
$name = "",
$code = "" )

См. определение в файле hot_keys.php строка 589

◆ GetCodeByUrl()

GetCodeByUrl ( $url)

См. определение в файле hot_keys.php строка 613

◆ GetInstance()

GetInstance ( )
static

См. определение в файле hot_keys.php строка 435

◆ GetList()

GetList ( $aSort = array(),
$arFilter = array() )

См. определение в файле hot_keys.php строка 751

◆ GetTitle()

GetTitle ( $strTitleObj,
$forHint = false )

См. определение в файле hot_keys.php строка 629

◆ GetUIDbyHID()

GetUIDbyHID ( $hkID)

См. определение в файле hot_keys.php строка 543

◆ GlueSelfToCode()

GlueSelfToCode ( & $arCode)
protected

См. определение в файле hot_keys.php строка 557

◆ Import()

Import ( $fileName,
$userID )

Imports hot keys from file and binds them to user

Аргументы
string$fileName- absolute path to file with serialized data
int$userID- user's id wich recieves our hot-keys from file
Возвращает
int count added hot keys

См. определение в файле hot_keys.php строка 1228

◆ IsActive()

IsActive ( )

См. определение в файле hot_keys.php строка 1018

◆ IsDefaultOpt()

IsDefaultOpt ( )
protected

См. определение в файле hot_keys.php строка 1070

◆ LoadToCache()

LoadToCache ( )
protected

См. определение в файле hot_keys.php строка 453

◆ PrintGlobalUrlVar()

PrintGlobalUrlVar ( )

См. определение в файле hot_keys.php строка 1105

◆ PrintJSExecs()

PrintJSExecs ( $execs,
$controlName = "",
$scriptTags = true,
$checkHK = false )

См. определение в файле hot_keys.php строка 674

◆ PrintPhpToJSVars()

PrintPhpToJSVars ( )

См. определение в файле hot_keys.php строка 986

◆ PrintTPButton()

PrintTPButton ( & $arPanelButton,
$parent = "" )

См. определение в файле hot_keys.php строка 1024

◆ SetDefault()

SetDefault ( $userID)

См. определение в файле hot_keys.php строка 916

◆ SetNotDefaultOpt()

SetNotDefaultOpt ( )
protected

См. определение в файле hot_keys.php строка 1078

◆ SetTitle()

SetTitle ( $className,
$forHint = false )

См. определение в файле hot_keys.php строка 645

◆ ShowHKAsChar()

ShowHKAsChar ( $hotKeysString)

См. определение в файле hot_keys.php строка 947

◆ Update()

Update ( $ID,
$arFields )

См. определение в файле hot_keys.php строка 836

Поля

◆ $arList

$arList
protected

См. определение в файле hot_keys.php строка 367

◆ $arServSymb

$arServSymb
protected

См. определение в файле hot_keys.php строка 368

◆ $codes

$codes
staticprotected

См. определение в файле hot_keys.php строка 362

◆ $ExpImpFileName

$ExpImpFileName
static

См. определение в файле hot_keys.php строка 430

◆ $hkCacheTtl

$hkCacheTtl = 3600
protected

См. определение в файле hot_keys.php строка 366

◆ $instance

$instance
staticprotected

См. определение в файле hot_keys.php строка 364

◆ $optUse

$optUse
staticprotected

См. определение в файле hot_keys.php строка 365


Объявления и описания членов класса находятся в файле: