All pastes #798307 Raw Edit

rsk

public text v1 · immutable
#798307 ·published 2007-11-26 19:09 UTC
rendered paste body
--------------------------------------------------------------------------------------------------------
<?php
class MylogsController extends AppController {

	var $name = 'Mylogs';
	var $helpers = array('Html', 'Form' );

  function beforeSave()
  {
		$mivar=$this->Action->find("first", array("action_id" => "$this->data['action_id']"));
  }

--------------------------------------------------------------------------------------------------------
<div class="mylog">
<?php echo $form->create('Mylog');?>
	<fieldset>
 		<legend><?php echo sprintf(__('Add %s', true), __('Mylog', true));?></legend>
	<?php
		echo $form->input('domain_id');
		echo $form->input('action_id');
		echo $form->input('price');
		echo $form->input('finished');
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>