Luyenkim.Net!

...where your idea grows!

 
  • Decrease font size
  • Default font size
  • Increase font size
Trang chủ arrow Forum arrow Mạng Luyenkim.NET arrow Tin từ các diễn đàn về Vật liệu
Luyện kim
How to using plugin for your component or any application (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: How to using plugin for your component or any application
#2554
support
(Moderator)
Nhóm hỗ trợ
Moderator
Posts: 697
graph
User Offline Click here to see the profile of this user
Gender: Male Luyenkim.NET luyenkimnet Location: Hà Nội Birthdate: 1977-04-07
How to using plugin for your component or any application 4 Months, 1 Week ago Karma: 4  
Code:


class t
{
var $text = "";
}
$row = new t();

$row->text = $data; //$data is only string
JPluginHelper::importPlugin( 'content' );
$dispatcher =& JDispatcher::getInstance();
$params = & new JParameter('');
$results = $dispatcher->trigger('onPrepareContent', array(&$row,&$params,0));

$data = $row->text; //$data is only string



Posted in: http://www.sigsiu.net/forum/index.p...c=10425.msg36060#msg36060
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop