Created
March 28, 2014 18:18
-
-
Save JoaoVagner/9839447 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Model; | |
use Aws\S3\S3Client; | |
class Lesson extends \Model { | |
/** | |
* collection Name in database MongoDB | |
* | |
* @var type string | |
*/ | |
protected static $_table_name = 'lessons'; | |
const STATUS_LESSON_NOT_ANSWERED = 0; | |
const STATUS_LESSON_IN_TEACHER = 1; | |
const STATUS_LESSON_ANSWERED = 2; | |
const STATUS_LESSON_AVALIATED_SUCESS = 3; | |
const STATUS_LESSON_AVALIATED_PROBLEM = 4; | |
public static $_labels = array( | |
0 => 'Não Respondida', | |
1 => 'Com Professor Responsável', | |
2 => 'Respondida pelo professor', | |
3 => 'Avaliada com sucesso', | |
4 => 'Problema Relatado pelo aluno' | |
); | |
public static $_minutes = array( | |
15 => '15 Minutos', | |
30 => '30 Minutos', | |
45 => '45 Minutos', | |
60 => '60 Minutos', | |
90 => '90 Minutos' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment