API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsStory Class Reference

Public Member Functions

 Story ($storyid=-1)
 
 setStoryId ($value)
 
 setTopicId ($value)
 
 setUid ($value)
 
 setTitle ($value)
 
 setHometext ($value)
 
 setBodytext ($value)
 
 setPublished ($value)
 
 setExpired ($value)
 
 setHostname ($value)
 
 setNohtml ($value=0)
 
 setNosmiley ($value=0)
 
 setIhome ($value)
 
 setNotifyPub ($value)
 
 setType ($value)
 
 setApproved ($value)
 
 setTopicdisplay ($value)
 
 setTopicalign ($value)
 
 setComments ($value)
 
 store ($approved=false)
 
 getStory ($storyid)
 
 makeStory ($array)
 
 delete ()
 
 updateCounter ()
 
 updateComments ($total)
 
 topicid ()
 
 topic ()
 
 uid ()
 
 uname ()
 
 title ($format='Show')
 
 hometext ($format='Show')
 
 bodytext ($format='Show')
 
 counter ()
 
 created ()
 
 published ()
 
 expired ()
 
 hostname ()
 
 storyid ()
 
 nohtml ()
 
 nosmiley ()
 
 notifypub ()
 
 type ()
 
 ihome ()
 
 topicdisplay ()
 
 topicalign ($astext=true)
 
 comments ()
 

Data Fields

 $table
 
 $storyid
 
 $topicid
 
 $uid
 
 $title
 
 $hometext
 
 $bodytext = ''
 
 $counter
 
 $created
 
 $published
 
 $expired
 
 $hostname
 
 $nohtml = 0
 
 $nosmiley = 0
 
 $ihome = 0
 
 $notifypub = 0
 
 $type
 
 $approved
 
 $topicdisplay
 
 $topicalign
 
 $db
 
 $topicstable
 
 $comments
 

Detailed Description

Class XoopsStory

Member Function Documentation

◆ bodytext()

bodytext (   $format = 'Show')
Parameters
string$format
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ comments()

comments ( )
Here is the caller graph for this function:

◆ counter()

counter ( )

◆ created()

created ( )

◆ delete()

delete ( )
Returns
bool
Here is the call graph for this function:

◆ expired()

expired ( )
Here is the caller graph for this function:

◆ getStory()

getStory (   $storyid)
Parameters
$storyid
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hometext()

hometext (   $format = 'Show')
Parameters
string$format
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hostname()

hostname ( )
Here is the caller graph for this function:

◆ ihome()

ihome ( )
Returns
int
Here is the caller graph for this function:

◆ makeStory()

makeStory (   $array)
Parameters
$array
Here is the caller graph for this function:

◆ nohtml()

nohtml ( )
Returns
int
Here is the caller graph for this function:

◆ nosmiley()

nosmiley ( )
Returns
int
Here is the caller graph for this function:

◆ notifypub()

notifypub ( )
Returns
int
Here is the caller graph for this function:

◆ published()

published ( )
Here is the caller graph for this function:

◆ setApproved()

setApproved (   $value)
Parameters
$value

◆ setBodytext()

setBodytext (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setComments()

setComments (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setExpired()

setExpired (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setHometext()

setHometext (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setHostname()

setHostname (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setIhome()

setIhome (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setNohtml()

setNohtml (   $value = 0)
Parameters
int$value
Here is the call graph for this function:

◆ setNosmiley()

setNosmiley (   $value = 0)
Parameters
int$value
Here is the call graph for this function:

◆ setNotifyPub()

setNotifyPub (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setPublished()

setPublished (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setStoryId()

setStoryId (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTitle()

setTitle (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTopicalign()

setTopicalign (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTopicdisplay()

setTopicdisplay (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setTopicId()

setTopicId (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setType()

setType (   $value)
Parameters
$value
Here is the call graph for this function:

◆ setUid()

setUid (   $value)
Parameters
$value
Here is the call graph for this function:

◆ store()

store (   $approved = false)
Parameters
bool$approved
Returns
bool
Here is the call graph for this function:

◆ Story()

Story (   $storyid = -1)
Parameters
int | array$storyid
Here is the call graph for this function:

◆ storyid()

storyid ( )
Here is the caller graph for this function:

◆ title()

title (   $format = 'Show')
Parameters
string$format
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ topic()

topic ( )
Returns
XoopsTopic
Here is the call graph for this function:

◆ topicalign()

topicalign (   $astext = true)
Parameters
bool$astext
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ topicdisplay()

topicdisplay ( )
Here is the caller graph for this function:

◆ topicid()

topicid ( )
Here is the caller graph for this function:

◆ type()

type ( )
Here is the caller graph for this function:

◆ uid()

uid ( )
Here is the caller graph for this function:

◆ uname()

uname ( )
Returns
string
Here is the call graph for this function:

◆ updateComments()

updateComments (   $total)
Parameters
$total
Returns
bool
Here is the call graph for this function:

◆ updateCounter()

updateCounter ( )
Returns
bool
Here is the call graph for this function:

Field Documentation

◆ $approved

$approved

◆ $bodytext

$bodytext = ''

◆ $comments

◆ $counter

◆ $created

◆ $db

$db

◆ $expired

◆ $hometext

◆ $hostname

◆ $ihome

$ihome = 0

◆ $nohtml

$nohtml = 0

◆ $nosmiley

$nosmiley = 0

◆ $notifypub

$notifypub = 0

◆ $published

◆ $storyid

◆ $table

$table

◆ $title

◆ $topicalign

◆ $topicdisplay

◆ $topicid

◆ $topicstable

$topicstable

◆ $type

$type

◆ $uid

$uid

The documentation for this class was generated from the following file: