mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
File systeme V3
This commit is contained in:
@@ -116,4 +116,11 @@ class OCOM extends Model
|
||||
{
|
||||
return $this->nbPeriode * 30;
|
||||
}
|
||||
|
||||
public function niveau()
|
||||
{
|
||||
$niveau = -1;
|
||||
preg_match('/[^0\D]/',$this->oren,$niveau);
|
||||
return $niveau[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user