Model Comment

class Nos\Comments\Model_Comment

Extends Nos\Orm\Model.

Methods

Nos\Comments\Model_Comment::getRelatedItem()

Retrieves the instance of the related item model, if it exists.

Returns:Returns the Model instance, if it exists
Nos\Comments\Model_Comment::changeSubscriptionStatus($from, $email, $subscribe)

Changes the user subscription status to new comments on an item.

Parameters:
  • $from (Nos\Orm\Model) – Related item
  • $email (string) – The user’s email address
  • $subscribe (boolean) – false to disable the subscription, true to enabled it
Read the Docs v: latest
Versions
latest
dubrovka
chiba.2
chiba.1
0.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.