![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$blog_id = checkNumeric($_GET["blog_id"]) | |
$blog = new Blog() | |
if($blog_id) | else |
$_POST ["owner_id"] = $user->get($user->getPrimaryKey()) | |
$_POST ["created_date"] = now() | |
$redirect = "/blogs" | |
$tabs = BlogManager::blogTabs($blog_id) | |
$styles = BlogManager::getStyles() | |
$blogView = new BlogView($blog) | |
$form = BlogManager::buildBlogForm($blog, $redirect, $blogView) | |
if($method=="POST") | $script = $form->writeScript() |
$_POST["created_date"] = now() |
Definition at line 51 of file blog_form.inc.
$_POST["owner_id"] = $user->get($user->getPrimaryKey()) |
Definition at line 50 of file blog_form.inc.
$blog = new Blog() |
Definition at line 39 of file blog_form.inc.
$blog_id = checkNumeric($_GET["blog_id"]) |
Definition at line 37 of file blog_form.inc.
$blogView = new BlogView($blog) |
Definition at line 59 of file blog_form.inc.
$form = BlogManager::buildBlogForm($blog, $redirect, $blogView) |
Definition at line 61 of file blog_form.inc.
$redirect = "/blogs" |
Definition at line 54 of file blog_form.inc.
if ( $method=="POST") $script = $form->writeScript() |
Definition at line 71 of file blog_form.inc.
Definition at line 57 of file blog_form.inc.
$tabs = BlogManager::blogTabs($blog_id) |
Definition at line 56 of file blog_form.inc.
Definition at line 46 of file blog_form.inc.