<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Motivos
*
* @author root
*/
class PermisosMotivos {
public static function todos() {
$sqlQuery = "SELECT * FROM ColaboradoresPermisosMotivos ";
return SicamDB::selectVariasFilas($sqlQuery, array());
}
public static function porID($id) {
$sqlQuery = "SELECT * FROM ColaboradoresPermisosMotivos WHERE ColaboradoresPermisosMotivos.permisoMotivoID = ? ";
return SicamDB::selectUnaFila($sqlQuery, array($id));
}
}