Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1178862
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
Thu, Oct 9, 7:57 PM
Size
496 B
Mime Type
text/x-php
Expires
Sat, Oct 11, 7:57 PM (31 m, 50 s)
Engine
blob
Format
Raw Data
Handle
765171
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