| Next revision | Previous revision |
| scriptlog:lib:dto:postrequestdto [2026/09/26 09:09] – admin admin | scriptlog:lib:dto:postrequestdto [2026/09/26 09:34] (current) – admin admin |
|---|
| ======= Docblock Metadata ======= | ======= Docblock Metadata ======= |
| |
| ^ Tag ^ Value ^ | ^ Tag ^ Value ^ |
| | ''@category'' | DTO | | | ''@category'' | DTO | |
| | ''@author'' | M.Noermoehammad | | | ''@author'' | M.Noermoehammad | |
| | ''@license'' | MIT | | | ''@license'' | MIT | |
| | ''@version'' | 1.0 | | | ''@version'' | 1.0 | |
| | ''@since'' | Since Release 1.0 | | | ''@since'' | Since Release 1.0 | |
| |
| ======= Inheritance ======= | ======= Inheritance ======= |
| //None.// | //None.// |
| |
| ======= Properties (2) ======= | ======= Properties (16) ======= |
| |
| ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ | ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ |
| | ''public'' | ''(untyped)'' | ''$catIds'' | ''[];'' | 41 | | | ''public'' | ''(untyped)'' | ''$postTitle'' | | 23 | |
| | ''public'' | ''(untyped)'' | ''$postLocale'' | '''en';'' | 62 | | | ''public'' | ''(untyped)'' | ''$postContent'' | | 26 | |
| | | ''public'' | ''(untyped)'' | ''$postSummary'' | | 29 | |
| | | ''public'' | ''(untyped)'' | ''$postDate'' | | 32 | |
| | | ''public'' | ''(untyped)'' | ''$postModified'' | | 35 | |
| | | ''public'' | ''(untyped)'' | ''$imageId'' | | 38 | |
| | | ''public'' | ''(untyped)'' | ''$catIds'' | ''[]'' | 41 | |
| | | ''public'' | ''(untyped)'' | ''$postTags'' | | 44 | |
| | | ''public'' | ''(untyped)'' | ''$postStatus'' | | 47 | |
| | | ''public'' | ''(untyped)'' | ''$visibility'' | | 50 | |
| | | ''public'' | ''(untyped)'' | ''$postPassword'' | | 53 | |
| | | ''public'' | ''(untyped)'' | ''$postHeadlines'' | | 56 | |
| | | ''public'' | ''(untyped)'' | ''$commentStatus'' | | 59 | |
| | | ''public'' | ''(untyped)'' | ''$postLocale'' | '''en''' | 62 | |
| | | ''public'' | ''(untyped)'' | ''$postId'' | | 65 | |
| | | ''public'' | ''(untyped)'' | ''$mediaFile'' | | 68 | |
| |
| ======= Methods (5) ======= | ======= Methods (5) ======= |
| |
| ^ Visibility ^ Method ^ Summary ^ Line ^ | ^ Visibility ^ Method ^ Summary ^ Line ^ |
| | public | ''__construct()'' | (undocumented) | 70 | | | public | ''__construct()'' | (undocumented) | 70 | |
| | public static | ''fromGlobals()'' | Factory method from globals. | 97 | | | public static | ''fromGlobals()'' | Factory method from globals. | 97 | |
| | public | ''isSubmitted()'' | Check whether the post form was submitted. | 107 | | | public | ''isSubmitted()'' | Check whether the post form was submitted. | 107 | |
| | public | ''isProtected()'' | Check whether the post is password-protected. | 117 | | | public | ''isProtected()'' | Check whether the post is password-protected. | 117 | |
| | public | ''isNewPost()'' | Check whether this is a new post (no post_id). | 127 | | | public | ''isNewPost()'' | Check whether this is a new post (no post_id). | 127 | |
| |
| |
| //lines 70–90 (21)// | //lines 70–90 (21)// |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$post'' | ''array'' | //required// | //none// | | | ''$post'' | ''array'' | //required// | //none// | |
| | ''$files'' | ''array'' | //required// | //none// | | | ''$files'' | ''array'' | //required// | //none// | |
| |
| |