gy-doc-code
[
class tree: gy-doc-code
] [
index: gy-doc-code
] [
all elements
]
Packages:
gy-doc-code
Source for file Model.php
Documentation is available at
Model.php
<?php
namespace
Gy
\
Core
\
Component
\
Mvc
;
if
(
!
defined
(
"GY_CORE"
)
&&
(
GY_CORE
!==
true
))
die
(
"gy: err include core"
)
;
class
Model
{
public
$url
;
// ссылка на шаблон
public
function
__construct
(
$url
)
{
$this
->
url
=
$url
;
}
/**
* includeModel - подключить файл с моделью компонента
*/
public
function
includeModel
(
)
{
require_once
$this
->
url
;
// !!!
}
}
Documentation generated on Sat, 27 Apr 2024 11:17:29 +0300 by
phpDocumentor 1.4.3