Created
July 25, 2016 13:26
-
-
Save quimo/5cff679cc69804d98a69da88ed682421 to your computer and use it in GitHub Desktop.
MODX 1.x | Mostra le proprietà di una pagina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| contentType | |
| pagetitle | |
| longtitle | |
| description | |
| alias | |
| link_attributes | |
| published | |
| pub_date | |
| unpub_date | |
| parent | |
| isfolder | |
| introtext | |
| content | |
| richtext | |
| template | |
| menuindex | |
| searchable | |
| cacheable | |
| createdby | |
| createdon | |
| editedby | |
| editedon | |
| deleted | |
| deletedon | |
| deletedby | |
| publishedon | |
| publishedby | |
| menutitle | |
| donthit | |
| haskeywords | |
| hasmetatags | |
| privateweb | |
| privatemgr | |
| content_dispo | |
| hidemenu | |
| */ | |
| $id = $modx->documentObject['id']; | |
| $data = $modx->getDocumentObject('id',$id); | |
| foreach ($data as $key => $value) { | |
| echo "$key<br />"; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment