/bbsengine3.php

Description

This file is part of bbsengine3

  • copyright:

    (C) 2002-2016 Zoid Technologies. All Rights Reserved.

    Thank you for using Software That Sucks Less.

Includes
require_once ("Log.php") (line 22)
  • since: 20160419
require_once ("MDB2.php") (line 32)

pull in PEAR::MDB2 database abstraction module

require_once ("HTML/QuickForm2/Renderer.php") (line 17)
require_once ("Pager.php") (line 39)
require_once ("HTML/Page2.php") (line 37)

pull in PEAR::HTML_Page2

require_once ("HTML/QuickForm2.php") (line 16)

pull in pear::html_quickform

require_once ("Smarty.class.php") (line 27)

pull in smarty class

Functions
accesscart (line 3762)
  • since: 20160502
void accesscart ( $op, [ $data = null])
  • $op
  • $data
accesscartitem (line 3714)
  • since: 20160429
void accesscartitem ( $op, [ $cartitem = null])
  • $op
  • $cartitem
accessmantra (line 4072)

given an operation, return a boolean or null if the operation is not handled

  • return: True, False, or null if the operation is not handled
  • since: 20160910
boolean|null accessmantra (string $op, [dictionary $data = null], [integer $memberid = null])
  • string $op: op operation.. for example "summary" or "edit" or "delete"
  • dictionary $data: data optional data needed to resolve access check
  • integer $memberid: memberid member id to check or null to use result of getcurrentmemberid()
accessmember (line 1773)

function to determine access to the "member" table

  • since: 20130225
void accessmember (string $op, [array $data = null], [integer $memberid = null])
  • string $op
  • array $data
  • integer $memberid
accessnotify (line 2640)
  • since: 20130411
void accessnotify ( $op, [ $notify = null], [ $memberid = null])
  • $op
  • $notify
  • $memberid
accesssig (line 3206)
  • since: 20160202
boolean accesssig (string $op, [dictionary $sig = null], [integer $memberid = null])
  • string $op: op delete, edit, add, view
  • dictionary $sig: sig dictionary containing a sig record
  • integer $memberid: memberid memberid to check or null to use currentmemberid
addflag (line 907)

add a flag to the system

  • since: 20121029
void addflag ( $name,  $description,  $defaultvalue)
  • $name
  • $description
  • $defaultvalue
buildaccountfieldset (line 3960)
void buildaccountfieldset ( $form,  $options)
  • $form
  • $options
buildbreadcrumbs (line 3350)

return a list of dictionaries with keys 'title' and 'uri' for each part of $sigpath (ltree)

  • since: 20151118
void buildbreadcrumbs ( $sigpath)
  • $sigpath
buildbutton (line 4031)
void buildbutton ( $form,  $name,  $data)
  • $form
  • $name
  • $data
buildbuttonfieldset (line 2753)
  • since: 20150418
void buildbuttonfieldset ( $form, [ $submitlabel = "NEEDINFO"], [ $attributes = null])
  • $form
  • $submitlabel
  • $attributes
buildcartactions (line 3815)
  • since: 20160429
void buildcartactions ( $data)
  • $data
buildcartitemactions (line 3738)
  • since: 20160429
void buildcartitemactions ([ $data = []])
  • $data
buildcartrecord (line 3670)
  • since: 20151222
void buildcartrecord ()
buildchangepasswordfieldset (line 2247)
  • since: 20140831
void buildchangepasswordfieldset ( $form, [ $data = array()])
  • $form
  • $data
buildlabel (line 1668)
  • since: 20120507
void buildlabel ( $buf)
  • $buf
buildlabelpath (line 3100)

given one or more URIs (the function has a variable number of arguments), compose a proper labelpath, calling normalizelabelpath() at the end.

  • since: 20120312 re-written 20160115
void buildlabelpath ()
buildloginfieldset (line 2331)
void buildloginfieldset ( $form)
  • $form
buildmantraactions (line 4119)
  • since: 20160910
void buildmantraactions ( $data)
  • $data
buildmantrafieldset (line 4041)
  • since: 20160910
void buildmantrafieldset ( $form)
  • $form
buildmantrarecord (line 4055)

build a mantra record (dict) from html_quickform2 values

  • since: 20160910
void buildmantrarecord ( $values)
  • $values
buildmemberfieldset (line 2056)
  • since: 20140805
void buildmemberfieldset ( $form)
  • $form
buildmemberrecord (line 2147)
void buildmemberrecord ( $values)
  • $values
buildname (line 1687)
  • deprecated:
void buildname ( $buf)
  • $buf
buildnewpasswordfieldset (line 2232)
  • since: 20141016
void buildnewpasswordfieldset ( $form)
  • $form
buildnotifyactions (line 2502)
void buildnotifyactions ( $notify)
  • $notify
buildnotifydata (line 2555)
void buildnotifydata ( $notify)
  • $notify
buildnotifyrecord (line 2486)
  • since: 20160202
void buildnotifyrecord ( $key,  $notify)
  • $key
  • $notify
buildnotifytemplatename (line 1901)
void buildnotifytemplatename ( $type)
  • $type
buildpagerinfo (line 3290)
  • since: 20151118
void buildpagerinfo ( $sql,  $params)
  • $sql
  • $params
buildparentlabelpath (line 2135)
  • return: labelpath except for last element
  • since: 20140829
ltree buildparentlabelpath (ltree $labelpath)
  • ltree $labelpath: ltree label path
buildpath (line 1701)
  • since:

    20121107

    transforms the given uri into something that can be used with the 'ltree' type.

string buildpath ( $buf, string $name)
  • string $name
  • $buf
buildsigactions (line 3258)
  • since: 20150203
void buildsigactions ( $sig)
  • $sig
buildsigfieldset (line 3180)

build a fieldset for handling the 'sig' table

  • since: 20140730
void buildsigfieldset ( $form)
  • $form
builduri (line 1721)

builds a uri from a given ltree labelpath

void builduri (labelpath $labelpath)
  • labelpath $labelpath: ltree
cartidexists (line 3438)
  • since: 20160430
void cartidexists ( $cartid)
  • $cartid
cartitemexists (line 3998)
  • since: 20160502
void cartitemexists ( $trailerid)
  • $trailerid
checklogin (line 2308)

this function is intended to be used as part of an html_quickform2 callback rule

boolean checklogin (args $args)
  • args $args: dictionary with 'username' and 'password' as keys
checknonce (line 2012)
void checknonce ( $secret,  $nonce)
  • $secret
  • $nonce
checkpassword (line 2191)
void checkpassword (text $password, integer $memberid)
  • text $password: plain text password i.e. from a quickform
  • integer $memberid: memberid memberid to check against
checksession (line 1486)
void checksession ()
clearcart (line 3549)
  • since: 20160503
void clearcart ( $cartid)
  • $cartid
clearcurrentaction (line 1360)

function to clear the current action

  • since: 20150309
void clearcurrentaction ()
clearcurrentcart (line 3569)
  • since: 20151214
void clearcurrentcart ()
clearcurrentmemberid (line 1948)

unset the "current member id" for the session aka "logout"

  • since: 20121018
void clearcurrentmemberid ()
clearflag (line 934)

function to clear a flag, resetting it to the default value for the given user.

  • since: 20121029
void clearflag ( $name, [ $memberid = null])
  • $name
  • $memberid
clearpageprotocol (line 2084)
  • since: 20140825
void clearpageprotocol ()
datestamp (line 888)
void datestamp ( $stamp, [ $format = null])
  • $stamp
  • $format
dbconnect (line 720)

connect to a DSN using the MDB2 "singleton" static method, configures the object (quote_identifier set to true, fetchmode set to MDB2_FETCHMODE_ASSOC, and loading the "Extended" module), and returns a reference to it.

object|error dbconnect (string $dsn)
  • string $dsn: dsn
decodejson (line 2365)

decodes given json data into a dictionary (associative array)

  • since: 20140730
void decodejson ( $data)
  • $data
displaydeleteconfirmation (line 1305)

function which displays the "delete confirmation" template.

  • since: 20110801
void displaydeleteconfirmation ( $message,  $yesuri,  $yestxt,  $nouri,  $notxt, [ $title = null])
  • $message
  • $yesuri
  • $yestxt
  • $nouri
  • $notxt
  • $title
displayerrorpage (line 341)

display an error page template with message

  • since: 20120608
  • access: public
void displayerrorpage (string $message, [ $statuscode = 418], [ $title = "error"], [ $template = "errormessage.tmpl"], integer $errorcode)
  • string $message
  • integer $errorcode: http error code (i.e. 500, 404)
  • $statuscode
  • $title
  • $template
displayfooter (line 411)

display a page footer template

  • deprecated:
  • access: public
void displayfooter ()
displayform (line 3064)

function which accepts a renderer instance converted to an array, a page title, and an optional template name. it composes an html_page2 instance and calls displaypage() which is part of bbsengine3

  • since: 20150629
void displayform ( $renderer, string $title, [ $options = array()], html_quickform2 $form, string $template)
  • html_quickform2 $form
  • string $title
  • string $template
  • $renderer
  • $options
displayheader (line 463)

display a page header template with optional title string

  • deprecated:
  • access: public
void displayheader ([string $title = null], [array $css = null], [array $script = null])
  • string $title: title of page
  • array $css
  • array $script
displaypage (line 3031)
  • since: 20151203
void displaypage ( $page, [ $options = null])
  • $page
  • $options
displaypagefooter (line 423)

print result of fetchpagefooter() to browser

  • since: 20130826
void displaypagefooter ()
displaypageheader (line 469)
void displaypageheader ([ $title = null], [ $css = null], [ $script = null])
  • $title
  • $css
  • $script
displaypermissiondenied (line 633)

display the permission denied template

  • since: 20121008
  • access: public
void displaypermissiondenied ([ $message = null], [ $title = "permission denied"])
  • $message
  • $title
displayredirectpage (line 252)

display a redirect page template with message and optional url

  • access: public
void displayredirectpage (string $message, [string $url = null], [ $delay = 5])
  • string $message
  • string $url
  • $delay
emailaddressformrule (line 848)

an html_quickfom rule which returns True if the given email address is in the database.

  • see: emailaddresscallback()
  • todo: is this a duplicate?
void emailaddressformrule (string $value, [integer $id = 0])
  • string $value
  • integer $id
encodejson (line 2354)

calls json_encode() with default parameters

  • since: 20140730
void encodejson ( $data)
  • $data
endsession (line 1491)
void endsession ()
explodesiglabelpaths (line 3946)
  • since: 20160207
void explodesiglabelpaths ( $siglabelpaths)
  • $siglabelpaths
explodesigmap (line 3931)

accepts a string of comma separated label paths and returns an array.

  • return: of siglabelpaths
  • deprecated:
  • since: 20150703
array explodesigmap ( $sigmap)
  • $sigmap
explodeuri (line 3969)
  • since: 20160319
void explodeuri ( $uri)
  • $uri
fetcherrorpage (line 318)

return a html_page2 instance populated with the errormessage.tmpl smarty template

  • since: 20120823
void fetcherrorpage ( $message)
  • $message
fetchheader (line 431)
  • since: 20110105
void fetchheader ([ $title = null], [ $css = null], [ $script = null])
  • $title
  • $css
  • $script
fetchmaturecontentwarning (line 1196)

returns the maturecontentwarning smarty template as a string.

  • since: 20110601
void fetchmaturecontentwarning ()
fetchnavbar (line 495)
void fetchnavbar ([ $menu = null])
  • $menu
fetchpagefooter (line 386)
void fetchpagefooter ()
fetchpageheader (line 445)
  • since: 20110105
void fetchpageheader ([ $title = null], [ $css = null], [ $script = null])
  • $title
  • $css
  • $script
fetchredirectpage (line 240)

return a configured html_page2 instance using the 'message' and 'url' parameters. this function should be used in cases where content or css files need to be added.

  • deprecated:
  • since: 20120823
void fetchredirectpage ( $message, [ $url = null], [ $delay = 3])
  • $message
  • $url
  • $delay
fetchsidebar (line 508)
void fetchsidebar ([ $menu = null])
  • $menu
fetchtopbar (line 2283)
  • since: 20140908
void fetchtopbar ([ $actions = null])
  • $actions
flag (line 666)

permission checking function

permissions "PUBLIC" and "AUTHENTICATED" are built-in and checked for specially before any database connection is made. other permissions are in uppercase and must be listed in the flag table. if the member being checked does not have a value set for a particular flag, the default value will be returned.

  • since: 20080324
boolean flag (string $name, [integer $memberid = 0])
  • string $name
  • integer $memberid
generatenonce (line 1998)
void generatenonce ( $secret, [ $timeoutSeconds = 180])
  • $secret
  • $timeoutSeconds
generatesalt (line 2038)
void generatesalt ()
getcart (line 3638)
  • since: 20151220
