- Posts: 104
- Karma: 2
- Thank you received: 10
JFactory :: getApplication () -> isAdmin ()
JFactory :: getApplication () -> isClient ('administrator')
$ dispatcher = JDispatcher :: getInstance ();
$ result = $ dispatcher-> trigger ('onContentBeforeSave', array ($ this -> _ context, & $ table, $ isNew, $ data));
$ dispatcher = JDispatcher :: getInstance ();
$ result = $ dispatcher-> trigger ('onContentBeforeSave', array ($ this -> _ context, & $ table, $ isNew, $ data));
$ result = Factory :: getApplication () -> triggerEvent ('onContentBeforeSave', array ($ this -> _ context, & $ table, $ isNew, $ data));
$ this-> assign ('P1', $ P2)
$ this-> assignRef ('P1', $ P2)
$ this-> P1 = $ P2;
if (! $ db-> query ()) {
Factory :: getApplication () -> enqueueMessage ($ db-> getErrorMsg (), 'ERROR');
return false;
}
try {
$ db-> execute ();
} catch (Exception $ e) {
Factory :: getApplication () -> enqueueMessage (JText :: sprintf ('JLIB_DATABASE_ERROR_FUNCTION_FAILED', $ e-> getCode (), $ e-> getMessage ()), 'ERROR');
return false;
}
Please Log in to join the conversation.
JFile::read
jimport
file_get_contents
quote( JRequest::getVar('id') ));
quote( JFactory::getApplication()->input->post->get('id')));
$limitstart = JRequest::getVar('limitstart', 0, '', 'int');
$limitstart = $this->input->get('limitstart', 0, 'int');
JHtml::_('behavior.framework', true);
JHtml::_('jquery.framework', true);
JHtml::_('behavior.modal');
JHtml::_('bootstrap.modal');
while (list($option, $value) = each($params)) {
foreach ($params as $option=> $value) {
Please Log in to join the conversation.