Создать простой сайт, где будет страница с формой для авторизации и страница для авторизованного пользователя.
<?php
class ContentItem
{
private $_id;
private $_parent_id;
private $_title;
private $_description;
public function __construct($id, $parent_id, $title, $description)
{
$this->_id = $id;
$this->_parent_id = $parent_id;
$this->_title = $title;
$this->_description = $description;
}
public function getId()
{
return $this->_id;
}
public function setId($val)
{
$this->_id = $val;
}
public function getParentId()
{
return $this->_parent_id;
}
public function setParentId($val)
{
$this->_parent_id = $val;
}
public function getTitle()
{
return $this->_title;
}
public function setTitle($val)
{
$this->_title = $val;
}
public function getDescription()
{
return $this->_description;
}
public function setDescription($val)
{
$this->_description = $val;
}
}