This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$user = DbQueryExec::getInstance()->fetchQuery("select * from users where id=:id limit 1", ['id'=>666 ] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Example\Module; | |
use Example\Contract\ExampleModel //типа интерфейс | |
class ModuleExample | |
{ | |
private $model; | |
public function __construct(ExampleModel $model) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
line #3670 | |
$out .= "<div id='".$param['contentid']."' class='invisible'>$content</div>"; | |
replace to | |
if ($param['link'] == "") { | |
$out .="<p>" . $content . "</p>"; | |
return $out; | |
} else { | |
$out .= "<div id='" . $param['contentid'] . "' class='invisible'>$content</div>"; |