Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
macmen каза:да но за момента това не мърши работа
<?php
class Test
{
function __construct() // __construct/Test/autoload
{
@include('class1.php');
@include('class2.php');
$this->class1 = new Class01;
$this->class2 = new Class02;
}
function Test2
{
return $this->class1->var1 + $this->class2->var2;
}
}
?>
macmen каза:да това е вариант, въпреки че не е ООП стил
macmen каза:хммм това не го знаех, явно при запознаването с OOП съм го пропуснал![]()