Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1161914
e_article_tp.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 20, 2:41 PM
Size
468 B
Mime Type
text/x-php
Expires
Mon, Sep 22, 2:41 PM (2 h, 14 m)
Engine
blob
Format
Raw Data
Handle
751687
Attached To
rMCUS Modules.Custom
e_article_tp.php
View Options
<?php
defined
(
'FULL_PATH'
)
or
die
(
'restricted access!'
);
/**
* Extends default ArticlesTagProcessor class
*
*/
class
EArticleTagProcessor
extends
ArticlesTagProcessor
{
/**
* Adding custom processing to existing Field method
*
* @param Array $params
* @return string
*/
function
FormattedField
(
$params
)
{
// get from parent
$o
=
parent
::
Field
(
$params
);
// do some custom stuff here
$o
=
trim
(
$o
);
return
$o
;
}
}
Event Timeline
Log In to Comment