You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
307 B
PHP
18 lines
307 B
PHP
<?php
|
|
|
|
namespace OCA\Office;
|
|
|
|
class Op {
|
|
|
|
public function add($op){
|
|
$query = \OCP\DB::prepare('INSERT INTO `*PREFIX*office_op` (`es_id`, `seq`, `member`, `opspec`) VALUES (?, ?, ?, ?) ');
|
|
$result = $query->execute(array(
|
|
$op['es_id'],
|
|
$op['seq'],
|
|
$op['member'],
|
|
$op['opspec'],
|
|
));
|
|
}
|
|
|
|
}
|