Next4Me
 All Classes Files Functions Variables
Application_Model_Trigger Class Reference

Trigger. More...

Inheritance diagram for Application_Model_Trigger:

Public Member Functions

 checkPointInCircle ($LatReference, $LatCurrent, $LongReference, $LongCurrent, $Range)
 verifica daca un punct definit de Latitudine si Longitudine se afla in interiorul unui cerc definit de Latiduni, Longitudine, Raza More...
 
 timeInInterval ($h, $m, $h1, $m1, $h2, $m2)
 verifica daca o ora (HH:MM) se afla in intervalul inchi [HH1:MM1 - HH2:MM2] More...
 
 speed ($entity)
 verifica speed More...
 
 geofence ($entity)
 verifica geofence More...
 
 timeStamp ($entity)
 verifica timeStamp More...
 
 timeRepeating ($entity)
 verifica timeRepeating More...
 
 device ($entity)
 verifica deviceul More...
 
 activity ($entity)
 verifica activitatea More...
 

Detailed Description

Trigger.

Definition at line 16 of file Trigger.php.

Member Function Documentation

activity (   $entity)

verifica activitatea

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 870 of file Trigger.php.

checkPointInCircle (   $LatReference,
  $LatCurrent,
  $LongReference,
  $LongCurrent,
  $Range 
)

verifica daca un punct definit de Latitudine si Longitudine se afla in interiorul unui cerc definit de Latiduni, Longitudine, Raza

Parameters
[in]$LatReference[Float] Latitudinea de referinta
[in]$LatCurrent[Float] Latitudinea curenta
[in]$LongReference[Float] Longitudine de referinta
[in]$LongCurrent[Float] Longitudine curenta
[in]$Range[Float] Raza
Returns
response (true/false)
Used for testing —

Definition at line 30 of file Trigger.php.

device (   $entity)

verifica deviceul

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 797 of file Trigger.php.

geofence (   $entity)

verifica geofence

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 219 of file Trigger.php.

speed (   $entity)

verifica speed

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 133 of file Trigger.php.

timeInInterval (   $h,
  $m,
  $h1,
  $m1,
  $h2,
  $m2 
)

verifica daca o ora (HH:MM) se afla in intervalul inchi [HH1:MM1 - HH2:MM2]

Parameters
[in]$h[Integer] ora curenta
[in]$m[Integer] minutul curent
[in]$h1[Integer] ora de inceput a intervalului
[in]$m1[Integer] minutul de inceput al intervalului
[in]$h2[Integer] ora de sfarsit al intervalului
[in]$m2[Integer] minutul de sfarsit al intervalului
Returns
response (true/false)
Used for testing —

Definition at line 69 of file Trigger.php.

timeRepeating (   $entity)

verifica timeRepeating

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 631 of file Trigger.php.

timeStamp (   $entity)

verifica timeStamp

Parameters
[in]$entity[array]
Returns
response (true/false)
Used for testing —

Definition at line 384 of file Trigger.php.


The documentation for this class was generated from the following file: