forum::use_ReadingInfo_p (public)

 forum::use_ReadingInfo_p [ -package_id package_id ]

Defined in packages/forums/tcl/forums-procs.tcl

Switches:
-package_id (optional)
Returns:
1 if the UseReadingInfo package parameter is true, 0 otherwise.

Testcases:
web_forums_message_and_reply
Source code:
    if {$package_id eq ""} {
        if {[ns_conn isconnected]} {
            set package_id [ad_conn package_id]
        } else {
            set package_id [lindex [apm_package_ids_from_key -package_key forums -mounted] 0]
        }
    }
    return [string is true -strict [parameter::get  -package_id $package_id  -parameter UseReadingInfo  -default f]]
Generic XQL file:
packages/forums/tcl/forums-procs.xql

PostgreSQL XQL file:
packages/forums/tcl/forums-procs-postgresql.xql

Oracle XQL file:
packages/forums/tcl/forums-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: