Inherits DataItem.
Definition at line 40 of file link_library.inc.
◆ allowReadAccess()
LinkLibrary::allowReadAccess |
( |
| ) |
|
◆ allowWriteAccess()
LinkLibrary::allowWriteAccess |
( |
| ) |
|
◆ countLinks()
LinkLibrary::countLinks |
( |
|
$published = false | ) |
|
Definition at line 98 of file link_library.inc.
102 return queryValue(
LinkRecord,
"COUNT(1)",
"WHERE link_library_id={$this->link_library_id}$constraint");
This class maps the publication table.
◆ findByIdentifier()
static LinkLibrary::findByIdentifier |
( |
|
$identifier | ) |
|
|
static |
◆ getOwnerName()
LinkLibrary::getOwnerName |
( |
| ) |
|
Definition at line 91 of file link_library.inc.
93 $owner = $this->
Owner();
95 return ($owner) ? $owner->getFullName() :
"";
◆ isOwner()
Definition at line 73 of file link_library.inc.
80 $owner = $this->
Owner();
82 return ($owner->user_id ==
$user->user_id) ?
true :
false;
$table column("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override true
◆ Links()
LinkLibrary::Links |
( |
|
$constraint = "" | ) |
|
◆ Owner()
Definition at line 64 of file link_library.inc.
Provides the interface to the user model for the application.
◆ $default_format
LinkLibrary::$default_format = "{name}" |
◆ $fields
Initial value:= array("link_library_id" => Number,
"name" => String,
"identifier" => String,
"description" => HTML,
"hidden" => Boolean,
"owner_id" => Number,
"read_access" => String,
"write_access" => String,
"create_date" => DateTime,
"last_modified" => Timestamp,
"enabled" => Boolean)
Definition at line 48 of file link_library.inc.
◆ $primary_key
LinkLibrary::$primary_key = "link_library_id" |
◆ $relations
◆ $table
LinkLibrary::$table = "link_library" |
The documentation for this class was generated from the following file: