phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: objects.php

Source Location: /objects.php

Page Details
Classes
Class Description
BaseConfig Base Configuration Class
Config Takes care of all configuration settings. The configuration is stored in pivotx/db/ser_config.php, but is completely accessible through this object.
Users This Class handles all operations with regard to users: adding, deleting, getting info, etc.
Weblogs This class deals with the Weblogs.
Categories This class deals with the categories
Session This class deals with Sessions: logging in, logging out, saving sessions and performing checks for required userlevels.
Pages This class deals with Pages.
Paging The class that does the work for the paging and paging_subweblog snippets.
Simplecache A Class that provides for very simple, in-memory caching.
Minify
Events Takes care of the systemwide events, such as "Mike logged in." or "Pablo changed
Constants
PIVOTX_PASSWORD_HASH_COUNT  [line 419]

PIVOTX_PASSWORD_HASH_COUNT = 9

Portable PHP password hashing framework (phpass) for PivotX:

The framework can be completely disabled by setting "disable_phpass" to 1 in the advanced configuration. This is not recommended. If it is disabled, a salted md5 sum is used for password hashing.

1) The standard log2 number of iterations for password stretching. This should be increased from time to time to counteract increases in the speed and power of computers available to crack the hashes. However, since the current hashing algorithms aren't capable of running in parallell in PHP, it shouldn't be increased too often. (It should never exceed 31.)


[ Top ]

PIVOTX_PASSWORD_PORTABLE_HASHES  [line 427]

PIVOTX_PASSWORD_PORTABLE_HASHES = true

2) By default, portable hashes are used for maximum portability. Portable

hashes can be disabled by setting "password_non_portable_hashes" to 1 in the advanced configuration. Non-portable hashes are more secure, but can be a problem on shared hosting or if you need to move your site between different servers.


[ Top ]

PIVOTX_UL_ADMIN  [line 403]

PIVOTX_UL_ADMIN = 3

[ Top ]

PIVOTX_UL_ADVANCED  [line 402]

PIVOTX_UL_ADVANCED = 2

[ Top ]

PIVOTX_UL_MOBLOGGER  [line 400]

PIVOTX_UL_MOBLOGGER = 0

[ Top ]

PIVOTX_UL_NOBODY  [line 399]

PIVOTX_UL_NOBODY = -1

Since PHP4 doesn't allow class constants, we define the userlevels as global constants.


[ Top ]

PIVOTX_UL_NORMAL  [line 401]

PIVOTX_UL_NORMAL = 1

[ Top ]

PIVOTX_UL_SUPERADMIN  [line 404]

PIVOTX_UL_SUPERADMIN = 4

[ Top ]



Documentation generated on Thu, 17 May 2012 01:07:27 +0200 by phpDocumentor 1.4.3