void getcart ( $cartid)
  • $cartid
getcartitems (line 3690)
  • since: 20160411
void getcartitems ( $cartid)
  • $cartid
getcurrentaction (line 1349)

function to get the current "action" so that "view" can be hidden when in view mode, etc

  • since: 20110803
void getcurrentaction ()
getcurrentcart (line 3464)
  • since: 20151214
void getcurrentcart ()
getcurrentcartid (line 3497)
void getcurrentcartid ()
getcurrentmember (line 833)
void getcurrentmember ()
getcurrentmembercredits (line 2927)
  • since: 20150903
void getcurrentmembercredits ()
getcurrentmemberid (line 761)

return the "current member id" for the session

int getcurrentmemberid ([string $key = null])
  • string $key: key optional key to use when accessing $_SESSION, defaults to "currentmemberid"
getcurrentpage (line 1221)

get current page

  • author: Zoid Technologies
  • since: 20100510
void getcurrentpage ()
getcurrentpath (line 3420)
  • since: 20151204
void getcurrentpath ([ $uri = null])
  • $uri
getcurrentsig (line 3980)
  • since: 20160427
void getcurrentsig ()
getcurrentsite (line 1877)
  • since: 20131031
void getcurrentsite ()
getcurrenturi (line 1381)

function that returns the current url (protocol, hostname, etc)

  • since: 20110804
void getcurrenturi ()
getflag (line 1011)

returns flag value given the flag name and member id.

boolean getflag (string $flag,  $memberid, integer $id)
  • string $flag: flag name
  • integer $id: member id
  • $memberid
getflags (line 1054)

return the set of flags and their values for a given memberid.

rewritten 2011-jun-23 so it actually works without smarty3 throwing notices about undefined vars

  • return: or PEAR_Error
  • since: 20081002
array getflags (integer $memberid)
  • integer $memberid
getlastlogin (line 2378)
  • since: 20141223
void getlastlogin ()
getlastloginfrom (line 2398)
  • since: 20141223
void getlastloginfrom ()
getmantra (line 4146)
  • since: 20140512
void getmantra ( $mantraid)
  • $mantraid
getmember (line 827)
void getmember ( $id)
  • $id
getmembercredits (line 2889)
  • since: 20150903
void getmembercredits ( $id)
  • $id
getmemberid (line 2167)
  • return: memberid for $name, NULL if name doesn't exist, PEAR::Error for errors
  • since: 20140901
mixed getmemberid ($name $name)
  • $name $name: text handle
getmemberidfrom (line 2714)
  • since: 20150420
void getmemberidfrom ( $name,  $value,  $type)
  • $name
  • $value
  • $type
getmemberidfromemail (line 2687)
  • since: 20150410
void getmemberidfromemail ( $email)
  • $email
getmemberidfromusername (line 2737)
void getmemberidfromusername ( $username)
  • $username
getnotify (line 2565)
  • since: 20130411
void getnotify ( $notifyid)
  • $notifyid
getpage (line 1185)
void getpage ([ $title = null], [ $options = null])
  • $title
  • $options
getpageprotocol (line 2108)
  • since: 20140822
string getpageprotocol ()
getquickform (line 91)

returns a configured PEAR::HTML_QuickForm2 instance.

'pageprotocol' is set to 'standard'. if javascript is running the field value will be changed to 'enhanced'.

the 'tracksubmit' param defaults to * True because I cannot think of a reason not to use it that way but it should be a knob.

there is a recursive filter automagically added that calls 'trim'.

  • return: configured html_quickform2 instance
  • since: 20130209
a getquickform ( $id, [string $method = "post"], [string $attributes = ""], [boolean $tracksubmit = True], string $name)
  • string $name: name of the form which should be unique to the app
  • string $method: "post" or "get" defaults to "post"
  • string $attributes: attributes for the <form> tag
  • boolean $tracksubmit: defines whether or not to add a hidden field that tracks if the form has been submitted.
  • $id
getquickformrenderer (line 112)
  • return: Array renderer
  • since:

    20140902

    function which returns a configured Array renderer for use by quickform2

QF2 getquickformrenderer ([$options $options = null])
  • $options $options: array optional dictionary containing renderer options
getreturnto (line 585)

get the 'returnto' session var which contains 'url' and 'title', falling back to SITEURL and SITETITLE from config

  • return: with two keys 'url' and 'title'
  • since: 20150722
