Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F773104
e_category_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
Sun, Feb 2, 1:34 AM
Size
473 B
Mime Type
text/x-php
Expires
Tue, Feb 4, 1:34 AM (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
556363
Attached To
rMCUS Modules.Custom
e_category_tp.php
View Options
<?php
defined
(
'FULL_PATH'
)
or
die
(
'restricted access!'
);
/**
* Extends default CategoriesTagProcessor class
*
*/
class
ECategoryTagProcessor
extends
CategoriesTagProcessor
{
/**
* 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