Properties

$type

$type : 

Type

$_db

$_db : object

database bağlntısı ku r

Type

object

$table_prefix

$table_prefix : 

Type

Methods

__construct()

__construct() 

database helper ına nesneyi init et

lastId()

lastId() : string

son id değerini verir

Returns

string

postsInsert()

postsInsert(array  $data) : mixed

posts add

Parameters

array $data

Returns

mixed

postsPicturesInsert()

postsPicturesInsert(array  $data) : mixed

posts a resim ekler

Parameters

array $data

Returns

mixed

postsDelete()

postsDelete(array  $where) : boolean

post sil

Parameters

array $where

Returns

boolean

postsPictureDelete()

postsPictureDelete(array  $where) : boolean

post sil

Parameters

array $where

Returns

boolean

postsUpdate()

postsUpdate(array  $data, array  $where) : boolean

posts update

Parameters

array $data
array $where

Returns

boolean

fetch_post()

fetch_post(integer  $post_id) : boolean

sayfa bilgisi

Parameters

integer $post_id

Returns

boolean

fetchPost_Slug()

fetchPost_Slug(array  $slug) : boolean

önyüz kullanacak burayı

Parameters

array $slug

Returns

boolean

Allposts()

Allposts() : boolean

tüm sayfa bilgisini verir

Returns

boolean

AllPostsCategories()

AllPostsCategories() : boolean

kategorileri verir

Returns

boolean

AllPostsPictures()

AllPostsPictures(  $post_id) : boolean

kategorileri verir

Parameters

$post_id

Returns

boolean

LastpostsID()

LastpostsID() : array

dilin slug ına gore id degerini verir

Returns

array

postsIDTotal()

postsIDTotal() : array

dilin slug ına gore id degerini verir

Returns

array

All_Cats()

All_Cats(integer  $lng) : boolean

kategori bilgisini verir

Parameters

integer $lng

Returns

boolean

catsInsert()

catsInsert(array  $data) : mixed

kategori ekle

Parameters

array $data

Returns

mixed

catsDelete()

catsDelete(array  $where) : boolean

kategori sil

Parameters

array $where

Returns

boolean

catsUpdate()

catsUpdate(array  $data, array  $where) : boolean

kategori güncelle

Parameters

array $data
array $where

Returns

boolean

fetch_cats()

fetch_cats(integer  $post_id, string  $lang) : boolean

kategori bilgisi

Parameters

integer $post_id
string $lang

Returns

boolean

LastCatID()

LastCatID() : array

dilin slug ına gore categori id degerini verir

Returns

array

CatsIDTotal()

CatsIDTotal() : array

dilin slug ına gore id degerini verir

Returns

array

fetchCats_Slug()

fetchCats_Slug(string  $slug, string  $lang) : boolean

kategoriyi slug adresine göre çeker önyüz kullanacak burayı

Parameters

string $slug
string $lang

Returns

boolean