array getreturnto ()
getreturntotitle (line 608)
void getreturntotitle ()
getreturntourl (line 594)

returns the returntourl as a string if it has been set.

void getreturntourl ()
getsig (line 1977)
  • since: 20140727
void getsig ( $labelpath)
  • $labelpath
getsigidfromlabelpath (line 3398)

get sigid for a given labelpath

  • since: 20140713 moved from zoidweb2 2015nov22
void getsigidfromlabelpath ( $labelpath)
  • $labelpath
getsigmap (line 3890)
  • since: 20160206
void getsigmap ( $maptablename,  $idfield,  $id, [ $ltreefield = &quot;siglabelpath&quot;])
  • $maptablename
  • $idfield
  • $id
  • $ltreefield
getsitevar (line 4231)
  • since: 20161022
void getsitevar ( $name)
  • $name
getsitevardefault (line 4259)
  • since: 20161023
void getsitevardefault ( $name)
  • $name
getsitevars (line 4217)
  • since: 20161023
void getsitevars ()
getsmarty (line 221)

define getsmarty() in case an upper layer did not define it

  • since: 20140710
void getsmarty ([ $options = null])
  • $options
gettotalnotifications (line 2588)
  • since: 20130401
void gettotalnotifications ( $id)
  • $id
gettotalunreadnotifications (line 2614)
  • since: 20130401
void gettotalunreadnotifications ( $id)
  • $id
get_request_scheme (line 1371)
void get_request_scheme ()
get_request_url (line 1366)
void get_request_url ()
handleform (line 2807)

handle a form given an html_quickform2 instance, a callback function and a page title. if the form validates, the callback function is called.

  • return: value the callback returns. 'True' should be used for 'success'.
  • since: 20150408
whatever handleform (form $form, callback $callback, pagetitle 2)
  • pagetitle 2: string page title
  • form $form: html_quickform2 instance
  • callback $callback: function/method to call if form validates
hashpassword (line 2450)
  • since: 20150109
void hashpassword ( $plaintext)
  • $plaintext
implodesigmap (line 3914)
void implodesigmap ( $sigmap)
  • $sigmap
iscartowner (line 4016)
void iscartowner ( $cart)
  • $cart
logentry (line 529)

put $message into a log at the given priority

  • since: 20080105
void logentry (string $message, [enum $priority = LOG_INFO])
  • string $message
  • enum $priority
normalizecart (line 3593)
  • since: 20151214
void normalizecart ()
normalizelabelpath (line 3145)
  • since: 20140903
string normalizelabelpath ([string $labelpath = ])
  • string $labelpath
normalizepath (line 1889)

function to add a trailing slash if needed. also removes duplicate slashes.

  • since: 20140511
void normalizepath ( $path)
  • $path
normalizeuri (line 2294)
  • since: 20140910
void normalizeuri ( $uri)
  • $uri
permission (line 646)
  • deprecated:
  • since: 20110722
void permission ( $name, [ $memberid = 0])
  • $name
  • $memberid
processupload (line 1743)

process an uploaded file

rewritten based on code in register.php 2010-10-20

changed on 2015-09-01 so it accepts a dictionary (values) as a parameter, because most times this function is called from an update() or insert() function. this change is a COMPAT BUSTER.

  • since: 20100730
void processupload ( $value,  $destinationdir)
  • $value
  • $destinationdir
removesessioncookie (line 1964)

invalidate session cookie. from OWASP Cookies

  • since: 20140724
void removesessioncookie ()
safestripslashes (line 622)

only strip slashes from a string if get_magic_quotes_gpc() returns True

this function was ripped from PEAR::Services_Amazon.

  • return: with slashes stripped if get_magic_quotes_gpc returns True
string safestripslashes (string $value)
  • string $value
sendnotify (line 1914)
  • since: 20140513
void sendnotify (type $type, memberid $memberid, [data $data = null])
  • type $type: string
  • memberid $memberid: integer
  • data $data: dictionary automagically converted to json
setcurrentaction (line 1331)

function to set the current "action" so that "view" can be hidden when in view mode, etc

  • since: 20110803
void setcurrentaction ( $op)
  • $op
setcurrentcart (line 3629)
  • since: 20151214
void setcurrentcart ( $cart)
  • $cart
setcurrentcartid (line 3507)
void setcurrentcartid ( $cartid)
  • $cartid
setcurrentmembercredits (line 2936)
  • since: 20150903
void setcurrentmembercredits ( $credits)
  • $credits
setcurrentmemberid (line 785)

set the "current member id" for the session

  • return: previous value
int setcurrentmemberid (integer $id)
  • integer $id
setcurrentpage (line 1208)

set current page

  • since: 20100510
void setcurrentpage (string $page)
  • string $page
setcurrentsig (line 3989)
  • since: 20160427
void setcurrentsig ([ $sig = null])
  • $sig
setcurrentsite (line 1867)
  • since: 20131031
void setcurrentsite ( $site)
  • $site
setflag (line 965)

set a flag on the given memberid to the given value

  • since: 20120409
void setflag (string $flag, boolean $value, [integer $id = null])
  • string $flag
  • boolean $value
  • integer $id
setlastlogin (line 2387)
  • since: 20141223
void setlastlogin ( $lastlogin)
  • $lastlogin
setlastloginfrom (line 2407)
  • since: 20141223
void setlastloginfrom ( $lastloginfrom)
  • $lastloginfrom
setmembercredits (line 2911)
  • since: 20150903
void setmembercredits ( $id,  $credits)
  • $id
  • $credits
setpageprotocol (line 2096)
  • since: 20140822
void setpageprotocol ( $pageprotocol, string $pageproto)
  • string $pageproto
  • $pageprotocol
setpassword (line 2461)
void setpassword ( $memberid,  $hashedpassword)
  • $memberid
  • $hashedpassword
setreturnto (line 564)

set the 'returnto' session variable used by redirectpage()

  • return: value
old setreturnto ([string $url = null], [string $title = null])
  • string $url
  • string $title
setsitevar (line 4199)
  • since: 20161022
void setsitevar ( $name,  $value)
  • $name
  • $value
startsession (line 1452)
  • since: 20111215
void startsession ()
toboolean (line 2779)
void toboolean ( $field, [ $label = &quot;field&quot;])
  • $field
  • $label
uniqueemailaddresscallback (line 1400)

html_quickform callback function to check if an email address is already in use in the db

  • return: if address is _not_ in the database
  • see: emailaddressformrule()
  • todo: is this a duplicate?
  • since: 20101011
True uniqueemailaddresscallback ( $value)
  • $value
uniqueusernamecallback (line 2418)
  • since:

    20121017

    a quickform2 callback to see if the given $value exists in the name field of the member table

void uniqueusernamecallback ( $value)
  • $value
updatemember (line 1432)

update user record in database

  • since: 20111128
void updatemember ( $memberid,  $member)
  • $memberid
  • $member
updatesigmap (line 3840)

moved from zoidweb2 to bbsengine

this function will update a sig mapping given the table name, the name of the id field, and the value of the idfield.

  • return: if all is well else PEAR::Error
  • since: 20151114
null updatesigmap (sigs $sigs, tablename $tablename, idfield $idfield, id $id, [ $ltreefield = &quot;siglabelpath&quot;])
  • sigs $sigs: string|array if string, call explodesiglabelpaths()
  • tablename $tablename: name of mapping table
  • idfield $idfield: name of id field marked unique in the db (example: "linkid")
  • id $id: the actual id of the item (example: 42)
  • $ltreefield
validsitevar (line 4185)
  • since: 20161023
void validsitevar ( $name)
  • $name
_buildnotifydata (line 2533)
void _buildnotifydata ( $notify)
  • $notify
_displaypage (line 2945)
  • since: 20150929
void _displaypage ( $page, [ $options = null])
  • $page
  • $options
_fetchsidebar (line 501)
void _fetchsidebar ([ $menu = null])
  • $menu
_getmember (line 802)

returns data for a given member id.

  • since: 19990102
  • access: public
array|PEAR::Error _getmember (integer $id)
  • integer $id
_getpage (line 1111)

returns a lightly configured PEAR::HTML_Page2 instance

  • since: 20110725
void _getpage ([ $title = null], [ $options = array()])
  • $title
  • $options
_getsmarty (line 134)

return a smarty3 template object, configured for the website

  • since: 20140710
void _getsmarty ([dictionary $options = null])
  • dictionary $options: options an array of options: templatedir, pluginsdir, compiledir, compileid

Documentation generated on Thu, 04 May 2017 00:07:24 -0400 by phpDocumentor 1.4.4