PHP Class blog, adsb-receiver

Copyright 2012 ABagrintsev This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Inheritance: extends model_base
Exibir arquivo Open project: jprochazka/adsb-receiver Class Usage Examples

Public Methods

Method Description
addPost ( $author, $title, $contents )
deletePostByTitle ( $title )
editContentsByTitle ( $originalTitle, $contents )
getAllPosts ( $orderBy = "desc" )
getPostByTitle ( $title )
titleExists ( $newTitle )

Method Details

addPost() public method

public addPost ( $author, $title, $contents )

deletePostByTitle() public method

public deletePostByTitle ( $title )

editContentsByTitle() public method

public editContentsByTitle ( $originalTitle, $contents )

getAllPosts() public method

public getAllPosts ( $orderBy = "desc" )

getPostByTitle() public method

public getPostByTitle ( $title )

titleExists() public method

public titleExists ( $newTitle )