[Vtigercrm-developers] Vtiger_Record_Model getRaw

Rubén A. Estrada Orozco rulotec1 at gmail.com
Mon Aug 31 19:23:39 GMT 2020


Thanks for the references.

But do you know what the purpose of rawData as a concept is? Why do we need
it? what is it used for?

Saludos

Rubén


On Mon, Aug 31, 2020 at 10:23 AM Uma S <uma.s at vtiger.com> wrote:

> Hi Ruben,
>
> During normal operations, record instance rawData is of not much use, As
> from Module object we are always setting to 'false' (See
> <https://sc.vtiger.in/screenshots/uma-sc-at-31-08-2020-20-46-38.png>)
> where as in ListAjax operations i.e., getListCount, RecordCount, Pagecount
> rawData is set to recordModel data (See
> <https://sc.vtiger.in/screenshots/uma-sc-at-31-08-2020-20-47-22.png>)
>
> On Fri, Aug 28, 2020 at 7:18 AM Rubén A. Estrada Orozco <
> rulotec1 at gmail.com> wrote:
>
>> any idea of what the function getRaw is used for in the context of a
>> Vtiger_Record_Model ?
>>
>> if I do
>>
>> $account = Vtiger_Record_Model::getInstanceById($id);
>> $account->get('accountname'); //returns the account name
>> $account->getRaw('accountname'); //returns null
>>
>> Here are the definitions:
>> [image: image.png]
>>
>>
>>
>> Saludos
>>
>> Rubén
>> _______________________________________________
>> http://www.vtiger.com/
>
>
>
> --
> With
> Best Regards
> Uma.S
> Vtiger Team
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20200831/94d6acad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30769 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20200831/94d6acad/attachment-0001.png>


More information about the vtigercrm-developers mailing list