20 lines
537 B
PHP
20 lines
537 B
PHP
<?php
|
|
class notes {
|
|
private $params = array();
|
|
|
|
public function __construct($params){
|
|
$this->setParams($params);
|
|
echo '<script type="text/javascript" src="js/jquery.notes.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="css/note.css">
|
|
<a id="addButton" class="green-button" href="add_note.html">Add a note</a>';
|
|
include 'notes_extract.php';
|
|
}
|
|
|
|
private function setParams($params){
|
|
$this->params = $params;
|
|
}
|
|
|
|
public static function start($params){
|
|
$notes = new notes($params);
|
|
}
|
|
} |