HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Modules and AJAX
Not really. For trivial members, making them public and setting the in the __construct() method would work wonderfully. The only disadvantage is you have to have public members and understand the potential pitfalls of external direct manipulation. E.g. $ColorExampleModule->Number = 'this is not a number';. This means you… -
Re: Modules and AJAX
Create public members/methods on your module that sets whatever params you want. Create a controller that accepts the params you want and creates the module and returns the rendered module. Request the controller method as appropriate via JS. Sample module code: private $Color;public $Number;public function SetData($col) {…
2 results