echo $(VERSION) > $(TAR_PREFIX)/src/VERSION # if using e.g. make dist VERSION=5.3.50+20141027
tar cjf $(TAR_PREFIX).tar.bz2 $(TAR_PREFIX)/
rm -rf $(TAR_PREFIX)/
-
+
version:
@echo $(VERSION)
return;
}
$this->User =& $User;
-
+
if ($noteid) {
if (!$arr || !is_array($arr)) {
if (!$this->fetchData($noteid)) {
db_free_result($res);
return true;
}
-
+
/**
* isPublic - whether this diary note is available to the general public.
*
function isPublic() {
return (($this->data_array['is_public'] == 1) ? true : false);
}
-
+
function getDatePostedOn() {
return date(_('Y-m-d H:i'), $this->data_array['date_posted']);
}
-
+
function getSummary() {
return $this->data_array['summary'];
}
-
+
function getDetails() {
$result_html = util_gen_cross_ref($this->data_array['details']);
$parsertype = forge_get_config('diary_parser_type');
}
$this->User =& $User;
}
-
+
function getDiaryNoteIDs($public) {
if (is_array($this->diarynoteids)) {
return $this->diarynoteids;
$this->diarynoteids = util_result_column_to_array($res);
return $this->diarynoteids;
}
-
+
function hasNotes($public = 0) {
$this->getDiaryNoteIDs($public);
if (is_array($this->diarynoteids) && count($this->diarynoteids)) {
}
return false;
}
-
+
function getDiaryNote($diarynote_id) {
return diarynote_get_object($diarynote_id);
}
-
+
function getUser() {
return $this->User;
}
function isAvailable() {
return isset($this->content['title']);
}
-
+
function getContent() {
$diaryFactory = new DiaryFactory();
if ($diaryFactory->hasNotes(1)) {