Пример #1
0
<?php

$id_entry = $_POST['id_entry'];
if (Session::isLoggedIn()) {
    NotesEntry::ROW($id_entry)->DELETE();
}
Пример #2
0
<?php

$id_entry = $_POST['id_entry'];
if (Session::isLoggedIn()) {
    NotesEntry::ROW($id_entry)->publish();
}