/** * Class constructor. * * @since 141111 First documented version. * * @param int $sub_key Unique subscription key. */ public function __construct($sub_key) { parent::__construct((string) $sub_key); }
/** * Acquires comment ID row via AJAX. * * @since 141111 First documented version. * * @param mixed $request_args Input argument(s). * * @see SubManageSubFormBase::commentIdRowViaAjax() */ protected function subFormCommentIdRowViaAjax($request_args) { if (!($request_args = (array) $request_args)) { exit; // Empty request args. } if (!isset($request_args['post_id'])) { exit; // Missing post ID. } if (($post_id = (int) $request_args['post_id']) < 0) { exit; // Invalid post ID. } exit(SubManageSubFormBase::commentIdRowViaAjax($post_id)); }
/** * Class constructor. * * @since 141111 First documented version. */ public function __construct() { parent::__construct(); }