method getFull documentation in bbn\Appui\Note

function(string $id, int $version = NULL) { $cf = &$this->class_cfg; if (!\is_int($version)) { $version = $this->latest($id) ?: 1; } if ($res = $this->db->rselect( [ 'table' => $cf['table'], 'fields' => [ $cf['arch']['notes']['id'], $cf['arch']['notes']['id_parent'], $cf['arch']['notes']['id_alias'], $cf['arch']['notes']['id_type'], $cf['arch']['notes']['id_option'], $cf['arch']['notes']['private'], $cf['arch']['notes']['locked'], $cf['arch']['notes']['pinned'], $cf['arch']['versions']['version'], $cf['arch']['versions']['excerpt'], $cf['arch']['versions']['title'], $cf['arch']['versions']['content'], $cf['arch']['versions']['id_user'], $cf['arch']['versions']['creation'], ], 'join' => [[ 'table' => $cf['tables']['versions'], 'on' => [ 'conditions' => [[ 'field' => $cf['arch']['versions']['id_note'], 'exp' => $cf['arch']['notes']['id'], ], [ 'field' => $cf['arch']['versions']['version'], 'value' => $version, ]], ], ]], 'where' => [ 'conditions' => [ [ 'field' => $cf['arch']['notes']['id'], 'value' => $id, ] ], ], ] )) { $res['medias'] = $this->getMedias($id, $res['version']); return $res; } return null; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.