CIF_lib
[ class tree: CIF_lib ] [ index: CIF_lib ] [ all elements ]

Procedural File: workshopfuncs.phtml

Source Location: /workshopfuncs.phtml



Page Details:









CheckMaxWebinars [line 467]

void CheckMaxWebinars( )



[ Top ]



cmpByEnd [line 137]

int cmpByEnd( array $a, array $b)



Parameters

array   $a   saleVariant
array   $b   saleVariant
[ Top ]



cmpByStart [line 125]

int cmpByStart( array $a, array $b)



Parameters

array   $a   saleVariant
array   $b   saleVariant
[ Top ]



ReturnHtmlReservationCard [line 79]

false|string ReturnHtmlReservationCard( array $reservation)



Tags:

uses:  $GLOBALS


Parameters

array   $reservation  
[ Top ]



WorkshopSalevariantTerms [line 451]

[] WorkshopSalevariantTerms( integer $salevariantFrom, integer $salevariantTo, string $salevariantTerms, string $salevariantTime)

Vraci pole terminu pro danou salevariantu

  1.   [
  2.     ['date'=>'8.6.2021''time'=>'10:00 - 16:00''start'=>1623139200'end'=>1623160800],
  3.     ['date'=>'8.6.2021''time'=>'10:00 - 16:00''start'=>1623139200'end'=>1623160800],
  4.   ]




Parameters

integer   $salevariantFrom   timestamp
integer   $salevariantTo   timestamp
string   $salevariantTerms   vicedenni: '8.4.2021 9:00 - 16:00, 13.4.2021 9:00 - 16:00, 20.4.2021 9:00 - 16:00, 28.4.2021 9:00 - 16:00'
string   $salevariantTime   vice nebo jedno denni: '9:00 - 16:00' (u vice dennich je cas bran pro kazdy den. vice casu oddelenych , se ignoruje a bere se prvni)
[ Top ]



WorkshopsParticipantsCount [line 560]

int WorkshopsParticipantsCount( $salevariant_abbr $salevariant_abbr)



Parameters

$salevariant_abbr   $salevariant_abbr  
[ Top ]



WorkshopsReservationDelete [line 67]

bool WorkshopsReservationDelete( integer $id, [ &$errors = []], array $errors)



Parameters

integer   $id  
array   $errors  
   &$errors  
[ Top ]



WorkshopsReservationGet [line 7]

array|null WorkshopsReservationGet( integer $id)



Parameters

integer   $id  
[ Top ]



WorkshopsReservationSave [line 33]

array|false WorkshopsReservationSave( $values $values, [ &$errors = []], array $errors)



Parameters

array   $errors  
$values   $values  
   &$errors  
[ Top ]



WorkshopsReservationValidate [line 17]

bool WorkshopsReservationValidate( array $values, [ &$errors = []], array $errors)



Parameters

array   $values  
array   $errors  
   &$errors  
[ Top ]



WorkshopsVideoChecklistCountNewValues [line 508]

integer WorkshopsVideoChecklistCountNewValues( integer $ts, [integer $notEmployeeId = 0])



Parameters

integer   $ts  
integer   $notEmployeeId   left out employee
[ Top ]



WorkshopsVideoChecklistGet [line 149]

array WorkshopsVideoChecklistGet( $salevariantId $salevariantId, [int $date = 0])



Parameters

int   $date  
$salevariantId   $salevariantId  
[ Top ]



WorkshopsVideoChecklistNotificationChangeValueIf [line 364]

bool WorkshopsVideoChecklistNotificationChangeValueIf( mixed $value, mixed $oldValue, integer $step, integer $salevariantId, integer $date)

send notification if change value on step



Parameters

mixed   $value  
mixed   $oldValue  
integer   $step  
integer   $salevariantId  
integer   $date  
[ Top ]



WorkshopsVideoChecklistSave [line 165]

array|false WorkshopsVideoChecklistSave( array $formData, [ &$errors = []], array $errors)



Parameters

array   $formData  
array   $errors  
   &$errors  
[ Top ]



WorkshopsVideoChecklistSetStep [line 280]

bool WorkshopsVideoChecklistSetStep( integer $salevariantId, integer $date, integer $step, mixed $value, [integer $modifiedAt = 0], [integer $employeeId = 0])



Parameters

integer   $salevariantId   ($salevariantId + $date slouží pro vazbu)
integer   $date   timestamp pro datum ($salevariantId + $date slouží pro vazbu ... $date není datum záznamu!)
integer   $step  
mixed   $value   Hodnoty dle type... date=timestamp,checkbox=true|false,text=cokoliv
integer   $modifiedAt   0=current|N=timestamp
integer   $employeeId   0=system(vklada 0 jako system)|-1=session(pokusi se ziskat prihlaseneho uzivatele a kdyz ne, tak 0)|N-uživatel
[ Top ]



WorkshopsVideoChecklistSetStepProduct [line 255]

bool WorkshopsVideoChecklistSetStepProduct( integer $productId, integer $step, mixed $value, [integer $modifiedAt = 0])



Parameters

integer   $productId  
integer   $step  
mixed   $value   Hodnoty dle type... date=timestamp,checkbox=true|false,text=cokoliv
integer   $modifiedAt   0-current|N-timestamp
[ Top ]



WorkshopTermRequestChangeCode [line 532]

bool WorkshopTermRequestChangeCode( string $source_code, string $target_code)



Tags:

throws:  Exception


Parameters

string   $source_code  
string   $target_code  
[ Top ]



WorkshopTermRequestUpdateState [line 522]

bool WorkshopTermRequestUpdateState( integer $id, integer $state)



Tags:

throws:  Exception


Parameters

integer   $id  
integer   $state  
[ Top ]



Documentation generated on Tue, 28 May 2024 19:03:23 +0200 by phpDocumentor 1.4.3