АК
Size: a a a
АК
EG
/**
* Gets the value of a field.
*
* @param string $key The field name to get.
* @return mixed The value of the key, or null if non-existent.
*/
public function getValue($key)
/**
* Gets an associative array of field name and values.
*
* @return array $values A key/name pair of fields and values.
*/
public function getValues()
RS
М
М
NK
NK
Ri
S
NK
{$_modx->runSnippet('!pdoPage', [
'tpl' => '@FILE /chunks/pages/related_row.tpl',
'tplWrapper'=>'@FILE /chunks/pages/outer_related_row.tpl',
'element'=>'msProducts',
'link'=>'1',
'master'=>$_modx->resource.id,
])}
NK
NK
S
{$_modx->runSnippet('!pdoPage', [
'tpl' => '@FILE /chunks/pages/related_row.tpl',
'tplWrapper'=>'@FILE /chunks/pages/outer_related_row.tpl',
'element'=>'msProducts',
'link'=>'1',
'master'=>$_modx->resource.id,
])}
S
NK
K
S
K
S