Go to the documentation of this file.
34 if ($result[
'command'] ===
'edit' && $result[
'tableName'] ===
'pages') {
35 $effectivePid = $result[
'databaseRow'][
'uid'];
36 } elseif ($result[
'command'] ===
'edit') {
37 $effectivePid = $result[
'databaseRow'][
'pid'];
38 } elseif ($result[
'command'] ===
'new' && is_array($result[
'parentPageRow'])) {
39 $effectivePid = $result[
'parentPageRow'][
'uid'];
41 $result[
'effectivePid'] = (int)$effectivePid;