"TYPO3 4.0.1: t3lib_pageSelect Class Reference", "datetime" => "Sat Dec 2 19:26:02 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
init ($show_hidden) | |
getPage ($uid, $disableGroupAccessCheck=FALSE) | |
getPage_noCheck ($uid) | |
getFirstWebPage ($uid) | |
getPageIdFromAlias ($alias) | |
getPageOverlay ($pageInput, $lUid=-1) | |
getRecordOverlay ($table, $row, $sys_language_content, $OLmode='') | |
getMenu ($uid, $fields='*', $sortField='sorting', $addWhere='', $checkShortcuts=1) | |
getDomainStartPage ($domain, $path='', $request_uri='') | |
getRootLine ($uid, $MP='', $ignoreMPerrors=FALSE) | |
getPathFromRootline ($rl, $len=20) | |
getExtURL ($pagerow, $disable=0) | |
getMountPointInfo ($pageId, $pageRec=FALSE, $prevMountPids=array(), $firstPageUid=0) | |
checkRecord ($table, $uid, $checkPage=0) | |
getRawRecord ($table, $uid, $fields='*', $noWSOL=FALSE) | |
getRecordsByField ($theTable, $theField, $theValue, $whereClause='', $groupBy='', $orderBy='', $limit='') | |
getHash ($hash, $expTime=0) | |
storeHash ($hash, $data, $ident) | |
deleteClause ($table) | |
enableFields ($table, $show_hidden=-1, $ignore_array=array(), $noVersionPreview=FALSE) | |
getMultipleGroupsWhereClause ($field, $table) | |
fixVersioningPid ($table, &$rr) | |
versionOL ($table, &$row) | |
getWorkspaceVersionOfRecord ($workspace, $table, $uid, $fields='*') | |
Public Attributes | |
$urltypes = Array('','http://','ftp://','mailto:','https://') | |
$where_hid_del = ' AND pages.deleted=0' | |
$where_groupAccess = '' | |
$sys_language_uid = 0 | |
$versioningPreview = FALSE | |
$versioningWorkspaceId = 0 | |
$error_getRootLine = '' | |
$error_getRootLine_failPid = 0 |
Definition at line 109 of file class.t3lib_page.php.
|
Checks if a record exists and is accessible. The row is returned if everything's OK.
Definition at line 762 of file class.t3lib_page.php. |
|
Returns the "AND NOT deleted" clause for the tablename given IF $TCA configuration points to such a field.
Definition at line 916 of file class.t3lib_page.php. |
|
Returns a part of a WHERE clause which will filter out records with start/end times or hidden/fe_groups fields set to values that should de-select them according to the current time, preview settings or user login. Definitely a frontend function. Is using the $TCA arrays "ctrl" part where the key "enablefields" determines for each table which of these features applies to that table.
Definition at line 936 of file class.t3lib_page.php. References t3lib_div::callUserFunction(), and getMultipleGroupsWhereClause(). |
|
Finding online PID for offline version record ONLY active when backend user is previewing records. MUST NEVER affect a site served which is not previewed by backend users!!! Will look if the "pid" value of the input record is -1 (it is an offline version) and if the table supports versioning; if so, it will translate the -1 PID into the PID of the original record Used whenever you are tracking something back, like making the root line. Principle; Record offline! => Find online?
Definition at line 1054 of file class.t3lib_page.php. |
|
Will find the page carrying the domain record matching the input domain. Might exit after sending a redirect-header IF a found domain record instructs to do so.
Definition at line 471 of file class.t3lib_page.php. |
|
Returns the URL type for the input page row IF the doktype is 3 and not disabled.
Definition at line 661 of file class.t3lib_page.php. |
|
Returns the $row of the first web-page in the tree (for the default menu...)
Definition at line 216 of file class.t3lib_page.php. |
|
Returns string value stored for the hash string in the table "cache_hash" Can be used to retrieved a cached value Can be used from your frontend plugins if you like. Is also used to store the parsed TypoScript template structures. You can call it directly like t3lib_pageSelect::getHash()
Definition at line 875 of file class.t3lib_page.php. Referenced by t3lib_TStemplate::start(). |
|
Returns an array with pagerows for subpages with pid=$uid (which is pid here!). This is used for menus. If there are mount points in overlay mode the _MP_PARAM field is set to the corret MPvar. If the $uid being input does in itself require MPvars to define a correct rootline these must be handled externally to this function.
Definition at line 413 of file class.t3lib_page.php. |
|
Returns MountPoint id for page Does a recursive search if the mounted page should be a mount page itself. It has a run-away break so it can't go into infinite loops.
Definition at line 685 of file class.t3lib_page.php. |
|
Creating where-clause for checking group access to elements in enableFields function
Definition at line 1008 of file class.t3lib_page.php. References t3lib_div::intExplode(). Referenced by enableFields(). |
|
Returns the $row for the page with uid = $uid (observing ->where_hid_del) Any pages_language_overlay will be applied before the result is returned. If no page is found an empty array is returned.
Definition at line 184 of file class.t3lib_page.php. |
|
Return the $row for the page with uid = $uid WITHOUT checking for ->where_hid_del (start- and endtime or hidden). Only "deleted" is checked!
Definition at line 200 of file class.t3lib_page.php. |
|
Returns a pagerow for the page with alias $alias
Definition at line 234 of file class.t3lib_page.php. |
|
Returns the relevant page overlay record fields
Definition at line 250 of file class.t3lib_page.php. |
|
Creates a "path" string for the input root line array titles. Used for writing statistics.
Definition at line 640 of file class.t3lib_page.php. |
|
Returns record no matter what - except if record is deleted
Definition at line 797 of file class.t3lib_page.php. |
|
Creates language-overlay for records in general (where translation is found in records from the same table)
Definition at line 314 of file class.t3lib_page.php. |
|
Selects records based on matching a field (ei. other than UID) with a value
Definition at line 823 of file class.t3lib_page.php. |
|
Returns array with fields of the pages from here ($uid) and back to the root NOTICE: This function only takes deleted pages into account! So hidden, starttime and endtime restricted pages are included no matter what. Further: If any "recycler" page is found (doktype=255) then it will also block for the rootline) If you want more fields in the rootline records than default such can be added by listing them in $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields']
Definition at line 519 of file class.t3lib_page.php. |
|
Select the version of a record for a workspace
Definition at line 1150 of file class.t3lib_page.php. |
|
init() MUST be run directly after creating a new template-object This sets the internal variable $this->where_hid_del to the correct where clause for page records taking deleted/hidden/starttime/endtime/t3ver_state into account
Definition at line 134 of file class.t3lib_page.php. |
|
Stores a string value in the cache_hash table identified by $hash. Can be used from your frontend plugins if you like. You can call it directly like t3lib_pageSelect::storeHash()
Definition at line 898 of file class.t3lib_page.php. Referenced by t3lib_TStemplate::start(). |
|
Versioning Preview Overlay ONLY active when backend user is previewing records. MUST NEVER affect a site served which is not previewed by backend users!!! Generally ALWAYS used when records are selected based on uid or pid. If records are selected on other fields than uid or pid (eg. "email = ....") then usage might produce undesired results and that should be evaluated on individual basis. Principle; Record online! => Find offline?
Definition at line 1095 of file class.t3lib_page.php. |