public function __construct($sActionName) { add_action($sActionName, array($this, 'replyToDoAction')); }