Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
semantics.php
1<?php
9
11
12Loc::loadMessages(__FILE__);
13
19{
20 const FINISHED = 1;
21 const READY = 2;
22 const WORKING = 3;
23
29 public static function getFinishStates()
30 {
31 return self::getStates(self::FINISHED);
32 }
33
39 public static function getReadyStates()
40 {
41 return self::getStates(self::READY);
42 }
43
49 public static function getWorkStates()
50 {
51 return self::getStates(self::WORKING);
52 }
53
60 public static function getStates($semanticId)
61 {
62 switch ($semanticId)
63 {
64 case self::FINISHED:
65 return array(
68 );
69
70 case self::WORKING:
71 return array(
77 );
78
79 case self::READY:
80 default:
81 return array(
85 );
86 }
87 }
88}
static loadMessages($file)
Definition loc.php:64
static getStates($semanticId)
Definition semantics.php:60