- create element (via m_DefineElement tag), that would contain only <inp2:m_PrintCurrentParams/> tag inside
- create new tag, that will:
- define empty $block_params array
- get currently logged-in user object
- assign it to user key in $block_params array
- include /core/ckeditor/ckeditor_php5.php file
- create instance of CKEditor class
- assign it to the editor key in $block_params array
- render previously created block name
- return rendering result from the tag
- confirm, that:
- no Fatal Error happens
- among printed results there will be:
- user = "ClassName: UsersItem; PrefixSpecial: u"
- editor = "ClassName: CKEditor" (before this line won't be printed)
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.